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

Bug 10026

Summary: emerge fails with portage 1.9.10
Product: Portage Development Reporter: Arnaud Boudou <skuldeuh>
Component: UnclassifiedAssignee: Daniel Robbins (RETIRED) <drobbins>
Status: RESOLVED DUPLICATE    
Severity: normal CC: carpaski
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Arnaud Boudou 2002-10-31 13:17:19 UTC
I've just tried to reinstall Gentoo 1.2 on my computer.

1st try - I tried with only stage1 archive, rsync the latest portage tree, and 
the bootstrap failed with an error message similar to the following (see it in 
the "2nd try" part)

2nd try - I did with the stage3 archive, and did it : 
emerge -s portage 
... 
  Latest version available : 1.9.10 
  Latest version installed : 1.9.10 
... 
emerge rsync 
... 
emerge -s portage 
!!! Name error in : category or package part missing. 
Traceback (most recent last call) 
  File "/usr/bin/emerge", line 1166, in ? 
    searchinstance.execute() 
  File "/usr/bin/emerge", line 145, in execute 
    for package in self.treecache.getallnodes(): 
  File "/usr/lib/python2.2/site-packages/portage.py", line 1902, in getallnodes 
    self.populate() 
  File "/usr/lib/python2.2/site-packages/portage.py", line 2498, in populate 
    self.domask() 
  File "/usr/lib/python2.2/site-packages/portage.py", line 2506, in domask 
    self.zap(y) 
  File "/usr/lib/python2.2/site-packages/portage.py", line 1813, in zap 
    mkey=cps[0]+"/"+cps[1] 
TypeError: unsubscriptable object

Now, i can just sync the portage tree. every tries to search, pretend, update 
and install give a similar error message.
Comment 1 SpanKY gentoo-dev 2002-10-31 14:22:53 UTC
do this: 
cd / 
tar -jxvf /usr/portage/sys-apps/portage/files/portage-rescue-2.0.43-x86.tbz2 
 
carpaski: think about maybe bumping the portage version in 1.2 ? 
Comment 2 Arnaud Boudou 2002-11-01 02:00:57 UTC
Hello, I've tried with a Gentoo 1.4 rc1 stage 3 tarball, and emerge works 
perfectly (it's a 2.0.36 portage version)
Comment 3 Nicholas Jones (RETIRED) gentoo-dev 2002-11-13 20:21:43 UTC
Fixed via rescue portage.
See bug 10578

*** This bug has been marked as a duplicate of 10578 ***