Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 102115 - GLI emerge --sync complains "list index out of range"
Summary: GLI emerge --sync complains "list index out of range"
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Installer (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Installer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-11 05:43 UTC by Leung Ki Chi
Modified: 2006-03-24 13:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
installer.log (installer.log,4.50 KB, text/plain)
2005-08-11 05:44 UTC, Leung Ki Chi
Details
installprofile.xml (installprofile.xml,2.95 KB, text/plain)
2005-08-11 05:46 UTC, Leung Ki Chi
Details

Note You need to log in before you can comment on or make changes to this bug.
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.