Created attachment 1118979 [details] DNF backtrace Description of problem: Unhandled exception occurs when running dnf history info command. Version-Release number of selected component (if applicable):1.1.6-1.fc24 How reproducible: Always Steps to Reproduce: 1. run sudo dnf history info or sudo dnf history 2 # crashes regardless of actual transaction id Actual results: Exception is not handled and program "crashes". Expected results:Show information about specified transaction. Additional info:
I have the described issue since this morning. Also to mention that a repodata directory was mislabeled in SELinux. However relabeling with restorecon didn't fix the issue with dnf history info.
Also another AVC error re performing finds on repodata directories was also found. Fixing this error also didn fix the dnf history info command.
I observed the same issue. Disappeared after first installation. Now it seems I can use "history" as I wish.
Actually, I was wrong. I can see the history of last operation, but can't see the "last-1". I suspect this will be related to bug 1239274 (yes, I can see the cmdline in output now).
same situation here as at Vit's.
Vit, Erick, I'm seeing a different behaviour: dnf history info of every transaction happened after dnf update to 1.1.6 (that fixed bug 1239274) works fine. If you look at the attachment I uploaded in that bug (I'm sorry I did the wrong thing, should I also attach the same file on this bug report?), I did update dnf in transaction 132, and dnf history info works with everything with id >= 133. If I instead try to see info of every id < 133, I get the error. I did check that every transaction with id < 133 does not work doing this: for i in {1..132}; do dnf history info $i 2>&1 | grep AttributeError ; done >> output then wc -l and got 132 lines. If you still look at my dnf history attachment, I was running F22 until transaction 92, where you can see that I did the upgrade to F23. So even transactions done with dnf in F22 that didn't have bug 1239274 do not work with dnf history info.
*** This bug has been marked as a duplicate of bug 1303149 ***
By downgrading to dnf-plugins-core-0.1.15-1.fc23.noarch.rpm both history info and history command line works. http://koji.fedoraproject.org/koji/buildinfo?buildID=706439
Never mind, it is working only for last transaction, still the same traceback.
(In reply to Jan Silhan from comment #7) > > *** This bug has been marked as a duplicate of bug 1303149 *** I think it should be the other way. As this bug was reported earlier.