Description of problem: When running 'dnf history undo XXX' as normal user, dnf says that this ID is missing, but actually the user does not have privileges to access history list. $ dnf history undo 548 Last metadata expiration check: 0:00:41 ago on Sun Mar 27 21:08:52 2016. Not found given transaction ID Error: Failed history undo $ sudo dnf history undo 548 Last metadata expiration check: 1:06:53 ago on Sun Mar 27 20:03:20 2016. Undoing transaction 548, from Sun Mar 27 17:42:47 2016 ... Is this ok [y/N]: Version-Release number of selected component (if applicable): dnf-1.1.7-2.fc23.noarch Expected results: "You don't have access to the history DB."
Was able to reproduce the bug. We need to make sure that the script is checking for root privileges at the beginning. Marked EasyFix as this should be a relatively straightforward fix.
thx, Will. well triaged
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
I think this PR will solves this issue - https://github.com/rpm-software-management/dnf/pull/596
*** This bug has been marked as a duplicate of bug 1230355 ***