[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: strange apt-get upgrade issue



On Mon, 2002-10-07 at 16:40, Chris McCormick wrote:
> I'm suspecting i might have some kind of broken glibc action going on. I 
> think that it might not be able to re-attach to tar because of an actual 
> corruption in the library binaries that handle that kind of thing. Maybe 
> it's half installed and some of the hooks to do with process attaching 
> aren't there or some weirdness like that. Hopefully it isn't something 
> sinister.

Absolutely. The tar process goes open("/lib/libc.so.6", O_RDONLY) = 5.
So perhaps the tar package is one that is built to use a newer (or
older?) version of libc. You're trying to install that version, but
because its not already installed the tar breaks (then why does it work
on its own but not when inside of dpkg???)

Perhaps when you successfully --unpack'ed the libc6 package it overwrote
/lib/libc6.so, but because it didn't 'install' it didn't update
dependent packages. Check the system details against the following from
a working up to date debian potato system 

ldd /bin/tar
        libc.so.6 => /lib/libc.so.6 (0x40016000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
ldd /usr/bin/dpkg
        libc.so.6 => /lib/libc.so.6 (0x40016000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

ls -alF /lib/libc[-.]*

-rwxr-xr-x    1 root     root       888096 Sep 26 02:30
/lib/libc-2.1.3.so*
lrwxrwxrwx    1 root     root           13 Oct  7 18:17 /lib/libc.so.6
-> libc-2.1.3.so*

fairway:~# dpkg -l tar libc6 dpkg apt gzip
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
uppercase=bad)
||/ Name            Version              Description
+++-=================================================================
ii  tar              1.13.17-2     GNU tar
ii  libc6            2.1.3-24      GNU C Library: Shared libraries and
Timezone data
ii  dpkg             1.6.15        Package maintenance system for Debian
ii  apt              0.3.19        Advanced front-end for dpkg
ii  gzip            1.2.4-33.1     The GNU compression utility.

How does your system compare?

Crispin

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: