Your message dated Wed, 31 May 2017 12:18:36 +0000
with message-id <[email protected]>
and subject line Bug#810158: fixed in ksh 93u+20120801-3.1
has caused the Debian Bug report #810158,
regarding ksh fails to install on systems with merged /usr
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
810158: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=810158
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ksh
Version: 93u+20120801-2
Severity: normal
Tags: patch
User: [email protected]
Usertags: usrmerge
The current usrmerge package must conflict with ksh because it would
otherwise fail in postinst while trying to create again /usr/bin/ksh.
See #768079 for details.
Patch attached.
--
ciao,
Marco
diff --git a/debian/changelog b/debian/changelog
index cc7d18f..9ef7135 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+ksh (93u+20120801-2.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Create the /usr/bin/ksh compatibility link in postinst instead that as
+ an update-alternatives slave link, to support merged /usr systems.
+ (Closes: FIXME)
+
+ -- Marco d'Itri <[email protected]> Wed, 06 Jan 2016 04:56:37 +0100
+
ksh (93u+20120801-2) unstable; urgency=medium
* Adopted package (Closes: #691199)
diff --git a/debian/postinst b/debian/postinst
index 822ec9e..477a5c5 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -22,10 +22,13 @@ esac
# The alternative is the mksh package.
# For a discussion on interactions between ksh and mksh, see #764401.
update-alternatives --install /bin/ksh ksh /bin/ksh93 20 \
- --slave /usr/bin/ksh usr.bin.ksh /bin/ksh93 \
--slave /usr/share/man/man1/ksh.1.gz ksh.1.gz \
/usr/share/man/man1/ksh93.1.gz
+if [ ! -e /usr/bin/ksh -a ! -L /usr/bin/ksh ]; then
+ ln -s /bin/ksh /usr/bin/ksh
+fi
+
# For a discussion of what we put in /etc/shells see #790118.
add-shell /bin/ksh93
add-shell /bin/rksh93
diff --git a/debian/prerm b/debian/prerm
index 1626b99..4626036 100644
--- a/debian/prerm
+++ b/debian/prerm
@@ -6,6 +6,10 @@ case "$1" in
remove|deconfigure)
update-alternatives --remove ksh /bin/ksh93
update-binfmts --package ksh --remove ksh /bin/ksh93
+ # remove the compatibility link if it is broken
+ if [ -L /usr/bin/ksh -a ! -e /usr/bin/ksh ]; then
+ rm /usr/bin/ksh
+ fi
;;
upgrade|failed-upgrade)
signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
Source: ksh
Source-Version: 93u+20120801-3.1
We believe that the bug you reported is fixed in the latest version of
ksh, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Christoph Martin <[email protected]> (supplier of updated ksh 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 31 May 2017 11:57:56 +0200
Source: ksh
Binary: ksh
Architecture: source amd64
Version: 93u+20120801-3.1
Distribution: unstable
Urgency: medium
Maintainer: Nicholas Bamber <[email protected]>
Changed-By: Christoph Martin <[email protected]>
Description:
ksh - Real, AT&T version of the Korn shell
Closes: 810158
Changes:
ksh (93u+20120801-3.1) unstable; urgency=medium
.
* Non-maintainer upload.
* fix postinst with merged /usr using patch from mksh (Closes: #810158)
Checksums-Sha1:
721a6c0c8bd34117077b2c6a516919ae81a8543d 1834 ksh_93u+20120801-3.1.dsc
54ddb5440f59f4f08e26e48d4a07a0a8b79bf42f 15056
ksh_93u+20120801-3.1.debian.tar.xz
545514534a81088fac98f1132e135148a7a0ec13 2834310
ksh-dbgsym_93u+20120801-3.1_amd64.deb
8a92c47012a7af172de2a839b66e2ab23432d56e 5482
ksh_93u+20120801-3.1_amd64.buildinfo
8bb9a99da208168a716cecfb7f46ec37ba10a1e2 890472 ksh_93u+20120801-3.1_amd64.deb
Checksums-Sha256:
2ca722f3238210138b61d90e144ae18a38e881451df5b373716576e66f67ecf7 1834
ksh_93u+20120801-3.1.dsc
a7e7427ed7eb332396344c9e85fabe5a15be06c45a58262c074ef473c3706b0b 15056
ksh_93u+20120801-3.1.debian.tar.xz
2dd2f54f1764d31366b8cbdbee268298a481484c01c422893304d444237201dd 2834310
ksh-dbgsym_93u+20120801-3.1_amd64.deb
50eea8a4e1f0403ccfe1aeb47b644c523abf2c8c3fb77c6d206cf8e8537019db 5482
ksh_93u+20120801-3.1_amd64.buildinfo
432472b19d166d6eb40c769350fd650bf48d3d6c9b213af23183ce6932f9cc29 890472
ksh_93u+20120801-3.1_amd64.deb
Files:
5e35e271b2fef05343e16efaf99e8187 1834 shells optional ksh_93u+20120801-3.1.dsc
50470de164ad1b51649eca8e097b1630 15056 shells optional
ksh_93u+20120801-3.1.debian.tar.xz
6c0adb822f9b591bdbd63f577436ebc0 2834310 debug extra
ksh-dbgsym_93u+20120801-3.1_amd64.deb
42b9bb9100a9c3ea170657da6e344553 5482 shells optional
ksh_93u+20120801-3.1_amd64.buildinfo
f67c222aecb8a804896650011628be09 890472 shells optional
ksh_93u+20120801-3.1_amd64.deb
-----BEGIN PGP SIGNATURE-----
iQIcBAEBCgAGBQJZLrJPAAoJEPqBswqWsQmch+sP/j4UgBFgLsF1pBzwqT3JYTtj
2J5JSHY3ExLTSWzjnCc6QXm8DnIOcH5icBx7JViP7HSE00SBL5V4YTdppodk60LO
D6M/TCW3PVf5SmBYoCN8dA+s2kuZLFMGV/YiviS+VqkyHpVyFiRksR/+tTA4n8u0
5E+umT3up56N+cVJqzFJOcWnnatC9tceuS3ZuZg0pV3w8zVp4ziZxSoGTFwJHxuI
CN9CXcS9wt5jEJ7E+ceB9CgHqfvsH2Q3S59LF+f8zBr8lbTaz+PL/s1K/CSfXur4
Z7vLjEKC8+9PzO8Rc9KiENxniFSJbLkCfUkheZrV2lcgexfHUTOC53o6WeUl+1Ix
dFiMkQ+JKvpQCALvKjq/s6d5jDYVXjCwbTs+IMjnC8d0EA9fYxjqyP4rdN5GyUlo
A+aBmqj/nOFhQXkfX6/qMdyUqbwrLnGOaOC5GmUi8xFvB1MF9rMqvr1zUWFkQT07
1vJg7yyqKtQxy+t2e9Q0LfWmvL4xeQbVt+JSbBYcSfsmZUzRzlwIDgIqYE2lrwxr
pLOh6xgcQN/LHx0GoQWMQPBYTqyagVNHm3ONzy+qzsgdevo5d7f2MjVsqAYbLgai
PKmedFoU30M7WUu3YywgzoilIOL/oMkwZfQtmRf84h/LrG8m1iKLXnlAcp4yzn51
6SeFNdTGBYX5IlOHd3+j
=uT9K
-----END PGP SIGNATURE-----
--- End Message ---