Bug 228671 - package-cleanup dies with TypeError: list objects are unhashable
Summary: package-cleanup dies with TypeError: list objects are unhashable
Status: CLOSED DUPLICATE of bug 212095
Alias: None
Product: Fedora
Classification: Fedora
Component: yum-utils   
(Show other bugs)
Version: 6
Hardware: All Linux
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2007-02-14 11:36 UTC by Lubomir Kundrak
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-02-14 14:36:46 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Lubomir Kundrak 2007-02-14 11:36:16 UTC
Description of problem:

I attempted to launch package-cleanup for the first time.
It died without a reason I would understand.

Version-Release number of selected component (if applicable):


How reproducible:

Always, for me.

Steps to Reproduce:

# package-cleanup --problems
Actual results:

Setting up yum
Reading local RPM database
Processing all local requires
Missing dependencies:
Package libtheora requires libogg.so.0
Package kdemultimedia requires libogg.so.0
Traceback (most recent call last):
  File "/usr/bin/package-cleanup", line 349, in ?
  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 390, in whatProvides
    pkgs = self.searchProvides(name)
  File "/usr/lib/python2.4/site-packages/yum/rpmsack.py", line 141, in
    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

Expected results:

Documented behavior.

Additional info:

I know _nothing_ about Python. Please excuse me if the information
I provided is not enough to trace the problem.

Comment 1 Tim Lauridsen 2007-02-14 14:36:46 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.