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

Re: strange apt-get upgrade issue



At 18:32 7/10/2002 +0800, Crispin Wellington wrote:
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)

The first hex address is different, but everything else is the same. Not entirely sure if that means anything.

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

same again.

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*

Same except i also have libc5 installed.

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.

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-23 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.

older version of libc (that's what the system is trying to upgrade, but dpkg is breaking).

Everything else is the same. Curious. Isn't that box of yours running Woody? Shouldn't my libraries reflect the potato versions of these libraries, not woody ones? I wonder if i have accidentally half-upgraded and then tried to revert to potato again (might have happened if i put the wrong sources in by accident one time).

Regards,

Chris.

______________________________________________________
Chris McCormick - Systems Developer - PerthWeb Pty Ltd
Internet Solutions for your business!
Level 9/105 St George's Tc - Perth - Western Australia
Ph: (08) 9226 1366 Fax: (08) 9226 1375
Visit Perth online! : www.perthweb.com.au
PGP Key = http://www.perthweb.com.au/~chris/public.txt



Reply to: