Package: dash Version: 0.5.8-2.6 Severity: important Dear Maintainer,
I was doing an apt dist-upgrade on sid today when apt stopped and there was no way to bring it back. Dpkg wouldn't work and neither would apt. I recreated the symlink and after a few tries was able to get the update to finish. This also has happened on my laptop. relevant terminal output below (Reading database ... 194866 files and directories currently installed.) Preparing to unpack .../dpkg_1.19.0.5_amd64.deb ... Unpacking dpkg (1.19.0.5) over (1.19.0.4) ... Setting up dpkg (1.19.0.5) ... (Reading database ... 194866 files and directories currently installed.) Preparing to unpack .../dash_0.5.8-2.6_amd64.deb ... 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' Unpacking dash (0.5.8-2.6) over (0.5.8-2.5) ... dpkg: warning: 'sh' not found in PATH or not executable dpkg: error: 1 expected program not found in PATH or not executable Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin E: Sub-process /usr/bin/dpkg returned an error code (2) -- System Information: Debian Release: buster/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.14.12-acs (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Init: systemd (via /run/systemd/system) Versions of packages dash depends on: ii debianutils 4.8.4 ii dpkg 1.19.0.5 ii libc6 2.26-4 dash recommends no packages. dash suggests no packages. -- debconf information: * dash/sh: true