Bug 246103
Summary: | "yum update" fails "TypeError: list objects are unhashable" | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | shinkr <shinkr> |
Component: | yum | Assignee: | Jeremy Katz <katzj> |
Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | low | ||
Version: | 7 | CC: | james.antill |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | powerpc | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-07-06 20:18:31 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
shinkr
2007-06-28 15:10:24 UTC
Can you edit /usr/lib/python2.5/site-packages/yum/rpmsack.py and add a line right above line 127 that is print po and then give the output? result of Edit and execute. ################################################################## # yum update Loading "installonlyn" plugin Setting up Update Process Resolving Dependencies --> Running transaction check rpm - 4.4.2-46.fc7.ppc Traceback (most recent call last): File "/usr/bin/yum", line 29, in <module> yummain.main(sys.argv[1:]) File "/usr/share/yum-cli/yummain.py", line 135, in main (result, resultmsgs) = base.buildTransaction() File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 527, in buildTransaction (rescode, restring) = self.resolveDeps() File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 804, in resolveDeps deps = self._mytsCheck() File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 776, in _mytsCheck thisneeds = self._checkRemove(txmbr) File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 1044, in _checkRemove for pkgtup in self.rpmdb.whatRequires(provname, None, None): File "/usr/lib/python2.5/site-packages/yum/rpmsack.py", line 423, in whatRequires pkgs = self.searchRequires(name) File "/usr/lib/python2.5/site-packages/yum/rpmsack.py", line 149, in searchRequires return self.searchPrco(name, 'requires') File "/usr/lib/python2.5/site-packages/yum/rpmsack.py", line 128, in searchPrco if not result.has_key(po.pkgid): TypeError: list objects are unhashable ################################################################## This result is ptinting bad packagename... Okay, this is fixed up in CVS and will go out as the next yum update Thank you for correspondence. When will it be in the next update time? |