* sys-apps/portage Latest version Available: 2.0.29 Latest version Installed: 2.0.29 Homepage: http://www.gentoo.org Description: Portage ports system lappy portage # emerge -S perl Searching... /Traceback (most recent call last): File "/usr/bin/emerge", line 1284, in ? searchinstance.execute(mysearch) File "/usr/bin/emerge", line 403, in execute full_package = portage.portdb.xmatch("bestmatch-visible",package) File "/usr/lib/python2.2/site-packages/portage.py", line 2967, in xmatch myval=best(self.xmatch("match-visible",None,mydep,mykey)) File "/usr/lib/python2.2/site-packages/portage.py", line 2978, in xmatch myval=self.match2(mydep,mykey,self.xmatch("list-visible",None,mydep,mykey)) File "/usr/lib/python2.2/site-packages/portage.py", line 2964, in xmatch myval=self.gvisible(self.visible(self.cp_list(mykey))) File "/usr/lib/python2.2/site-packages/portage.py", line 3003, in visible mycp=cpv[0]+"/"+cpv[1] TypeError: unsubscriptable object
i got the same error portage 2.0.28
*** Bug 7010 has been marked as a duplicate of this bug. ***
hmm, do you utilize PORTDIR_OVERLAY ? i get that exact error when i made an ebuild that has errors in it ... root@rux0r uglygs # grep PORTDIR_OVERLAY /etc/make.globals PORTDIR_OVERLAY=/usr/local/portage root@rux0r uglygs # pwd /usr/local/portage/app-games/uglygs root@rux0r uglygs # ls uglygs-rc2.ebuild root@rux0r uglygs # emerge -S ugly Searching... [ Results for search key : ugly ] [ Applications found : 1 ] Traceback (most recent call last): File "/usr/bin/emerge", line 1296, in ? searchinstance.output() File "/usr/bin/emerge", line 423, in output full_package = portage.portdb.xmatch("bestmatch-visible",match) File "/usr/lib/python2.2/site-packages/portage.py", line 2955, in xmatch myval=best(self.xmatch("match-visible",None,mydep,mykey)) File "/usr/lib/python2.2/site-packages/portage.py", line 2966, in xmatch myval=self.match2(mydep,mykey,self.xmatch("list-visible",None,mydep,mykey)) File "/usr/lib/python2.2/site-packages/portage.py", line 2952, in xmatch myval=self.gvisible(self.visible(self.cp_list(mykey))) File "/usr/lib/python2.2/site-packages/portage.py", line 2991, in visible mycp=cpv[0]+"/"+cpv[1] TypeError: unsubscriptable object
gentoo usr # grep PORTDIR_OVERLAY /etc/make.globals gentoo usr # gentoo usr # pwd /usr gentoo usr # emerge -S qpopper Searching... -portage: aux_get(): (1) couldn't open cache entry for app- cdr/disc-cover-1.1.1 (likely caused by syntax error or corruption in the app-cdr/disc-cover-1.1.1 ebuild.) -Traceback (most recent call last): File "/usr/bin/emerge", line 1292, in ? searchinstance.execute(mysearch) File "/usr/bin/emerge", line 402, in execute full_package = portage.portdb.xmatch("bestmatch-visible",package) File "/usr/lib/python2.2/site-packages/portage.py", line 2955, in xmatch myval=best(self.xmatch("match-visible",None,mydep,mykey)) File "/usr/lib/python2.2/site-packages/portage.py", line 2966, in xmatch myval=self.match2(mydep,mykey,self.xmatch("list-visible",None,mydep,mykey)) File "/usr/lib/python2.2/site-packages/portage.py", line 2952, in xmatch myval=self.gvisible(self.visible(self.cp_list(mykey))) File "/usr/lib/python2.2/site-packages/portage.py", line 2991, in visible mycp=cpv[0]+"/"+cpv[1] TypeError: unsubscriptable object gentoo usr # can't be the PORTDIR_OVERLAY there are many other open bugs about emerge!! i think they are all depeding on each other
SpanKY: look at bug #6307 'PORTDIR_OVERLAY', could be the same problem you've got
This bug was likely caused by invalid stuff in /usr/portage that was causing Portage to choke. I've improved Portage's internal error handlind and this specific issue should be resolved in 2.0.30. You should now get clear error messages instead and emerge should behave politely.
Are you sure Daniel ? It sure isn't in alpha2 yet ! Regards, Rigo * sys-apps/portage Latest version Available: 2.0.30_alpha2 Latest version Installed: 2.0.30_alpha2 Homepage: http://www.gentoo.org Description: Portage ports system media-libs # emerge -S bookmark Searching... |Traceback (most recent call last): File "/usr/bin/emerge", line 1284, in ? searchinstance.execute(mysearch) File "/usr/bin/emerge", line 403, in execute full_package = portage.portdb.xmatch("bestmatch-visible",package) File "/usr/lib/python2.2/site-packages/portage.py", line 2967, in xmatch myval=best(self.xmatch("match-visible",None,mydep,mykey)) File "/usr/lib/python2.2/site-packages/portage.py", line 2978, in xmatch myval=self.match2(mydep,mykey,self.xmatch("list-visible",None,mydep,mykey)) File "/usr/lib/python2.2/site-packages/portage.py", line 2964, in xmatch myval=self.gvisible(self.visible(self.cp_list(mykey))) File "/usr/lib/python2.2/site-packages/portage.py", line 3003, in visible mycp=cpv[0]+"/"+cpv[1] TypeError: unsubscriptable object media-libs #
he fixed it but may not be released yet ... wait for 2.0.30 final
Ah, ok...Sorry 4 reopening bug...