Description of problem: While running rawhide updates in a cleanup phase of a substantial update the following happened: error: %preun(emacs-1:25.1-2.fc26.x86_64) scriptlet failed, exit status 2 Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/dnf/yum/rpmtrans.py", line 427, in callback self._scriptError(amount, total, key) File "/usr/lib/python3.6/site-packages/dnf/yum/rpmtrans.py", line 551, in _scriptError name = pkg.name AttributeError: 'NoneType' object has no attribute 'name' FATAL ERROR: python callback ??? failed, aborting! The net effect of this bail out was that I was left with close to 500 duplicate packages and hard to asses number of posttrans scriptlets which were NOT run. In particular /usr/bin/emacs was missing as this is a link created with a help of /usr/sbin/alternatives Version-Release number of selected component (if applicable): dnf-2.0.0-2.fc26 Expected results: dnf noting an error and continuing with a remainder of a transaction.
*** This bug has been marked as a duplicate of bug 1340507 ***