Gentoo Archives: gentoo-user

From: Mark Knecht <markknecht@×××××.com>
To: gentoo-user@l.g.o
Subject: SOLVED - Re: [gentoo-user] sudden portage error "list index out of range"
Date: Sat, 10 Jun 2006 01:07:05
Message-Id: 5bdc1c8b0606091800y3cd1a66bx97cd740fe9264685@mail.gmail.com
1 emerge subversion took care of it. Whatever was wrong was not caught
2 by revdep-rebuild. I'm not sure if this is a bug. should it be
3 submitted to bugzilla?
4
5 Thanks for your help.
6
7 Cheers,
8 Mark
9
10 On 6/9/06, Mark Knecht <markknecht@×××××.com> wrote:
11 > On 6/9/06, James Ausmus <james.ausmus@×××××.com> wrote:
12 > > On 6/9/06, Mark Knecht <markknecht@×××××.com> wrote:
13 > > > On 6/9/06, Zac Medico <zmedico@g.o> wrote:
14 > > > > -----BEGIN PGP SIGNED MESSAGE-----
15 > > > > Hash: SHA1
16 > > > >
17 > > > > Alan wrote:
18 > > > > > Wanted to do some installs today and suddenly my portage is puking out
19 > > > > > with
20 > > > > >
21 > > > > > Traceback (most recent call last):
22 > > > > > File "/usr/bin/emerge", line 10, in ?
23 > > > > > import portage
24 > > > > > File "/usr/lib/portage/pym/portage.py", line 7187, in ?
25 > > > > > settings=config(config_profile_path=PROFILE_PATH,config_incrementals=portage_const.INCREMENTALS)
26 > > > > > File "/usr/lib/portage/pym/portage.py", line 946, in __init__
27 > > > > > mypath = os.path.normpath(mypath+"///"+grabfile(mypath+"/parent")[0])
28 > > > > > IndexError: list index out of range
29 > > > > >
30 > > > >
31 > > > > That's bug 136209. Here's the fix:
32 > > > >
33 > > > > echo '..' > /usr/portage/profiles/default-linux/amd64/parent
34 > > > >
35 > > > > Zac
36 > > > > -----BEGIN PGP SIGNATURE-----
37 > > > > Version: GnuPG v1.4.3 (GNU/Linux)
38 > > > >
39 > > > > iD8DBQFEibZd/ejvha5XGaMRAj3DAJ0fNqVNjZYPrFMHHyLP2+zA3e7aEACgzDyK
40 > > > > BMM616uI/cqCKiW7WaiIyy0=
41 > > > > =xwgL
42 > > > > -----END PGP SIGNATURE-----
43 > > > > --
44 > > > > gentoo-user@g.o mailing list
45 > > >
46 > > > Thanks Zac,
47 > > > I had the same problem and this fix worked great. (Thanks to the
48 > > > AMD64 list for pointing me here.)
49 > > >
50 > > > At the same time the previous error started I also got this second
51 > > > error with layman:
52 > > >
53 > > > lightning ~ # layman -s pro-audio
54 > > > * Running command "/usr/bin/svn update /usr/portage/local/layman/pro-audio"...
55 > > > /usr/bin/svn: symbol lookup error: /usr/lib64/libaprutil-0.so.0:
56 > > > undefined symbol: gdbm_errno
57 > > > * Successfully synchronized overlay "pro-audio".
58 > > > lightning ~ #
59 > > >
60 > >
61 > > Run revdep-rebuild, you have some applications of out sync with
62 > > updated versions of shared libraries.
63 > >
64 > > -James
65 > >
66 > James,
67 > Sorry. Should have said that I had done that already. Seemed
68 > obvious that some library was missing but revdep-rebuild didn't find
69 > one to install. It says the machine is clean.
70 >
71 > I also did a number of emerge --deep --update --newuse world
72 > operations trying to find things that might be neede dor updatable but
73 > nothing turned up.
74 >
75 > Stumped,
76 > Mark
77 >
78 --
79 gentoo-user@g.o mailing list