[Pkg-zsh-devel] Bug#860130: unblock: zsh/5.3.1-4

Axel Beckert abe at debian.org
Tue Apr 11 20:58:05 UTC 2017


Package: release.debian.org
Severity: normal
User: release.debian.org at packages.debian.org
Usertags: unblock

Please unblock package zsh

the upload fixes an upgrade issue from Jessie (#860033) which lets
/usr/bin/zsh unexpectedly vanish until the next package upgrade,
reinstallation or reconfiguration.

Full debdiff:

diff -Nru zsh-5.3.1/debian/changelog zsh-5.3.1/debian/changelog
--- zsh-5.3.1/debian/changelog	2017-01-19 23:25:40.000000000 +0100
+++ zsh-5.3.1/debian/changelog	2017-04-11 21:34:40.000000000 +0200
@@ -1,3 +1,11 @@
+zsh (5.3.1-4) unstable; urgency=high
+
+  * [5c3b52b8] Reorder zsh.postinst: do alternatives removal before
+    (re)creating /usr/bin/zsh symlink. Thanks to ilf for the bug report
+    and Adrian Bunk for finding the right solution. (Closes: #860033)
+
+ -- Axel Beckert <abe at debian.org>  Tue, 11 Apr 2017 21:34:40 +0200
+
 zsh (5.3.1-3) unstable; urgency=medium
 
   * [348c47bd] Cherry-pick four stability patches from upstream:
diff -Nru zsh-5.3.1/debian/zsh.postinst zsh-5.3.1/debian/zsh.postinst
--- zsh-5.3.1/debian/zsh.postinst	2017-01-08 23:19:29.000000000 +0100
+++ zsh-5.3.1/debian/zsh.postinst	2017-04-11 21:09:00.000000000 +0200
@@ -2,6 +2,14 @@
 
 set -e
 
+# ksh alternatives
+update-alternatives --remove ksh /usr/bin/zsh
+update-alternatives --remove ksh /bin/zsh4
+
+# Remove alternatives system for zsh in general
+update-alternatives --remove zsh /bin/zsh5
+update-alternatives --remove rzsh /bin/zsh5
+
 case "$1" in
     (configure)
         add-shell /bin/zsh
@@ -23,14 +31,6 @@
     ;;
 esac
 
-# ksh alternatives
-update-alternatives --remove ksh /usr/bin/zsh
-update-alternatives --remove ksh /bin/zsh4
-
-# Remove alternatives system for zsh in general
-update-alternatives --remove zsh /bin/zsh5
-update-alternatives --remove rzsh /bin/zsh5
-
 #DEBHELPER#
 
 exit 0


So please ...

unblock zsh/5.3.1-4

-- System Information:
Debian Release: 9.0
  APT prefers unstable
  APT policy: (990, 'unstable'), (600, 'testing'), (500, 'unstable-debug'), (500, 'buildd-unstable'), (110, 'experimental'), (1, 'experimental-debug'), (1, 'buildd-experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)



More information about the Pkg-zsh-devel mailing list