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

Bug 102115

Summary: GLI emerge --sync complains "list index out of range"
Product: Gentoo Release Media Reporter: Leung Ki Chi <7words.sg>
Component: InstallerAssignee: Gentoo Linux Installer <gli-bugs>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: installer.log
installprofile.xml

Description Leung Ki Chi 2005-08-11 05:43:23 UTC
When GLI starts running emerge --sync after installing the Stage 3 with GRP and
"Dynamic install" options enabled, it aborts with the following exception:

----------
wrote 2020541 bytes  read 102771775 bytes  76686.66 bytes/sec
total size is 95418085  speedup is 0.91
>>> starting rsync with rsync://134.68.220.97/gentoo-portage...
>>> checking server timestamp ...

>>> Updating Portage cache:
Traceback (most recent call last):
  File "/usr/bin/emerge", line 2705, in ?
    oldcat = portage.catsplit(cp_list[0])[0]
IndexError: list index out of range
Exception received:
EmergeSyncError :FATAL: install_portage_tree: Failed to retrieve portage tree!
---------

Attached are the on-screen output file (big), /var/log/installer.log and
/tmp/installprofile.xml

Reproducible: Always
Steps to Reproduce:
Comment 1 Leung Ki Chi 2005-08-11 05:44:12 UTC
Created attachment 65659 [details]
installer.log
Comment 2 Leung Ki Chi 2005-08-11 05:46:40 UTC
Created attachment 65660 [details]
installprofile.xml
Comment 3 Andrew Gaffney (RETIRED) gentoo-dev 2005-08-11 06:34:37 UTC
That is emerge giving the trackback, not the installer. The installer is just
responding to the non-zero exit code returned by emerge. It is a known bug for
portage. This only happens when you do the first 'emerge sync' on a new install.
Subsequent syncs work just fine. For now, you can work around it by using the
"Webrsync" or "Snapshot" options.
Comment 4 Jeffrey Forman (RETIRED) gentoo-dev 2006-03-24 13:46:31 UTC
Moving to Release Media/Installer.