| Summary: | [abrt] dnf: packages.py:76:parsePackages:TypeError: unhashable type: 'YumHistoryPackageState' | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Christian Stadelmann <fedora> | ||||||||
| Component: | dnf | Assignee: | Packaging Maintenance Team <packaging-team-maint> | ||||||||
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
| Severity: | unspecified | Docs Contact: | |||||||||
| Priority: | unspecified | ||||||||||
| Version: | 24 | CC: | ignatenko, jsilhan, mluscon, packaging-team-maint, pnemade, vmukhame | ||||||||
| Target Milestone: | --- | ||||||||||
| Target Release: | --- | ||||||||||
| Hardware: | x86_64 | ||||||||||
| OS: | Unspecified | ||||||||||
| URL: | https://retrace.fedoraproject.org/faf/reports/bthash/95bb05c5c040f38cbc47b5c3ccc5319e2539debf | ||||||||||
| Whiteboard: | abrt_hash:56f74f073c3c856759c8def3b6ca07b7b174d2e0;VARIANT_ID=workstation; | ||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2016-05-09 11:39:18 UTC | Type: | --- | ||||||||
| Regression: | --- | Mount Type: | --- | ||||||||
| Documentation: | --- | CRM: | |||||||||
| Verified Versions: | Category: | --- | |||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||
| Attachments: |
|
||||||||||
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 *** |
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