[Pkg-zsh-devel] Bug#860033: Bug#860033: /usr/bin/zsh gone after dist-upgrade
bunk at debian.org
Mon Apr 10 15:23:59 UTC 2017
On Mon, Apr 10, 2017 at 04:35:24PM +0200, Axel Beckert wrote:
> 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
> 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 ;;
I think I understand where the problem is:
The link is not created due to the old alternatives link still existing.
This block has to be moved after the
update-alternatives --remove zsh /bin/zsh5
> Regards, Axel
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
More information about the Pkg-zsh-devel