Description of problem: yum crashes attempting to remove and update jre Version-Release number of selected component (if applicable): jre 1.5.0_09 jre 6 linux How reproducible: consistant Steps to Reproduce: 1. install jre-6-linux-amd64.rpm 2. remove jre-5-linux-amd94.rpm 3. Actual results: yum crash Expected results: software installer to either update package or remove old package. Additional info: see attached file
Created attachment 143447 [details] TB3ff0bf74 rpmsack.py:121:searchPrco:TypeError
Same happens if you have installed the original openoffice-package 2.1/2.2 and try to use yum-utils to look for troubles: [root@nb ZendStudio]# package-cleanup --problems Setting up yum Excluding Packages in global exclude list Finished Reading local RPM database Processing all local requires Traceback (most recent call last): File "/usr/bin/package-cleanup", line 402, in ? main() File "/usr/bin/package-cleanup", line 399, in main provsomething = buildProviderList(my,pkgs,opts.problems) File "/usr/bin/package-cleanup", line 85, in buildProviderList resolve_sack = my.rpmdb.whatProvides(req,rflags,ver) File "/usr/lib/python2.4/site-packages/yum/rpmsack.py", line 390, in whatProvides pkgs = self.searchProvides(name) File "/usr/lib/python2.4/site-packages/yum/rpmsack.py", line 141, in searchProvides return self.searchPrco(name, 'provides') File "/usr/lib/python2.4/site-packages/yum/rpmsack.py", line 123, in searchPrco if not result.has_key(po.pkgid): TypeError: list objects are unhashable
This is a bug with the packages, but we should be handling it better for F7