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) "
> | 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)
> "
> | 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
>From b9d09de1bcfc898a737dd4485aa658278fb6aa4c Mon Sep 17 00:00:00 2001
From: Sven Joachim
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 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 000..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