Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 11842

Summary: Portage 2.0.45-r3 failing when attempting to use binary package
Product: Portage Development Reporter: Paul Slinski <deviantgeek>
Component: UnclassifiedAssignee: Nicholas Jones (RETIRED) <carpaski>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Highest    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Paul Slinski 2002-12-09 08:59:54 UTC
When attempting to run 'emerge -pk mozilla' with my pre-built package the
following error occurs:

paul root # emerge -puk mozilla

These are the packages that I would merge, in order.

Traceback (most recent call last):
  File "/usr/bin/emerge", line 1639, in ?
    mydepgraph=depgraph(myaction,myopts)
  File "/usr/bin/emerge", line 656, in __init__
    portage.db["/"]["bintree"].populate()
  File "/usr/lib/python2.2/site-packages/portage.py", line 3258, in populate
    self.dbapi.cpv_inject(fullpkg)
  File "/usr/lib/python2.2/site-packages/portage.py", line 2472, in cpv_inject
    mycp=cpv_getkey(mycpv)
  File "/usr/lib/python2.2/site-packages/portage.py", line 2045, in cpv_getkey
    return myslash[0]+"/"+mysplit[0]
TypeError: unsubscriptable object

More info upon request. I'm in all day :)
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2002-12-09 13:55:15 UTC
What files do you have in /usr/portage/packages/
Is there anything weird in there?

Does it work without -k? It works fine here.
Comment 2 Paul Slinski 2002-12-13 07:37:42 UTC
Sorry for the slow response, yYes, I had a package with an odd name in the
packages/All directory. Removing the file corrected the problem.

Maybe portage should be changed to ignore such things?

Thanks.