Gentoo Logo
Gentoo Spaceship

Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-amd64
Lists: gentoo-amd64: < Prev By Thread Next > < Prev By Date Next >
To: gentoo-amd64@g.o
From: Duncan <1i5t5.duncan@...>
Subject: Re: updating world
Date: Tue, 10 Jan 2006 09:44:50 -0700
Gavin Seddon posted <1136903339.6259.5.camel@linuxstation
>, excerpted
below,  on Tue, 10 Jan 2006 14:28:59 +0000:

> Hi,
> I have been updating my system.  Firstly I used 'emerge --sync' then
> 'emerge --update world'.  However, the update stops with a segmentation
> fault.  Is this a big problem that needs fixing and how?

You don't provide much information there.  Where does it stop?  What's the
last output before the segfault?  Can you do an emerge --pretend --update
world? What about an emerge --pretend --update system?  What about an
emerge --pretend portage (this one to see if it can handle a specific

If all those work, it's a problem in actually merging a package.  We'll
need the last 20 lines or so of the output, the command you were running,
and the last 10 lines or so of /var/log/emerge.log, to see what's going
on.  If the above emerge --pretend tests don't work, continue with the
below tests, stopping after each one if it works or you found the problem.

You should be safely able to rename your entire portage tree
(/usr/portage/ by default) and do another emerge sync to regenerate it. 
See if that solves the problem.

Check your world file (/var/lib/portage/world).  It should be a plain text
file consisting of a list of category/package names, one to a line, with
the last line a blank line.  Back it up before making any changes, of
course, so you can restore the backup if you screw up.  If it's /not/ a
simply plain text file as described above, you'll probably have to rebuild
it.  Post the problem and we'll go from there.

It could also be a corrupted portage database.  Try renaming /var/db/pkg/
to something else (like /var/db/pkg.test).  You should then be able to
complete an emerge --pretend world, altho it will want to merge
everything, since you just removed the portage database telling it what
you have merged at present.  This one gets a bit more complex, as you
probably don't want to remerge everything, altho you could.  If you've
been using FEATURES=buildpkg, it wouldn't even be that hard.  (That's why
I said /rename/ the portage tree, above, not /delete/ it, since the
packages you built you'll want to keep, and they are normally in

If you haven't found the problem by this point, you may have a bad portage
or python itself.  If so, you'll have to find a binary package of
whichever one, to get back up and running.  They are available, but no use
worrying about that until we find it's the problem.

Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman in

gentoo-amd64@g.o mailing list

updating world
-- Gavin Seddon
Lists: gentoo-amd64: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: updating world
Next by thread:
Re: updating world
Previous by date:
Re: updating world
Next by date:
Re: updating world

Updated Jun 17, 2009

Summary: Archive of the gentoo-amd64 mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.