Re: [Pkg-zsh-devel] Bug#768079: zsh: fails to configure if /bin is a symlink to /usr/bin
- To: Sven Joachim <svenjoac@gmx.de>, 768079@bugs.debian.org
- Cc: Dpkg Developers <debian-dpkg@lists.debian.org>, 807185@bugs.debian.org, 807185-submitter@bugs.debian.org, Thorsten Glaser <tg@mirbsd.org>, Felipe Sateler <fsateler@debian.org>
- Subject: Re: [Pkg-zsh-devel] Bug#768079: zsh: fails to configure if /bin is a symlink to /usr/bin
- From: Axel Beckert <abe@debian.org>
- Date: Sun, 27 Dec 2015 17:11:28 +0100
- Message-id: <[🔎] 20151227161127.GD10509@sym.noone.org>
- Mail-followup-to: Sven Joachim <svenjoac@gmx.de>, 768079@bugs.debian.org, Dpkg Developers <debian-dpkg@lists.debian.org>, 807185@bugs.debian.org, 807185-submitter@bugs.debian.org, Thorsten Glaser <tg@mirbsd.org>, Felipe Sateler <fsateler@debian.org>
- In-reply-to: <87k33au2xs.fsf@turtle.gmx.de>
- References: <87k33au2xs.fsf@turtle.gmx.de>
Hi,
Sven Joachim wrote:
> 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.
Reading this comment and https://bugs.debian.org/807185, I wonder if
this is not something, that update-alternatives should generally fix
in its --slave handling instead of each affected package individually.
Cc'ing the Dpkg Developers.
Regards, Axel
--
,''`. | Axel Beckert <abe@debian.org>, http://people.debian.org/~abe/
: :' : | Debian Developer, ftp.ch.debian.org Admin
`. `' | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5
`- | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE
Reply to: