Debian Bug report logs -
#888227
dash: Dash update remove /bin/sh symlink
Reported by: Blake Lee <volitank@volitank.com>
Date: Wed, 24 Jan 2018 02:51:02 UTC
Severity: critical
Tags: patch
Merged with 888235
Found in versions dash/0.5.8-2.6, dash/0.5.8-2.7
Fixed in versions 0.5.8-2.9, dash/0.5.8-2.9, dash/0.5.8-2.8, 0.5.8-2.8
Done: Andrew Shadura <andrewsh@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, volitank@volitank.com, Gerrit Pape <pape@smarden.org>:
Bug#888227; Package dash.
(Wed, 24 Jan 2018 02:51:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Blake Lee <volitank@volitank.com>:
New Bug report received and forwarded. Copy sent to volitank@volitank.com, Gerrit Pape <pape@smarden.org>.
(Wed, 24 Jan 2018 02:51:05 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
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
Information forwarded
to debian-bugs-dist@lists.debian.org, Gerrit Pape <pape@smarden.org>:
Bug#888227; Package dash.
(Wed, 24 Jan 2018 09:00:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Simon McVittie <smcv@debian.org>:
Extra info received and forwarded to list. Copy sent to Gerrit Pape <pape@smarden.org>.
(Wed, 24 Jan 2018 09:00:03 GMT) (full text, mbox, link).
Message #10 received at 888227@bugs.debian.org (full text, mbox, reply):
Control: severity 888227 critical
Control: merge 888227 888235
On Tue, 23 Jan 2018 at 21:46:35 -0500, Blake Lee wrote:
> dpkg: warning: 'sh' not found in PATH or not executable
This clearly shouldn't happen, and breaks the whole system, hence critical
severity. It is believed to have been fixed in 0.5.8-2.9, which is
currently being processed on the buildds.
Andrew, when you're uploading an Essential package (and doubly so when
it's an NMU), please test your changes thoroughly before uploading; and
when making packaging changes like these (moving files around, changing
between non-debhelper and debhelper, changing debhelper compat level,
etc.), please use a binary debdiff to check for unexpected results.
I think this indicates that dash should have an autopkgtest that verifies
that everything necessary for a working /bin/sh is where it ought to be.
smcv
Severity set to 'critical' from 'important'
Request was from Simon McVittie <smcv@debian.org>
to 888227-submit@bugs.debian.org.
(Wed, 24 Jan 2018 09:00:03 GMT) (full text, mbox, link).
Marked as fixed in versions dash/0.5.8-2.8 and dash/0.5.8-2.9.
Request was from Andrew Shadura <andrew.shadura@collabora.co.uk>
to control@bugs.debian.org.
(Wed, 24 Jan 2018 09:18:05 GMT) (full text, mbox, link).
Marked as found in versions dash/0.5.8-2.7.
Request was from Andrew Shadura <andrew.shadura@collabora.co.uk>
to control@bugs.debian.org.
(Wed, 24 Jan 2018 09:18:06 GMT) (full text, mbox, link).
Added tag(s) patch.
Request was from Andrew Shadura <andrew.shadura@collabora.co.uk>
to control@bugs.debian.org.
(Wed, 24 Jan 2018 09:18:07 GMT) (full text, mbox, link).
Merged 888227 888235
Request was from Andrew Shadura <andrew.shadura@collabora.co.uk>
to control@bugs.debian.org.
(Wed, 24 Jan 2018 09:18:08 GMT) (full text, mbox, link).
Marked as fixed in versions 0.5.8-2.8.
Request was from Andrew Shadura <andrewsh@debian.org>
to control@bugs.debian.org.
(Wed, 24 Jan 2018 09:39:05 GMT) (full text, mbox, link).
Marked as fixed in versions 0.5.8-2.9.
Request was from Andrew Shadura <andrewsh@debian.org>
to control@bugs.debian.org.
(Wed, 24 Jan 2018 09:39:08 GMT) (full text, mbox, link).
Marked Bug as done
Request was from Andrew Shadura <andrewsh@debian.org>
to control@bugs.debian.org.
(Wed, 24 Jan 2018 12:30:04 GMT) (full text, mbox, link).
Notification sent
to Blake Lee <volitank@volitank.com>:
Bug acknowledged by developer.
(Wed, 24 Jan 2018 12:30:05 GMT) (full text, mbox, link).
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Thu, 22 Feb 2018 07:26:04 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sun Jan 14 01:38:29 2024;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.