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
Navigation:
Lists: gentoo-amd64: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-amd64@g.o
From: "Duncan" <1i5t5.duncan@...>
Subject: Re: Segfault in emerge
Date: Fri, 12 May 2006 04:52:59 +0000 (UTC)
Anders =?iso-8859-1?Q?Th=F8gersen?= <anderslt@...> posted
20060511230451.GC8675@..., excerpted below, on  Fri, 12 May
2006 01:04:51 +0200:

> I have been consistently getting a segfault when doing emerge sync.
> This has happened 3 times all while at 51%:
> 
> 	[...]
> 
> 	Total bytes read: 3377649
> 
> 	wrote 381 bytes  read 3377649 bytes  14783.50 bytes/sec
> 	total size is 133702955  speedup is 39.58
> 
> 	>>> Updating Portage cache:   51%Segmentation fault
> 
> Emerge version:
> 
> 	# emerge --version
> 	Portage 2.0.54 (default-linux/amd64/2005.1, gcc-3.4.5, glibc-2.3.5-r2, 2.6.14-gentoo-r2 x86_64)
> 
> 
> I am unsure of how to tackle this.  Could it be a hardware problem?

That's almost certainly a portage cache corruption issue, not a hardware
problem, since it always happens at the same place when updating the cache.

Try emerge --metadata.  (I think that command works with old/stable
portage, I'm running the ~amd64 portage-2.1-preX versions here, and have
been since they went ~amd64.)  That should just update the cache without
doing the sync part first.

If it's really the cache, that too will probably fail.  If it doesn't
fail, try another  emerge --sync, as it should then be fixed.  If it did
fail as it likely will, you'll need to delete the cache and then run
emerge --metadata again, to rebuild it.

The cache is /var/cache/edb.  Don't directly delete it.  Instead,
move/rename it to /var/cache/edb.bak or some such, thereby keeping a
backup, just in case. Run emerge --metadata, then emerge --sync, and see if
the problem is fixed. If it is, you can safely delete edb.bak.  If not,
delete the new edb and move the backup version back into place.  At that
point, you'll probably need a bit more advance help to figure out exactly
which file is corrupted. However, it's quite likely that removing edb and
letting portage rebuild it will fix 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

-- 
gentoo-amd64@g.o mailing list


Replies:
Re: Re: Segfault in emerge
-- Anders Thøgersen
References:
Segfault in emerge
-- Anders Thøgersen
Navigation:
Lists: gentoo-amd64: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Segfault in emerge
Next by thread:
Re: Re: Segfault in emerge
Previous by date:
Re: Re: Gnome 2.12... to 2.14... on X11 v7!
Next by date:
ASUS K8V Delux Kernel!


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.