When I try to update a package I have build a binary tbz2 with using ebuild package I get the follow traceback. The command I'm using is "emerge --usepkg -u <package name>". This worked before the last time I updated portage. Traceback (most recent call last): File "/usr/bin/emerge", line 1542, in ? mydepgraph=depgraph(myaction,myopts) File "/usr/bin/emerge", line 420, in __init__ portage.db["/"]["bintree"].populate() File "/usr/lib/python2.2/site-packages/portage.py", line 3349, in populate self.dbapi.cpv_inject(fullpkg) File "/usr/lib/python2.2/site-packages/portage.py", line 2550, in cpv_inject mycp=cpv_getkey(mycpv) File "/usr/lib/python2.2/site-packages/portage.py", line 2122, in cpv_getkey return myslash[0]+"/"+mysplit[0] TypeError: unsubscriptable object I'm using portage 2.0.46-r9. I can merge packages though with emerge -u or ebuild ... merge
Still an issue? Does 'emerge -up world' have the same problem? If not cna you try doing an 'emerge -ku' on each package listed? post the following for me: ls -l /usr/portage/packages/
Yes, this is still an issue. 'emerge -up world' works fine as does 'emerge -u world'. I tried 'emerge -ku' on some of the packages, such as mplayer and cdrtools, no go. I previously build these with 'emerge -u world'. I'm attaching the listing you requested, I'm guessing you really wanted /usr/portage/packages/All. If I'm wrong, let me know and I'll post /usr/portage/packages.
Created attachment 7591 [details] package.txt ls -l /usr/portage/packages/All
OK, here's the problem. My oops, although I'm not sure portage should handle this. I have several copies of the kopete-5.tbz2 in /usr/portage/packages/All. They are named with the date, i.e. kopete-5-20030206.tbz2, etc. kopete-5 is a CVS ebuild so I like to keep previous builds on hand. After removing these the problem goes away. I'll leave it up to you to decide whether this is a bug you want to fix, or a user error. Thanks.
fixed in cvs for 2.0.47-r3
out shortly.