Gentoo Archives: gentoo-user

From: Zac Medico <zmedico@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] sudden portage error "list index out of range"
Date: Fri, 09 Jun 2006 18:08:30
Message-Id: 4489B65F.3040603@gentoo.org
In Reply to: [gentoo-user] sudden portage error "list index out of range" by Alan
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Alan wrote:
5 > Wanted to do some installs today and suddenly my portage is puking out
6 > with
7 >
8 > Traceback (most recent call last):
9 > File "/usr/bin/emerge", line 10, in ?
10 > import portage
11 > File "/usr/lib/portage/pym/portage.py", line 7187, in ?
12 > settings=config(config_profile_path=PROFILE_PATH,config_incrementals=portage_const.INCREMENTALS)
13 > File "/usr/lib/portage/pym/portage.py", line 946, in __init__
14 > mypath = os.path.normpath(mypath+"///"+grabfile(mypath+"/parent")[0])
15 > IndexError: list index out of range
16 >
17
18 That's bug 136209. Here's the fix:
19
20 echo '..' > /usr/portage/profiles/default-linux/amd64/parent
21
22 Zac
23 -----BEGIN PGP SIGNATURE-----
24 Version: GnuPG v1.4.3 (GNU/Linux)
25
26 iD8DBQFEibZd/ejvha5XGaMRAj3DAJ0fNqVNjZYPrFMHHyLP2+zA3e7aEACgzDyK
27 BMM616uI/cqCKiW7WaiIyy0=
28 =xwgL
29 -----END PGP SIGNATURE-----
30 --
31 gentoo-user@g.o mailing list

Replies