* [gentoo-user] sudden portage error "list index out of range"
@ 2006-06-09 16:53 Alan
2006-06-09 17:56 ` Zac Medico
0 siblings, 1 reply; 8+ messages in thread
From: Alan @ 2006-06-09 16:53 UTC (permalink / raw
To: gentoo-user
Wanted to do some installs today and suddenly my portage is puking out
with
Traceback (most recent call last):
File "/usr/bin/emerge", line 10, in ?
import portage
File "/usr/lib/portage/pym/portage.py", line 7187, in ?
settings=config(config_profile_path=PROFILE_PATH,config_incrementals=portage_const.INCREMENTALS)
File "/usr/lib/portage/pym/portage.py", line 946, in __init__
mypath = os.path.normpath(mypath+"///"+grabfile(mypath+"/parent")[0])
IndexError: list index out of range
This happens with any emerge command. I'm going to guess that something
got currupted somewhere along the way, any suggestions on how to unbreak
it (without downloading a binary hopefully :)?
The last things in my emerge.log are installing the man-pages package,
and a couple of these:
1149810120: Started emerge on: Jun 08, 2006 16:42:00
1149810120: *** emerge --ask --verbose jabberd jabber-base yahoo-transport twisted-words twisted-web twisted
1149810121: *** terminating.
(nothing actually installed).
Any ideas?
TIA
Thanks.
--
Alan <alan@ufies.org> - http://arcterex.net
--------------------------------------------------------------------
"Backups are for people who don't pray." -- big Mike
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] sudden portage error "list index out of range"
2006-06-09 16:53 [gentoo-user] sudden portage error "list index out of range" Alan
@ 2006-06-09 17:56 ` Zac Medico
2006-06-09 18:28 ` Alan
2006-06-09 21:15 ` Mark Knecht
0 siblings, 2 replies; 8+ messages in thread
From: Zac Medico @ 2006-06-09 17:56 UTC (permalink / raw
To: gentoo-user
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Alan wrote:
> Wanted to do some installs today and suddenly my portage is puking out
> with
>
> Traceback (most recent call last):
> File "/usr/bin/emerge", line 10, in ?
> import portage
> File "/usr/lib/portage/pym/portage.py", line 7187, in ?
> settings=config(config_profile_path=PROFILE_PATH,config_incrementals=portage_const.INCREMENTALS)
> File "/usr/lib/portage/pym/portage.py", line 946, in __init__
> mypath = os.path.normpath(mypath+"///"+grabfile(mypath+"/parent")[0])
> IndexError: list index out of range
>
That's bug 136209. Here's the fix:
echo '..' > /usr/portage/profiles/default-linux/amd64/parent
Zac
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
iD8DBQFEibZd/ejvha5XGaMRAj3DAJ0fNqVNjZYPrFMHHyLP2+zA3e7aEACgzDyK
BMM616uI/cqCKiW7WaiIyy0=
=xwgL
-----END PGP SIGNATURE-----
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] sudden portage error "list index out of range"
2006-06-09 17:56 ` Zac Medico
@ 2006-06-09 18:28 ` Alan
2006-06-09 21:15 ` Mark Knecht
1 sibling, 0 replies; 8+ messages in thread
From: Alan @ 2006-06-09 18:28 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 970 bytes --]
On Fri, Jun 09, 2006 at 10:56:47AM -0700, Zac Medico wrote:
> Alan wrote:
> > Wanted to do some installs today and suddenly my portage is puking out
> > with
> >
> > Traceback (most recent call last):
> > File "/usr/bin/emerge", line 10, in ?
> > import portage
> > File "/usr/lib/portage/pym/portage.py", line 7187, in ?
> > settings=config(config_profile_path=PROFILE_PATH,config_incrementals=portage_const.INCREMENTALS)
> > File "/usr/lib/portage/pym/portage.py", line 946, in __init__
> > mypath = os.path.normpath(mypath+"///"+grabfile(mypath+"/parent")[0])
> > IndexError: list index out of range
> >
>
> That's bug 136209. Here's the fix:
>
> echo '..' > /usr/portage/profiles/default-linux/amd64/parent
Perfect, thanks Zac.
--
Alan <alan@ufies.org> - http://arcterex.net
--------------------------------------------------------------------
"Backups are for people who don't pray." -- big Mike
[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] sudden portage error "list index out of range"
2006-06-09 17:56 ` Zac Medico
2006-06-09 18:28 ` Alan
@ 2006-06-09 21:15 ` Mark Knecht
2006-06-09 21:21 ` James Ausmus
1 sibling, 1 reply; 8+ messages in thread
From: Mark Knecht @ 2006-06-09 21:15 UTC (permalink / raw
To: gentoo-user
On 6/9/06, Zac Medico <zmedico@gentoo.org> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Alan wrote:
> > Wanted to do some installs today and suddenly my portage is puking out
> > with
> >
> > Traceback (most recent call last):
> > File "/usr/bin/emerge", line 10, in ?
> > import portage
> > File "/usr/lib/portage/pym/portage.py", line 7187, in ?
> > settings=config(config_profile_path=PROFILE_PATH,config_incrementals=portage_const.INCREMENTALS)
> > File "/usr/lib/portage/pym/portage.py", line 946, in __init__
> > mypath = os.path.normpath(mypath+"///"+grabfile(mypath+"/parent")[0])
> > IndexError: list index out of range
> >
>
> That's bug 136209. Here's the fix:
>
> echo '..' > /usr/portage/profiles/default-linux/amd64/parent
>
> Zac
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.3 (GNU/Linux)
>
> iD8DBQFEibZd/ejvha5XGaMRAj3DAJ0fNqVNjZYPrFMHHyLP2+zA3e7aEACgzDyK
> BMM616uI/cqCKiW7WaiIyy0=
> =xwgL
> -----END PGP SIGNATURE-----
> --
> gentoo-user@gentoo.org mailing list
Thanks Zac,
I had the same problem and this fix worked great. (Thanks to the
AMD64 list for pointing me here.)
At the same time the previous error started I also got this second
error with layman:
lightning ~ # layman -s pro-audio
* Running command "/usr/bin/svn update /usr/portage/local/layman/pro-audio"...
/usr/bin/svn: symbol lookup error: /usr/lib64/libaprutil-0.so.0:
undefined symbol: gdbm_errno
* Successfully synchronized overlay "pro-audio".
lightning ~ #
Any ideas on this one? It was not fixed using the echo command, but
it seems similar to me. I don't know what libaprutil is. I don't see
it using eix.
Cheers,
Mark
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] sudden portage error "list index out of range"
2006-06-09 21:15 ` Mark Knecht
@ 2006-06-09 21:21 ` James Ausmus
2006-06-10 0:40 ` Mark Knecht
0 siblings, 1 reply; 8+ messages in thread
From: James Ausmus @ 2006-06-09 21:21 UTC (permalink / raw
To: gentoo-user
On 6/9/06, Mark Knecht <markknecht@gmail.com> wrote:
> On 6/9/06, Zac Medico <zmedico@gentoo.org> wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Alan wrote:
> > > Wanted to do some installs today and suddenly my portage is puking out
> > > with
> > >
> > > Traceback (most recent call last):
> > > File "/usr/bin/emerge", line 10, in ?
> > > import portage
> > > File "/usr/lib/portage/pym/portage.py", line 7187, in ?
> > > settings=config(config_profile_path=PROFILE_PATH,config_incrementals=portage_const.INCREMENTALS)
> > > File "/usr/lib/portage/pym/portage.py", line 946, in __init__
> > > mypath = os.path.normpath(mypath+"///"+grabfile(mypath+"/parent")[0])
> > > IndexError: list index out of range
> > >
> >
> > That's bug 136209. Here's the fix:
> >
> > echo '..' > /usr/portage/profiles/default-linux/amd64/parent
> >
> > Zac
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.3 (GNU/Linux)
> >
> > iD8DBQFEibZd/ejvha5XGaMRAj3DAJ0fNqVNjZYPrFMHHyLP2+zA3e7aEACgzDyK
> > BMM616uI/cqCKiW7WaiIyy0=
> > =xwgL
> > -----END PGP SIGNATURE-----
> > --
> > gentoo-user@gentoo.org mailing list
>
> Thanks Zac,
> I had the same problem and this fix worked great. (Thanks to the
> AMD64 list for pointing me here.)
>
> At the same time the previous error started I also got this second
> error with layman:
>
> lightning ~ # layman -s pro-audio
> * Running command "/usr/bin/svn update /usr/portage/local/layman/pro-audio"...
> /usr/bin/svn: symbol lookup error: /usr/lib64/libaprutil-0.so.0:
> undefined symbol: gdbm_errno
> * Successfully synchronized overlay "pro-audio".
> lightning ~ #
>
Run revdep-rebuild, you have some applications of out sync with
updated versions of shared libraries.
-James
> Any ideas on this one? It was not fixed using the echo command, but
> it seems similar to me. I don't know what libaprutil is. I don't see
> it using eix.
>
> Cheers,
> Mark
> --
> gentoo-user@gentoo.org mailing list
>
>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] sudden portage error "list index out of range"
2006-06-09 21:21 ` James Ausmus
@ 2006-06-10 0:40 ` Mark Knecht
2006-06-10 3:15 ` Paul Varner
0 siblings, 1 reply; 8+ messages in thread
From: Mark Knecht @ 2006-06-10 0:40 UTC (permalink / raw
To: gentoo-user
On 6/9/06, James Ausmus <james.ausmus@gmail.com> wrote:
> On 6/9/06, Mark Knecht <markknecht@gmail.com> wrote:
> > On 6/9/06, Zac Medico <zmedico@gentoo.org> wrote:
> > > -----BEGIN PGP SIGNED MESSAGE-----
> > > Hash: SHA1
> > >
> > > Alan wrote:
> > > > Wanted to do some installs today and suddenly my portage is puking out
> > > > with
> > > >
> > > > Traceback (most recent call last):
> > > > File "/usr/bin/emerge", line 10, in ?
> > > > import portage
> > > > File "/usr/lib/portage/pym/portage.py", line 7187, in ?
> > > > settings=config(config_profile_path=PROFILE_PATH,config_incrementals=portage_const.INCREMENTALS)
> > > > File "/usr/lib/portage/pym/portage.py", line 946, in __init__
> > > > mypath = os.path.normpath(mypath+"///"+grabfile(mypath+"/parent")[0])
> > > > IndexError: list index out of range
> > > >
> > >
> > > That's bug 136209. Here's the fix:
> > >
> > > echo '..' > /usr/portage/profiles/default-linux/amd64/parent
> > >
> > > Zac
> > > -----BEGIN PGP SIGNATURE-----
> > > Version: GnuPG v1.4.3 (GNU/Linux)
> > >
> > > iD8DBQFEibZd/ejvha5XGaMRAj3DAJ0fNqVNjZYPrFMHHyLP2+zA3e7aEACgzDyK
> > > BMM616uI/cqCKiW7WaiIyy0=
> > > =xwgL
> > > -----END PGP SIGNATURE-----
> > > --
> > > gentoo-user@gentoo.org mailing list
> >
> > Thanks Zac,
> > I had the same problem and this fix worked great. (Thanks to the
> > AMD64 list for pointing me here.)
> >
> > At the same time the previous error started I also got this second
> > error with layman:
> >
> > lightning ~ # layman -s pro-audio
> > * Running command "/usr/bin/svn update /usr/portage/local/layman/pro-audio"...
> > /usr/bin/svn: symbol lookup error: /usr/lib64/libaprutil-0.so.0:
> > undefined symbol: gdbm_errno
> > * Successfully synchronized overlay "pro-audio".
> > lightning ~ #
> >
>
> Run revdep-rebuild, you have some applications of out sync with
> updated versions of shared libraries.
>
> -James
>
James,
Sorry. Should have said that I had done that already. Seemed
obvious that some library was missing but revdep-rebuild didn't find
one to install. It says the machine is clean.
I also did a number of emerge --deep --update --newuse world
operations trying to find things that might be neede dor updatable but
nothing turned up.
Stumped,
Mark
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] sudden portage error "list index out of range"
2006-06-10 0:40 ` Mark Knecht
@ 2006-06-10 3:15 ` Paul Varner
2006-06-10 4:03 ` Mark Knecht
0 siblings, 1 reply; 8+ messages in thread
From: Paul Varner @ 2006-06-10 3:15 UTC (permalink / raw
To: gentoo-user
On Fri, 2006-06-09 at 17:40 -0700, Mark Knecht wrote:
> > > At the same time the previous error started I also got this second
> > > error with layman:
> > >
> > > lightning ~ # layman -s pro-audio
> > > * Running command "/usr/bin/svn update /usr/portage/local/layman/pro-audio"...
> > > /usr/bin/svn: symbol lookup error: /usr/lib64/libaprutil-0.so.0:
> > > undefined symbol: gdbm_errno
> > > * Successfully synchronized overlay "pro-audio".
> > > lightning ~ #
> Sorry. Should have said that I had done that already. Seemed
> obvious that some library was missing but revdep-rebuild didn't find
> one to install. It says the machine is clean.
>
Mark,
unfortunately, you've hit one of the cases that revdep-rebuild can't
detect. Run 'equery belongs /usr/lib64/libaprutil-0.so.0' and rebuild
the identified package.
Regards,
Paul
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] sudden portage error "list index out of range"
2006-06-10 3:15 ` Paul Varner
@ 2006-06-10 4:03 ` Mark Knecht
0 siblings, 0 replies; 8+ messages in thread
From: Mark Knecht @ 2006-06-10 4:03 UTC (permalink / raw
To: gentoo-user
On 6/9/06, Paul Varner <fuzzyray@gentoo.org> wrote:
> On Fri, 2006-06-09 at 17:40 -0700, Mark Knecht wrote:
> > > > At the same time the previous error started I also got this second
> > > > error with layman:
> > > >
> > > > lightning ~ # layman -s pro-audio
> > > > * Running command "/usr/bin/svn update /usr/portage/local/layman/pro-audio"...
> > > > /usr/bin/svn: symbol lookup error: /usr/lib64/libaprutil-0.so.0:
> > > > undefined symbol: gdbm_errno
> > > > * Successfully synchronized overlay "pro-audio".
> > > > lightning ~ #
> > Sorry. Should have said that I had done that already. Seemed
> > obvious that some library was missing but revdep-rebuild didn't find
> > one to install. It says the machine is clean.
> >
>
> Mark,
>
> unfortunately, you've hit one of the cases that revdep-rebuild can't
> detect. Run 'equery belongs /usr/lib64/libaprutil-0.so.0' and rebuild
> the identified package.
>
> Regards,
> Paul
> --
> gentoo-user@gentoo.org mailing list
>
>
Indeed Paul, that's essentially what I did but since it was
/usr/bin/svn that was complaining I did equery on it:
lightning ~ # equery belongs /usr/bin/svn
[ Searching for file(s) /usr/bin/svn in *... ]
dev-util/subversion-1.2.3-r2 (/usr/bin/svn)
lightning ~ #
After emerging subversion the problem went away. However your
suggestion might have worked also:
lightning ~ # equery belongs /usr/lib64/libaprutil-0.so
[ Searching for file(s) /usr/lib64/libaprutil-0.so in *... ]
dev-libs/apr-util-0.9.7 (/usr/lib64/libaprutil-0.so -> libaprutil-0.so.0.9.7)
lightning ~ #
Anyway, it's fixed and I appreciate the ideas.
Thanks,
Mark
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2006-06-10 4:09 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-09 16:53 [gentoo-user] sudden portage error "list index out of range" Alan
2006-06-09 17:56 ` Zac Medico
2006-06-09 18:28 ` Alan
2006-06-09 21:15 ` Mark Knecht
2006-06-09 21:21 ` James Ausmus
2006-06-10 0:40 ` Mark Knecht
2006-06-10 3:15 ` Paul Varner
2006-06-10 4:03 ` Mark Knecht
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox