Bug 219384 - TB3ff0bf74 rpmsack.py:121:searchPrco:TypeError: list objects are unhashable
Summary: TB3ff0bf74 rpmsack.py:121:searchPrco:TypeError: list objects are unhashable
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 6
Hardware: x86_64
OS: Linux
medium
high
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-12-12 21:06 UTC by David Florence
Modified: 2014-01-21 22:56 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2007-04-25 18:57:31 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
TB3ff0bf74 rpmsack.py:121:searchPrco:TypeError (1.80 KB, text/plain)
2006-12-12 21:06 UTC, David Florence
no flags Details

Description David Florence 2006-12-12 21:06:13 UTC
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

Comment 1 David Florence 2006-12-12 21:06:13 UTC
Created attachment 143447 [details]
TB3ff0bf74 rpmsack.py:121:searchPrco:TypeError

Comment 2 Reindl Harald 2007-04-03 18:47:11 UTC
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

Comment 3 Jeremy Katz 2007-04-25 18:57:31 UTC
This is a bug with the packages, but we should be handling it better for F7


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