Package: dash
Version: 0.5.5.1-2.2
Severity: normal

I can report on the broken scenario, since I made this change just a
few days ago to have dash provide /bin/sh on its own.

The following instructions are given in
/usr/share/doc/bash/README.Debian.gz for making /bin/sh point to
something else.

   Type

        dpkg-divert --add /bin/sh

   and then point it to whatever you want. Upgrades to bash  won't upgrade
   the /bin/sh symlink. To put /bin/sh under dpkg control again, type

        dpkg-divert --remove /bin/sh

I ran the first command (dpkg-divert --add /bin/sh), which diverted
/bin/sh to /bin/sh.distrib. No new link was created at
/bin/sh.distrib, nor was the one at /bin/sh removed. Then, I removed
/bin/sh and created a new link /bin/sh -> dash.

And when I upgraded today to 0.5.5.1-2.2, I got the same error that
the orignal reporter has reported here.

I'm not sure what the fix should be, but I suspect at the very least
that we need to modify the the instructions in
/usr/share/doc/bash/README.Debian.gz to account for the new
arrangmenet.

The workaround is pretty simple. Use dpkg-divert --remove /bin/sh to
get back to normal, then if there isn't a link /bin/sh -> bash, create
it. Then you can go ahead and install the current version of dash.

The version of bash on my system is
ii  bash           3.2-6          The GNU Bourne Again SHell

--Ken

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages dash depends on:
ii  debianutils                   3.2        Miscellaneous utilities specific t
ii  dpkg                          1.15.3.1   Debian package management system
ii  libc6                         2.9-22     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

Reply via email to