Bug#165374: Breaks when upgrading to 2.3.1
If libc6-dbg is installed, and /usr/lib/debug is the first line in
/etc/ld.so.conf, the upgrade from previous versions of libc6 to 2.3.1-1
breaks the system.
The problem is that libc6-dbg is unpacked BEFORE libc6, and libc6 2.3.1-1
requires the new dynamic linked ld-linux.so.2 (which has not been installed
yet). Thus, dpkg-dbg is unpacked correctly, but when trying to unpack libc6
(and running any other program from this point on) things fail badly since
it tries to load libc from /usr/lib/debug/libc6.so... which don't work, since
the new ld-linux.so.2 has not been installed yet.
A temporary workaround if you are in this situation is to first remove the
line from /etc/ld.so.conf and rerun ldconfig, before you try the update.
Otherwise your system will break so bad it can't even be shutdown properly.
I have no proposed solution how to solve this bug in the package, for I
presume libc6 cannot be installed before packages that depend on a certain
version of it (libc6-dbg) has been updated. Perhaps a debconf warning or
a 'head -1 /etc/ld.so.conf' to see if the user is vulnerable to this bug?
-- System Information:
Debian Release: testing/unstable
Kernel: Linux linux-develop 2.4.18-686 #1 Sun Apr 14 11:32:47 EST 2002 i686
Locale: LANG=en_US, LC_CTYPE=en_US
Versions of packages libc6-dbg depends on:
ii libc6 2.3.1-1 GNU C Library: Shared libraries an
-- no debconf information