Bug 240305 - package-cleanup --problems # does not work
Summary: package-cleanup --problems # does not work
Keywords:
Status: CLOSED DUPLICATE of bug 212095
Alias: None
Product: Fedora
Classification: Fedora
Component: yum-utils
Version: 6
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-05-16 13:05 UTC by Jan ONDREJ
Modified: 2007-11-30 22:12 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-06-18 09:56:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jan ONDREJ 2007-05-16 13:05:22 UTC
Description of problem:
package-cleanup --problems
does not work. It fail with an exception.

Version-Release number of selected component (if applicable):
yum-3.0.6-1.fc6
yum-utils-1.0.3-1.fc6

How reproducible: Always

Steps to Reproduce:
1. package-cleanup --problems
  
Actual results:
Setting up yum
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

Comment 1 Tim Lauridsen 2007-06-18 09:56:03 UTC

*** This bug has been marked as a duplicate of 212095 ***


Note You need to log in before you can comment on or make changes to this bug.