Hide Forgot
Description of problem: This crash happens when running `dnf history info [packagename]` as root. Version-Release number of selected component: dnf-1.1.8-1.fc24 Additional info: reporter: libreport-2.7.0 cmdline: /usr/bin/python3 /usr/bin/dnf history info yumex-dnf executable: /usr/bin/dnf kernel: 4.5.2-302.fc24.x86_64 pkg_fingerprint: 73BD E983 81B4 6521 pkg_vendor: Fedora Project reproducible: The problem is reproducible runlevel: N 5 type: Python3 Truncated backtrace: packages.py:76:parsePackages:TypeError: unhashable type: 'YumHistoryPackageState' Traceback (most recent call last): File "/usr/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 1096, in run return self.command.run(self.base.extcmds) File "/usr/lib/python3.5/site-packages/dnf/cli/commands/__init__.py", line 1220, in run ret = self.output.historyInfoCmd(extcmds) File "/usr/lib/python3.5/site-packages/dnf/cli/output.py", line 1536, in historyInfoCmd self._historyInfoCmd(tid, pats) File "/usr/lib/python3.5/site-packages/dnf/cli/output.py", line 1674, in _historyInfoCmd self.historyInfoCmdPkgsAltered(old, pats) File "/usr/lib/python3.5/site-packages/dnf/cli/output.py", line 1749, in historyInfoCmdPkgsAltered x, m, u = dnf.yum.packages.parsePackages([hpkg], pats) File "/usr/lib/python3.5/site-packages/dnf/yum/packages.py", line 76, in parsePackages exactmatch.update(pkgdict[command]) TypeError: unhashable type: 'YumHistoryPackageState' Local variables in innermost frame: usercommands: ['yumex-dnf'] matched: set() pkgs: [<YumHistoryPackageState : yumex-dnf-4.3.2-0.1.git20151217.fc24.noarch (0x7f2a1eed58d0)>] exactmatch: set() unmatched: set() casematch: 0 pkgdict: {'yumex-dnf-4.3.2-0.1.git20151217.fc24': [<YumHistoryPackageState : yumex-dnf-4.3.2-0.1.git20151217.fc24.noarch (0x7f2a1eed58d0)>], '0:yumex-dnf-4.3.2-0.1.git20151217.fc24.noarch': [<YumHistoryPackageState : yumex-dnf-4.3.2-0.1.git20151217.fc24.noarch (0x7f2a1eed58d0)>], 'yumex-dnf-0:4.3.2-0.1.git20151217.fc24.noarch': [<YumHistoryPackageState : yumex-dnf-4.3.2-0.1.git20151217.fc24.noarch (0x7f2a1eed58d0)>], 'yumex-dnf': [<YumHistoryPackageState : yumex-dnf-4.3.2-0.1.git20151217.fc24.noarch (0x7f2a1eed58d0)>], 'yumex-dnf.noarch': [<YumHistoryPackageState : yumex-dnf-4.3.2-0.1.git20151217.fc24.noarch (0x7f2a1eed58d0)>], 'yumex-dnf-4.3.2': [<YumHistoryPackageState : yumex-dnf-4.3.2-0.1.git20151217.fc24.noarch (0x7f2a1eed58d0)>], 'yumex-dnf-4.3.2-0.1.git20151217.fc24.noarch': [<YumHistoryPackageState : yumex-dnf-4.3.2-0.1.git20151217.fc24.noarch (0x7f2a1eed58d0)>]} command: 'yumex-dnf' Potential duplicate: bug 1259671
Created attachment 1152986 [details] File: _var_log_dnf.log
Created attachment 1152987 [details] File: backtrace
Created attachment 1152988 [details] File: dnf-makecache.log
*** This bug has been marked as a duplicate of bug 1245121 ***