Description of problem: # package-cleanup --problems Setting up yum Reading local RPM database Processing all local requires Traceback (most recent call last): File "/usr/bin/package-cleanup", line 349, in ? main() File "/usr/bin/package-cleanup", line 346, 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 364, in whatProvides morepkgs = self.searchFiles(name) File "/usr/lib/python2.4/site-packages/yum/rpmsack.py", line 103, in searchFiles if not result.has_key(pkg.pkgid): TypeError: list objects are unhashable Operations like --leaves, --orphans, or --dupes are fine. Version-Release number of selected component (if applicable): yum-utils-1.0.1-1.fc6 How reproducible: always
When yum 3.0.1 comes out in updates. Please install it then retest this command. thanks
After an update to yum-3.0.1-2.fc6, but with the same yum-utils package, line numbers are slightly different but still a traceback. # package-cleanup --problems Setting up yum Reading local RPM database Processing all local requires Traceback (most recent call last): File "/usr/bin/package-cleanup", line 349, in ? main() File "/usr/bin/package-cleanup", line 346, 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 397, in whatProvides morepkgs = self.searchFiles(name) File "/usr/lib/python2.4/site-packages/yum/rpmsack.py", line 104, in searchFiles if not result.has_key(pkg.pkgid): TypeError: list objects are unhashable
I'm pretty sure this is about the ListPackageSack issue in 3.0.1. It's fixed in cvs now and should be set for 3.0.2.