Bug#533773: /usr/lib32 transition broken
Package: libc6-i386
Version: 2.9-17
Severity: grave
Hi,
you actually managed to completly screw the pooch with the /usr/lib32
transition from link to directory and now on existing installations it
remains a link. Now /emul/ia32-linux/[usr/]lib contains files that
belong there and files belonging in /[usr/]lib32 making it hard to
undo the link.
So now you need something like this in postinst:
if [ "$(readlink /lib32)" = "/emul/ia32-linux/lib" ]; then
rm /lib32
mv /emul/ia32-linux/lib /lib32
ln -s /lib32 /emul/ia32-linux/lib
fi
if [ "$(readlink /usr/lib32)" = "/emul/ia32-linux/usr/lib" ]; then
rm /usr/lib32
mv /emul/ia32-linux/usr/lib /usr/lib32
ln -s /usr/lib32 /emul/ia32-linux/usr/lib
fi
And what fun if a filesystem gets full doing that.
MfG
Goswin
PS: Why wasn't this prepared in experimental?
-- System Information:
Debian Release: squeeze/sid
APT prefers transitional-i386
APT policy: (500, 'transitional-i386'), (500, 'transitional'), (500, 'unstable'), (400, 'unstable-i386'), (1, 'experimental-i386'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.29.4-frosties-1
Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages libc6-i386 depends on:
ii libc6 2.9-17 GNU C Library: Shared libraries
libc6-i386 recommends no packages.
libc6-i386 suggests no packages.
-- no debconf information
Reply to: