[Pkg-zsh-devel] Bug#768079: zsh: fails to configure if /bin is a symlink to /usr/bin

Sven Joachim svenjoac at gmx.de
Tue Nov 4 20:27:11 UTC 2014

Package: zsh
Version: 5.0.7-3
Severity: normal
User: md at linux.it
Usertags: usrmerge

On a system with everything in /usr[1,2], i.e. /bin is a symlink to
/usr/bin, zsh fails to configure:

| Setting up zsh (5.0.7-3) ...
| update-alternatives: using /bin/zsh5 to provide /bin/zsh (zsh) in auto mode
| update-alternatives: error: unable to install `/usr/bin/zsh.dpkg-tmp' as `/usr/bin/zsh': No such file or directory
| dpkg: error processing package zsh (--configure):
|  subprocess installed post-installation script returned error exit status 2
| Errors were encountered while processing:
|  zsh

I guess update-alternatives does not like the fact that the /bin/zsh
alternative and its slave /usr/bin/zsh are at the same place.

1. https://lists.debian.org/debian-devel/2014/11/msg00013.html
2. http://anonscm.debian.org/cgit/users/md/usrmerge.git/tree/debian/README.Debian

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 3.17.2-nouveau (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages zsh depends on:
ii  libc6       2.19-12
ii  libcap2     1:2.24-6
ii  libtinfo5   5.9+20140913-1
ii  zsh-common  5.0.7-3

Versions of packages zsh recommends:
ii  libncursesw5  5.9+20140913-1
ii  libpcre3      1:8.35-3.1

Versions of packages zsh suggests:
ii  zsh-doc  5.0.7-3

-- no debconf information

More information about the Pkg-zsh-devel mailing list