Package: dash Version: 0.5.8-2.10 If there is trouble with the /bin/sh symlink (e.g. it does not exist or points to a non-existing target), dash's prerm and postinst scripts will fail to run, as I mentioned in #890073. Therefore, these scripts should probably use /bin/dash rather than /bin/sh as their interpreter.
Apparently for this reason, bash has been using /bin/bash as the interpreter for its prerm and postinst scripts at least since potato. -- System Information: Debian Release: buster/sid APT prefers unstable APT policy: (500, 'unstable'), (101, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.18.4-nouveau (SMP w/2 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages dash depends on: ii debianutils 4.8.6 ii dpkg 1.19.0.5+b1 ii libc6 2.27-5 dash recommends no packages. dash suggests no packages. -- debconf information: * dash/sh: true

