Bug 243662
| Summary: | yum updating --> TypeError: list objects are unhashable | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | fx pottier <fx.pottier> | ||||
| Component: | up2date | Assignee: | Adrian Likins <alikins> | ||||
| Status: | CLOSED NOTABUG | QA Contact: | Beth Nackashi <bnackash> | ||||
| Severity: | low | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 6 | CC: | nerijus | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | i386 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2007-06-15 14:23:32 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: | |||||||
| Attachments: |
|
||||||
|
Description
fx pottier
2007-06-11 11:52:21 UTC
Created attachment 156698 [details]
file saved from the excetion occured window in Software updater
I have the same problem but with yum and Fedora 7: # yum update ... Resolving Dependencies --> Running transaction check ---> Package yumex.noarch 0:1.9.8-2.0.fc7 set to be updated filelists.sqlite.bz2 100% |=========================| 456 kB 00:07 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 549, in buildTransaction (rescode, restring) = self.resolveDeps() File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 794, in resolveDeps deps = self._mytsCheck() File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 775, in _mytsCheck ret.extend(self._checkRemove(txmbr)) File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 1029, in _checkRemove for pkgtup in self.rpmdb.whatRequires(provname, None, None): File "/usr/lib/python2.5/site-packages/yum/rpmsack.py", line 422, in whatRequires pkgs = self.searchRequires(name) File "/usr/lib/python2.5/site-packages/yum/rpmsack.py", line 148, in searchRequires return self.searchPrco(name, 'requires') File "/usr/lib/python2.5/site-packages/yum/rpmsack.py", line 127, in searchPrco if not result.has_key(po.pkgid): TypeError: list objects are unhashable fx pottier, how have you found out which package is guilty? I uninstalled some packages which yum update wanted to update (yumex, ...), and now it just dies as above: # yum update ... Resolving Dependencies --> Running transaction check Traceback (most recent call last): File "/usr/bin/yum", line 29, in <module> ... OK, I found it out - it's gdb-6.6-15.fc7.i386.rpm. After I updated it manually, yum update works. good for you nerijus, I'm not sure about the package libgii-0.8.4-2 is the one causing the issue but the yum process dies there while testing the dependencies (or so it seems) To manually update the package, did you simply download it and rpm -Uvh it ? Since i had no other idea and didnt want to spend to much time on this I removed the following pacakges and i found that svgalib4ggi was on wrong acrh (i686 instead of i386) the problem might have come from there. problem solved. ============================================================================= Package Arch Version Repository Size ============================================================================= Removing: libggi i386 2.1.1-1 installed 1.5 M libgii i386 0.9.1-1 installed 497 k quake-svga i386 1.06-2 installed 735 k quake2 i386 3.20-glibc-6 installed 11 M Removing for dependencies: svgalib4ggi i686 0.6-4 installed 29 k Transaction Summary ============================================================================= Yes, I simply downloaded gdb package from F7 updates and installed it with rpm -Fvh. Then yum update started working. Strange. |