Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 11842 - Portage 2.0.45-r3 failing when attempting to use binary package
Summary: Portage 2.0.45-r3 failing when attempting to use binary package
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: Highest normal (vote)
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-09 08:59 UTC by Paul Slinski
Modified: 2011-10-30 22:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.