bug in package-cleanup --problems

Andrew Burgess <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>
I am happy to help debug this but I am not a pthon programmer.

root@athlon:~ # package-cleanup --problems
Setting up yum
Excluding Packages in global exclude list
Finished
Reading local RPM database
Processing all local requires
Missing dependencies:
Package metamail requires sharutils
Package xorg-x11-drivers requires xorg-x11-drv-acecad
Package xorg-x11-drivers requires xorg-x11-drv-aiptek
...
Package ckermit requires libcrypto.so.4
Package ckermit requires libssl.so.4
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.