[Pkg-zsh-devel] Bug#860033: Bug#860033: /usr/bin/zsh gone after dist-upgrade
Axel Beckert
abe at debian.org
Mon Apr 10 14:35:24 UTC 2017
Control: tag -1 + moreinfo unreproducible
Hi ilf,
ilf wrote:
> On a jessie box, I had /usr/bin/zsh as my shell in /etc/passwd.
Perfectly fine.
> After a dist-upgrade to stretch, that binary is gone.
That shouldn't happen.
> The package usrmerge was not installed during dist-upgrade.
Thanks for the info. That would have been my next question, because if
there's a reason for this bug, it's surely related to making the
package work with usrmerge. Because previously /usr/bin/zsh was simply
a symlink inside the package itself with no intervention via
maintainer scripts needed. *sigh*
> RC, because this effectively locked me out of the system.
Definitely RC, but I've already dist-upgraded a few boxes and this
never happened to me. So I wonder under which circumstances this can
happen.
> If this change is intentional, […]
It is not. See /var/lib/dpkg/info/zsh.postinst:
5 case "$1" in
6 (configure)
7 add-shell /bin/zsh
8 add-shell /usr/bin/zsh
9
10 # New hardcoded symlinks which unfortunately can't be shipped inside
11 # the package itself since some people want to merge /bin and /usr/bin
12 # against FHS and all Unix tradition.
13 if [ ! -e /usr/bin/zsh -a ! -L /usr/bin/zsh ]; then
14 ln -s /bin/zsh /usr/bin/zsh
15 fi
16 ;;
So I wonder why that call in line 14 did either not get called at all
or failed.
A few more questions:
* Was the dist-upgrade already finished when you checked this?
(Wondering if this is another incarnation of
https://bugs.debian.org/841048)
* Is the zsh package or zsh-common in a "broken" state? Can you send
us the output of "dpkg -l zsh\*"?
* Do you still have the output of the dist-upgrade? If so, could grep
for "zsh" in that log and send us that output?
* If you don't have that output anymore, please do an "apt-get install
--reinstall zsh 2>&1 | tee zsh-install.log" and send us that log.
Regards, Axel
--
,''`. | Axel Beckert <abe at 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
More information about the Pkg-zsh-devel
mailing list