Package: dash Version: 0.5.4-12 Followup-For: Bug #538822 Upgrading from lenny here:
anar...@lenny$ ls -al /bin/sh lrwxrwxrwx 1 root root 9 mai 31 2006 /bin/sh -> /bin/dash I *may* have broken that symlink before. I would expect dash to gracefully recover from this nonetheless. Even if I symlink /bin/sh to bash, the dash upgrade fails. # dpkg-divert --list /bin/sh local diversion of /bin/sh to /bin/sh.distrib # readlink -f /bin/sh.distrib /bin/bash The workaround is to dpkg-divert --remove /bin/sh as recommended earlier. You also need to make sure the symlink is right: # readlink -f /bin/sh /bin/bash However, that doesn't actually set dash as the primary shell, which is odd to me. I get this when upgrading after the workaround: Removing diversion of /bin/sh to /bin/sh.distrib by dash Adding diversion of /bin/sh to /bin/sh.distrib by bash Removing diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash Adding diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash (This may not be the exact messages of dpkg, I translated them from french, sorry). Notice how bash is adding the diversion... I hope this will help some people dealing with the issue. -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core) Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to fr_CA.UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages dash depends on: ii libc6 2.10.1-2 GNU C Library: Shared libraries dash recommends no packages. dash suggests no packages. -- debconf information: dash/sh: false -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org