Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] sudden portage error "list index out of range" Mark Knecht <markknecht@×××××.com>