Package: zsh Version: 5.2-4 The zsh postinst script sets up a symlink /usr/bin/zsh -> /bin/zsh, but there is nothing which cleans it up when zsh is removed. I guess the postrm should "rm -f /usr/bin/zsh".
-- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable'), (101, 'experimental') Architecture: i386 (x86_64) Kernel: Linux 4.4.9-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 Init: systemd (via /run/systemd/system) Versions of packages zsh depends on: ii dpkg 1.18.6 ii libc6 2.22-7 ii libcap2 1:2.24-12 ii libtinfo5 6.0+20160319-2 ii zsh-common 5.2-4 Versions of packages zsh recommends: ii libncursesw5 6.0+20160319-2 ii libpcre3 2:8.38-3.1 Versions of packages zsh suggests: ii zsh-doc 5.2-4 -- no debconf information