Version-Release number of selected component: dnf-1.1.10-3.fc25 Additional info: reporter: libreport-2.8.0 cmdline: /usr/libexec/system-python /bin/dnf history undo 83 executable: /bin/dnf kernel: 4.8.8-300.fc25.x86_64 pkg_fingerprint: 4089 D8F2 FDB1 9C98 pkg_vendor: Fedora Project runlevel: N 5 type: Python3 uid: 0 Truncated backtrace: history.py:234:_add_replacement:ValueError: NEVRA was already removed: iproute-0:4.4.0-3.fc24.x86_64 Traceback (most recent call last): File "/bin/dnf", line 58, in <module> main.user_main(sys.argv[1:], exit_code=True) File "/usr/lib/python3.5/site-packages/dnf/cli/main.py", line 174, in user_main errcode = main(args) File "/usr/lib/python3.5/site-packages/dnf/cli/main.py", line 60, in main return _main(base, args) File "/usr/lib/python3.5/site-packages/dnf/cli/main.py", line 112, in _main cli.run() File "/usr/lib/python3.5/site-packages/dnf/cli/cli.py", line 1099, in run return self.command.run(self.base.extcmds) File "/usr/lib/python3.5/site-packages/dnf/cli/commands/__init__.py", line 1229, in run ret = self._hcmd_undo(extcmds[1:]) File "/usr/lib/python3.5/site-packages/dnf/cli/commands/__init__.py", line 1125, in _hcmd_undo return self.base.history_undo_transaction(extcmd) File "/usr/lib/python3.5/site-packages/dnf/cli/cli.py", line 683, in history_undo_transaction self._history_undo_operations(history.transaction_nevra_ops(old.tid)) File "/usr/lib/python3.5/site-packages/dnf/history.py", line 126, in transaction_nevra_ops operations.add(hpkg.state, hpkg.nevra, replaced_nevra, obsoleted_nevras) File "/usr/lib/python3.5/site-packages/dnf/history.py", line 384, in add self._add_replacement(state, nevra, replaced_nevra) File "/usr/lib/python3.5/site-packages/dnf/history.py", line 234, in _add_replacement raise ValueError('NEVRA was already removed: %s' % old_nevra) ValueError: NEVRA was already removed: iproute-0:4.4.0-3.fc24.x86_64 Local variables in innermost frame: old_nevra: 'iproute-0:4.4.0-3.fc24.x86_64' new_nevra: 'iproute-0:4.6.0-1.fc25.x86_64' self: <dnf.history.NEVRAOperations object at 0x7f870f4af320> state: 'Update' new_state: None old_state: 'Obsoleted'
Created attachment 1230804 [details] File: _var_log_dnf.log
Created attachment 1230805 [details] File: backtrace
Created attachment 1230806 [details] File: dnf-makecache.log
Created attachment 1230807 [details] File: environ
Thanks for the report. We'll fix this.
I know that it is a while but do you know what exactly was a trigger for that problem? Because I cannot reproduce the problem with dnf-2.5 for our nightly repository (sudo dnf copr enable rpmsoftwaremanagement/dnf-nightly). Please can you still reproduce the problem with dnf-1.1 or dnf-2.5?
See https://bugzilla.redhat.com/show_bug.cgi?id=1478632 for the similar problem reproduced with dnf-2.6.2
This message is a reminder that Fedora 25 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 25. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '25'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 25 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Fedora 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.
*** This bug has been marked as a duplicate of bug 1478632 ***
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days