on Tue, Jan 30, 2001 at 06:41:52PM +0000, Tiarnan O Corrain (ocorrain@esatclear.ie) wrote:
> > > Now a new difficult rears its ugly head. Apt-get is segfaulting under
> > > the new kernel. When I try (for example)
> > > apt-get install mpg123, the
> > > program segfaults immediately. Ditto with
> > > apt-get remove xxx
> > Try runnin 'strace' to see what system calls are run immediately prior
> > to the segfault. Might be a corrupted file somewhere.
>
> Here's the output of 'strace apt-get update', which I have no idea how
> to read:
> ***
> ousetrap:/home/ocorrain# apt-get update
> Segmentation fault
> mousetrap:/home/ocorrain# strace apt-get update
> execve("/usr/bin/apt-get", ["apt-get", "update"], [/* 16 vars */]) = 0
> uname({sys="Linux", node="mousetrap", ...}) = 0
> brk(0) = 0x806389c
> mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
> = 0x40017000
> open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or
> directory)
> open("/etc/ld.so.cache", O_RDONLY) = 3
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> recvmsg(3, Segmentation fault
The line underlined appears to be the problem. Note that
/etc/ld.so.preload doesn't exist on any of my systems, not sure what it
is about.
- Does /etc/ld.so.cache exist?
- Is it world-readable:
-rw-r--r-- 1 root root 46925 Jan 29 13:29 /etc/ld.so.cache
- Try running "ldconfig" as root and try running 'apt-get update'
again. I believe this rebuilds the ld.so.cache and may repair
corruption in this file.
Suggestions from others welcomed. This problem looks *really* familiar,
but I can't remember from what or how I got out of it.
--
Karsten M. Self <kmself@ix.netcom.com> http://kmself.home.netcom.com/
What part of "Gestalt" don't you understand? There is no K5 cabal
http://gestalt-system.sourceforge.net/ http://www.kuro5hin.org
Attachment:
pgp3M_4vLDGc3.pgp
Description: PGP signature