I can no longer use emerge after doing an emerge sync. I'm continually getting an error using the emerge command that first appeared as emerge sync was updating the portage cache: Traceback (most recent call last): File "/usr/bin/emerge", line 10, in ? import portage File "/usr/lib/portage/pym/portage.py", line 7187, in ? settings=config(config_profile_path=PROFILE_PATH,config_incrementals=portage_const.INCREMENTALS) File "/usr/lib/portage/pym/portage.py", line 946, in __init__ mypath = os.path.normpath(mypath+"///"+grabfile(mypath+"/parent")[0]) IndexError: list index out of range Here are my mirror settings: GENTOO_MIRRORS="ftp://ftp.gtlib.gatech.edu/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://mirror.usu.edu/mirrors/gentoo/ ftp://mirror.usu.edu/mirrors/gentoo/ " SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
This was a minor problem with the profiles in the tree. It's been fixed. Try syncing again in 30-60 minutes.
(In reply to comment #1) > This was a minor problem with the profiles in the tree. It's been fixed. Try > syncing again in 30-60 minutes. > How can I sync if emerge isn't working? If I just type emerge by itself, I get that error.
(In reply to comment #2) > (In reply to comment #1) > > This was a minor problem with the profiles in the tree. It's been fixed. Try > > syncing again in 30-60 minutes. > > > > How can I sync if emerge isn't working? If I just type emerge by itself, I get > that error. This fixed it for me: echo '..' > /usr/portage/profiles/default-linux/amd64/parent
*** Bug 136210 has been marked as a duplicate of this bug. ***
I have the same problem after a sync about 18:30 CET (timezone Berlin). I'm using the standard rsync server @ distfiles.gentoo.org. And it's right: portage is absolutly broken down after that. No emerge --sync, no install, nothing works, even equery exits, all with the same error, very similar to the one posted above. (if it's not the same) But don't worry, you can get around that situation. I didn't manage to sync properly till now, but I got a working portage with manually installing it. Just get a portage snapshot from you favorited gentoo mirror and untar it, using the following command: tar -xvjpf ./portage-<date>.tar.bz2 -C /usr/ See the manual pages for the tar options ;-) That recreates a fine portage system and tree. Good luck, I hope that is fixed soon Sebastian
(In reply to comment #3) > (In reply to comment #2) > > (In reply to comment #1) > > > This was a minor problem with the profiles in the tree. It's been fixed. Try > > > syncing again in 30-60 minutes. > > > > > > > How can I sync if emerge isn't working? If I just type emerge by itself, I get > > that error. > > This fixed it for me: > echo '..' > /usr/portage/profiles/default-linux/amd64/parent > Thanks. I tried this and it worked. It's good that I didn't have to rebuild portage. :-)
*** Bug 136211 has been marked as a duplicate of this bug. ***
Fixed, closing. See Comment #3 if you can't emerge --sync.
*** Bug 136686 has been marked as a duplicate of this bug. ***
The echo command fixed it for me as well on AMD64. For some reason though searching commends for "IndexError" doesn't return this bug. It would have prevented my creating a duplicate entry.