Gentoo Archives: gentoo-user

From: Mark Knecht <markknecht@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] sudden portage error "list index out of range"
Date: Fri, 09 Jun 2006 21:29:06
Message-Id: 5bdc1c8b0606091415s672cbe84sf531b83fac1f122b@mail.gmail.com
In Reply to: Re: [gentoo-user] sudden portage error "list index out of range" by Zac Medico
1 On 6/9/06, Zac Medico <zmedico@g.o> wrote:
2 > -----BEGIN PGP SIGNED MESSAGE-----
3 > Hash: SHA1
4 >
5 > Alan wrote:
6 > > Wanted to do some installs today and suddenly my portage is puking out
7 > > with
8 > >
9 > > Traceback (most recent call last):
10 > > File "/usr/bin/emerge", line 10, in ?
11 > > import portage
12 > > File "/usr/lib/portage/pym/portage.py", line 7187, in ?
13 > > settings=config(config_profile_path=PROFILE_PATH,config_incrementals=portage_const.INCREMENTALS)
14 > > File "/usr/lib/portage/pym/portage.py", line 946, in __init__
15 > > mypath = os.path.normpath(mypath+"///"+grabfile(mypath+"/parent")[0])
16 > > IndexError: list index out of range
17 > >
18 >
19 > That's bug 136209. Here's the fix:
20 >
21 > echo '..' > /usr/portage/profiles/default-linux/amd64/parent
22 >
23 > Zac
24 > -----BEGIN PGP SIGNATURE-----
25 > Version: GnuPG v1.4.3 (GNU/Linux)
26 >
27 > iD8DBQFEibZd/ejvha5XGaMRAj3DAJ0fNqVNjZYPrFMHHyLP2+zA3e7aEACgzDyK
28 > BMM616uI/cqCKiW7WaiIyy0=
29 > =xwgL
30 > -----END PGP SIGNATURE-----
31 > --
32 > gentoo-user@g.o mailing list
33
34 Thanks Zac,
35 I had the same problem and this fix worked great. (Thanks to the
36 AMD64 list for pointing me here.)
37
38 At the same time the previous error started I also got this second
39 error with layman:
40
41 lightning ~ # layman -s pro-audio
42 * Running command "/usr/bin/svn update /usr/portage/local/layman/pro-audio"...
43 /usr/bin/svn: symbol lookup error: /usr/lib64/libaprutil-0.so.0:
44 undefined symbol: gdbm_errno
45 * Successfully synchronized overlay "pro-audio".
46 lightning ~ #
47
48 Any ideas on this one? It was not fixed using the echo command, but
49 it seems similar to me. I don't know what libaprutil is. I don't see
50 it using eix.
51
52 Cheers,
53 Mark
54 --
55 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] sudden portage error "list index out of range" James Ausmus <james.ausmus@×××××.com>