Debian Bug report logs - #888235
dash breaks debootstrap

version graph

Package: dash; Maintainer for dash is Andrej Shadura <andrewsh@debian.org>; Source for dash is src:dash (PTS, buildd, popcon).

Reported by: Helmut Grohne <helmut@subdivi.de>

Date: Wed, 24 Jan 2018 05:21:02 UTC

Severity: critical

Tags: patch

Merged with 888227

Found in versions dash/0.5.8-2.7, dash/0.5.8-2.6

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

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Gerrit Pape <pape@smarden.org>:
Bug#888235; Package dash. (Wed, 24 Jan 2018 05:21:04 GMT) (full text, mbox, link).


Acknowledgement sent to Helmut Grohne <helmut@subdivi.de>:
New Bug report received and forwarded. Copy sent to Gerrit Pape <pape@smarden.org>. (Wed, 24 Jan 2018 05:21:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Helmut Grohne <helmut@subdivi.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: dash breaks debootstrap
Date: Wed, 24 Jan 2018 06:16:08 +0100
Package: dash
Version: 0.5.8-2.7
Severity: serious

debootstrap sid now fails:

| I: Installing core packages...
| W: Failure trying to run: chroot $TARGET dpkg --force-depends --install /var/cache/apt/archives/base-passwd_3.5.44_amd64.deb
| W: See $TARGET/b/debootstrap/debootstrap.log for details

debootstrap.log contains:

| gpgv: Signature made Wed Jan 24 03:52:30 2018 CET
| gpgv:                using RSA key A1BD8E9D78F7FE5C3E65D8AF8B48AD6246925553
| gpgv: Good signature from "Debian Archive Automatic Signing Key (7.0/wheezy) <ftpmaster@debian.org>"
| gpgv: Signature made Wed Jan 24 03:52:30 2018 CET
| gpgv:                using RSA key 126C0D24BD8A2942CC7DF8AC7638D0442B90D010
| gpgv: Good signature from "Debian Archive Automatic Signing Key (8/jessie) <ftpmaster@debian.org>"
| dpkg: warning: parsing file '/var/lib/dpkg/status' near line 5 package 'dpkg':
|  missing description
| dpkg: warning: parsing file '/var/lib/dpkg/status' near line 5 package 'dpkg':
|  missing architecture
| 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

$TARGET/bin/sh does not exist.

Helmut



Information forwarded to debian-bugs-dist@lists.debian.org, Gerrit Pape <pape@smarden.org>:
Bug#888235; Package dash. (Wed, 24 Jan 2018 06:21:06 GMT) (full text, mbox, link).


Acknowledgement sent to Sven Joachim <svenjoac@gmx.de>:
Extra info received and forwarded to list. Copy sent to Gerrit Pape <pape@smarden.org>. (Wed, 24 Jan 2018 06:21:06 GMT) (full text, mbox, link).


Message #10 received at 888235@bugs.debian.org (full text, mbox, reply):

From: Sven Joachim <svenjoac@gmx.de>
To: Helmut Grohne <helmut@subdivi.de>
Cc: 888235@bugs.debian.org
Subject: Re: Bug#888235: dash breaks debootstrap
Date: Wed, 24 Jan 2018 07:16:46 +0100
[Message part 1 (text/plain, inline)]
Control: tags -1 + patch

Am 24.01.2018 um 06:16 schrieb Helmut Grohne:

> Package: dash
> Version: 0.5.8-2.7
> Severity: serious
>
> debootstrap sid now fails:
>
> | I: Installing core packages...
> | W: Failure trying to run: chroot $TARGET dpkg --force-depends
> | --install /var/cache/apt/archives/base-passwd_3.5.44_amd64.deb
> | W: See $TARGET/b/debootstrap/debootstrap.log for details
>
> debootstrap.log contains:
>
> | gpgv: Signature made Wed Jan 24 03:52:30 2018 CET
> | gpgv:                using RSA key A1BD8E9D78F7FE5C3E65D8AF8B48AD6246925553
> | gpgv: Good signature from "Debian Archive Automatic Signing Key (7.0/wheezy) <ftpmaster@debian.org>"
> | gpgv: Signature made Wed Jan 24 03:52:30 2018 CET
> | gpgv:                using RSA key 126C0D24BD8A2942CC7DF8AC7638D0442B90D010
> | gpgv: Good signature from "Debian Archive Automatic Signing Key (8/jessie) <ftpmaster@debian.org>"
> | dpkg: warning: parsing file '/var/lib/dpkg/status' near line 5 package 'dpkg':
> |  missing description
> | dpkg: warning: parsing file '/var/lib/dpkg/status' near line 5 package 'dpkg':
> |  missing architecture
> | 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
>
> $TARGET/bin/sh does not exist.

It is no longer shipped in the package, which does not seem to be
intentional, as it is not mentioned in debian/changelog:

,----
| $ debdiff dash_0.5.8-2.5_i386.deb dash_0.5.8-2.7_i386.deb
| [The following lists of changes regard files as different if they have
| different names, permissions or owners.]
| 
| Files in first .deb but not in second
| -------------------------------------
| lrwxrwxrwx  root/root   /bin/sh -> dash
| lrwxrwxrwx  root/root   /usr/share/man/man1/sh.1.gz -> dash.1.gz
`----

Attached is a patch which puts the symlinks back into place.

Cheers,
       Sven

[0001-Re-add-missing-symlinks.patch (text/x-diff, inline)]
From b9d09de1bcfc898a737dd4485aa658278fb6aa4c Mon Sep 17 00:00:00 2001
From: Sven Joachim <svenjoac@gmx.de>
Date: Wed, 24 Jan 2018 07:10:00 +0100
Subject: [PATCH] Re-add missing symlinks

---
 debian/changelog  | 6 ++++++
 debian/dash.links | 2 ++
 2 files changed, 8 insertions(+)
 create mode 100644 debian/dash.links

diff --git a/debian/changelog b/debian/changelog
index bb14d91..624f930 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+dash (0.5.8-2.8) UNRELEASED; urgency=medium
+
+  * Re-add the symlinks for /bin/sh and the sh manpage (Closes: #888235).
+
+ -- Sven Joachim <svenjoac@gmx.de>  Wed, 24 Jan 2018 07:09:24 +0100
+
 dash (0.5.8-2.7) unstable; urgency=medium
 
   [ James Cowgill ]
diff --git a/debian/dash.links b/debian/dash.links
new file mode 100644
index 0000000..87a7043
--- /dev/null
+++ b/debian/dash.links
@@ -0,0 +1,2 @@
+bin/dash bin/sh
+/usr/share/man/man1/dash.1 /usr/share/man/man1/sh.1
-- 
2.15.1


Added tag(s) patch. Request was from Sven Joachim <svenjoac@gmx.de> to 888235-submit@bugs.debian.org. (Wed, 24 Jan 2018 06:21:06 GMT) (full text, mbox, link).


Added tag(s) pending. Request was from Andrew Shadura <andrewsh@debian.org> to control@bugs.debian.org. (Wed, 24 Jan 2018 07:18:05 GMT) (full text, mbox, link).


Reply sent to Andrew Shadura <andrewsh@debian.org>:
You have taken responsibility. (Wed, 24 Jan 2018 07:36:14 GMT) (full text, mbox, link).


Notification sent to Helmut Grohne <helmut@subdivi.de>:
Bug acknowledged by developer. (Wed, 24 Jan 2018 07:36:14 GMT) (full text, mbox, link).


Message #19 received at 888235-close@bugs.debian.org (full text, mbox, reply):

From: Andrew Shadura <andrewsh@debian.org>
To: 888235-close@bugs.debian.org
Subject: Bug#888235: fixed in dash 0.5.8-2.8
Date: Wed, 24 Jan 2018 07:34:42 +0000
Source: dash
Source-Version: 0.5.8-2.8

We believe that the bug you reported is fixed in the latest version of
dash, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 888235@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andrew Shadura <andrewsh@debian.org> (supplier of updated dash package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 24 Jan 2018 08:02:23 +0100
Source: dash
Binary: dash ash
Architecture: source
Version: 0.5.8-2.8
Distribution: unstable
Urgency: medium
Maintainer: Gerrit Pape <pape@smarden.org>
Changed-By: Andrew Shadura <andrewsh@debian.org>
Description:
 ash        - compatibility package for dash
 dash       - POSIX-compliant shell
Closes: 888235
Changes:
 dash (0.5.8-2.8) unstable; urgency=medium
 .
   * Ship a /bin/sh symlink (Closes: #888235).
   * Don't quote dh arguments needlessly.
   * Drop old irrelevant postinst/postrm bits, use dh-generated ones instead.
Checksums-Sha1:
 1c5fc4b5962a621585fb4c7759f441c909f173e7 1565 dash_0.5.8-2.8.dsc
 793491996db8d0cd989f16a6f8d403f04a0eb2f2 43152 dash_0.5.8-2.8.debian.tar.xz
Checksums-Sha256:
 82f4af3b3a2c9b1ba26af61026d369feb1f9d1f9a6abfac82b45a0ea3fb24ba7 1565 dash_0.5.8-2.8.dsc
 281a4a794d6daf69cfa23a5b99edba9c34f056746da3d0618c6bcff1d909fc9a 43152 dash_0.5.8-2.8.debian.tar.xz
Files:
 3d433b93f827021a382b80206dcdfc8f 1565 shells optional dash_0.5.8-2.8.dsc
 bb70f6d77e2b3d6d0645fc0c79be1f1f 43152 shells optional dash_0.5.8-2.8.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQEcBAEBCAAGBQJaaC/SAAoJEJ1bI/kYT6UUL7wH/iCBft8BlgH0eoPnd4YD0HSZ
Ph0swbEeEECZfc8YCcNUjNvtVR2sWS/PnQaeM1KH/S1f7RyThYJeWe2BAts0n6Wd
MAp8RE0eoIwrHgDB438AtltaBA102KPa7nktkg+jfXu53ZWKyX7lKoU9kLKlHy11
GJb16DhhmShlORq9kxetnrpZsaKes6pduOlOPimAwZxkSzwdG7DJ3CHRrcyXA9Zs
zYTpuB/JSBVdIe56/AG8rcSZTFax2Vw41weSNTO1FwmCpTyruNlIIG1EG9Afn759
5o0f7lYF4zRhoDkzoijUrxXW81jlbR0otVu6ThSNbY+kzB+wkMB+ws8zEWtdl24=
=femg
-----END PGP SIGNATURE-----




Reply sent to Andrew Shadura <andrewsh@debian.org>:
You have taken responsibility. (Wed, 24 Jan 2018 07:36:17 GMT) (full text, mbox, link).


Notification sent to Helmut Grohne <helmut@subdivi.de>:
Bug acknowledged by developer. (Wed, 24 Jan 2018 07:36:17 GMT) (full text, mbox, link).


Message #24 received at 888235-close@bugs.debian.org (full text, mbox, reply):

From: Andrew Shadura <andrewsh@debian.org>
To: 888235-close@bugs.debian.org
Subject: Bug#888235: fixed in dash 0.5.8-2.9
Date: Wed, 24 Jan 2018 07:34:48 +0000
Source: dash
Source-Version: 0.5.8-2.9

We believe that the bug you reported is fixed in the latest version of
dash, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 888235@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andrew Shadura <andrewsh@debian.org> (supplier of updated dash package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 24 Jan 2018 08:19:41 +0100
Source: dash
Binary: dash ash
Architecture: source
Version: 0.5.8-2.9
Distribution: unstable
Urgency: medium
Maintainer: Gerrit Pape <pape@smarden.org>
Changed-By: Andrew Shadura <andrewsh@debian.org>
Description:
 ash        - compatibility package for dash
 dash       - POSIX-compliant shell
Closes: 888235
Changes:
 dash (0.5.8-2.9) unstable; urgency=medium
 .
   [ Sven Joachim ]
   * Non-maintainer upload.
   * Re-add the symlink for the sh manpage (Fully closes: #888235)
 .
 dash (0.5.8-2.8) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Ship a /bin/sh symlink (Closes: #888235).
   * Don't quote dh arguments needlessly.
   * Drop old irrelevant postinst/postrm bits, use dh-generated ones instead.
Checksums-Sha1:
 bf7b4e66f52b0aed64783e44d70bbbc2266ba01b 1565 dash_0.5.8-2.9.dsc
 efaccec43c70d793e807b740b306ef598aa98abf 43216 dash_0.5.8-2.9.debian.tar.xz
Checksums-Sha256:
 b63783a845f5771fa78062b5149eadfab64291142ca341618b19bb2f61a325fc 1565 dash_0.5.8-2.9.dsc
 58ee4e96c9eecc9d00df7b8a1b369214c5bf09496fa3ba76b165f6d76a4ec883 43216 dash_0.5.8-2.9.debian.tar.xz
Files:
 67e7236d294e1e0bd8b061d4e418adad 1565 shells optional dash_0.5.8-2.9.dsc
 5abd1770525018c473dbde75e441e342 43216 shells optional dash_0.5.8-2.9.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQEcBAEBCAAGBQJaaDPmAAoJEJ1bI/kYT6UUrsoH/jZdUkh59d/TXP7CxAmoUtBY
JN0OhGkF+HUGCzGUII+fEuceWzPjyG69nQvEyPdy9ClbOyA4azP2jMTNFCXJD53D
29N/3UWuxVTqL2jxmpTkGZcGlIIVVgh75VnzQyUYx2snDMX8dNZ7Vv2Vq3wc6gA5
/CFhWy/aUWG1QuaXUvY4XcqVNp0wYSuKTzD6fe52lgPD6VzwESVXadMT1zVzqgVg
AgxkUTKNM4LTJ6fxm8Wi7hzsDL9/BebjVmIcFIUaBSEEvvPmfveCL8w+mUrHu8lI
anxMD1RKYDbPOXFqz8vowFSr/CiOiVYX71IfwS0baACVYiKrTJNJspomCXvO1Sg=
=xV03
-----END PGP SIGNATURE-----




Severity set to 'critical' from 'serious' Request was from Andrew Shadura <andrew.shadura@collabora.co.uk> to control@bugs.debian.org. (Wed, 24 Jan 2018 09:18:03 GMT) (full text, mbox, link).


Bug reopened Request was from Andrew Shadura <andrew.shadura@collabora.co.uk> to control@bugs.debian.org. (Wed, 24 Jan 2018 09:18:03 GMT) (full text, mbox, link).


No longer 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:04 GMT) (full text, mbox, link).


Marked as found in versions dash/0.5.8-2.6. 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 fixed in versions dash/0.5.8-2.9 and dash/0.5.8-2.8. 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:06 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:03 GMT) (full text, mbox, link).


Notification sent to Helmut Grohne <helmut@subdivi.de>:
Bug acknowledged by developer. (Wed, 24 Jan 2018 12:30:04 GMT) (full text, mbox, link).


Message sent on to Helmut Grohne <helmut@subdivi.de>:
Bug#888235. (Wed, 24 Jan 2018 12:30:08 GMT) (full text, mbox, link).


Message #47 received at 888235-submitter@bugs.debian.org (full text, mbox, reply):

From: Andrew Shadura <andrewsh@debian.org>
To: control@bugs.debian.org
Cc: 888235-submitter@bugs.debian.org
Subject: closing 888235
Date: Wed, 24 Jan 2018 13:27:04 +0100
close 888235 
thanks
-- 
-- 
Cheers,
  Andrew




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:12:47 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.