Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: zsh 5.1 released [user]



Hi,

On Sun, Sep 06, 2015 at 09:43:13AM -0700, Ray Andrews wrote:
> Before installing that, is there a list somewhere of all the bits
> and pieces of zsh scattered around?  I'd like to remove everything
> because I know that some of the bits of zsh on my system are
> derelict.  If I cut it all out then reinstall, I'll know for sure
> that everything is current.  Brute searches for '*zsh* give this:
[...]
> /usr/share/doc/zsh-common
> /usr/share/doc/zsh
> /usr/lib/i386-linux-gnu/zsh
> /usr/lib/i386-linux-gnu/zsh/5.0.8/zsh
> /usr/share/lintian/overrides/zsh-common
> /usr/share/lintian/overrides/zsh
> /usr/share/doc/zsh-common/zsh-development-guide.gz
> /usr/share/doc/zsh-common/examples/zshenv
> /usr/share/doc/zsh-common/examples/old/jhm.zshrc.gz
> /usr/share/doc/zsh-common/examples/zshrc.gz
> /usr/share/doc/zsh-common/examples/Misc/bash2zshprompt
> /usr/share/doc/zsh-common/examples/Misc/make-zsh-urls.gz
> /usr/share/doc/zsh-common/examples/carstenh.zshrc.gz
> /usr/share/doc/zsh-common/zsh.texi.gz
> /usr/share/bug/zsh-common
> /usr/share/bug/zsh
> /usr/share/menu/zsh-common

These directories and files (and some more) are clearly part of a zsh
debian package being installed, namely 5.0.8 as currently only present
in Debian Testing ("stretch"). Please do not delete any of these files
manually as it may wreck the state of dpkg/apt badly.

To get rid the package(s), call "apt purge zsh zsh-common" as root.

> /usr/local/share/zsh
> /usr/local/lib/zsh
> /usr/local/lib/zsh/5.0.7-dev-0/zsh
> /usr/local/lib/zsh/~5.0.7/zsh
> /usr/local/bin/zsh-5.0.7-271
> /usr/local/bin/zsh-5.0.7-109-g2598010
> /usr/local/bin/zsh-5.0.7-242-g0e35489
> /usr/local/bin/zsh-5.0.7-319
> /usr/local/bin/zsh-5.0.7-125-g167a15a
> /usr/local/bin/zsh-5.0.7-165-g2194da1
> /usr/local/bin/zsh-5.0.7-217-g39a6e8a
> /usr/local/bin/zsh-5.0.7-138-g247f754
> /usr/local/bin/zsh-5.0.7-310
> /usr/local/bin/zsh-5.0.7-311
> /usr/local/bin/zsh-5.0.7-305
> /usr/local/bin/zsh-5.0.7-112-g49d6aac
> /usr/local/bin/zsh-5.0.7-175-g7e74495
> /usr/local/bin/zsh-5.0.7-136-g0a07ffd
> /usr/local/bin/zsh-5.0.7-159-g89c692e
> /usr/local/bin/zsh-5.0.7-248
> /usr/local/bin/zsh-5.0.7-274
> /usr/local/bin/zsh-5.0.7-297
> /usr/local/bin/zsh-5.0.7-161-g1cd8023
> /usr/local/bin/zsh-5.0.7-230-g2b8b1a4
> /usr/local/share/man/man1/zshmisc.1
> /usr/local/share/man/man1/zshcompsys.1
> /usr/local/share/man/man1/zshmodules.1
> /usr/local/share/man/man1/zshcontrib.1
> /usr/local/share/man/man1/zshall.1
> /usr/local/share/man/man1/zshoptions.1
> /usr/local/share/man/man1/zshcompwid.1
> /usr/local/share/man/man1/zshtcpsys.1
> /usr/local/share/man/man1/zsh.1
> /usr/local/share/man/man1/zshzle.1
> /usr/local/share/man/man1/zshbuiltins.1
> /usr/local/share/man/man1/zshcalsys.1
> /usr/local/share/man/man1/zshparam.1
> /usr/local/share/man/man1/zshcompctl.1
> /usr/local/share/man/man1/zshexpn.1
> /usr/local/share/man/man1/zshroadmap.1
> /usr/local/share/man/man1/zshzftpsys.1
> /usr/local/share/zsh/5.0.7-dev-0/functions/zsh_directory_name_cdr
> /usr/local/share/zsh/5.0.7-dev-0/functions/zsh-mime-handler
> /usr/local/share/zsh/5.0.7-dev-0/functions/zsh-mime-contexts
> /usr/local/share/zsh/5.0.7-dev-0/functions/add-zsh-hook
> /usr/local/share/zsh/5.0.7-dev-0/functions/zsh-newuser-install
> /usr/local/share/zsh/5.0.7-dev-0/functions/_zsh-mime-handler
> /usr/local/share/zsh/5.0.7-dev-0/functions/_mkzsh
> /usr/local/share/zsh/5.0.7-dev-0/functions/zsh-mime-setup
> /usr/local/share/zsh/5.0.7-dev-1/functions/zsh_directory_name_cdr
> /usr/local/share/zsh/5.0.7-dev-1/functions/zsh-mime-handler
> /usr/local/share/zsh/5.0.7-dev-1/functions/zsh-mime-contexts
> /usr/local/share/zsh/5.0.7-dev-1/functions/add-zsh-hook
> /usr/local/share/zsh/5.0.7-dev-1/functions/zsh-newuser-install
> /usr/local/share/zsh/5.0.7-dev-1/functions/_zsh-mime-handler
> /usr/local/share/zsh/5.0.7-dev-1/functions/_mkzsh
> /usr/local/share/zsh/5.0.7-dev-1/functions/zsh-mime-setup

This (i.e. everything zsh-related under "/usr/local/") is clearly a
locally installed version. If "make uninstalled doesn't clean them up,
you may want to remove them manually

> /var/cache/apt/archives/zsh_5.0.8-2_i386.deb
> /var/cache/apt/archives/zsh_5.0.8-4_i386.deb
> /var/cache/apt/archives/zsh-common_5.0.8-2_all.deb
> /var/cache/apt/archives/zsh-common_5.0.8-4_all.deb

This is just apt's cache of downloaded .deb files. You can clean the
cache with "apt-get clean".

> /var/lib/dpkg/info/zsh-common.preinst
> /var/lib/dpkg/info/zsh.prerm
> /var/lib/dpkg/info/zsh.postinst
> /var/lib/dpkg/info/zsh.preinst
> /var/lib/dpkg/info/zsh-common.prerm
> /var/lib/dpkg/info/zsh.postrm
> /var/lib/dpkg/info/zsh.md5sums
> /var/lib/dpkg/info/zsh-common.list
> /var/lib/dpkg/info/zsh-common.postrm
> /var/lib/dpkg/info/zsh.list
> /var/lib/dpkg/info/zsh-common.md5sums
> /var/lib/dpkg/info/zsh-common.conffiles
> /var/lib/dpkg/info/zsh-common.postinst
> /var/lib/dpkg/alternatives/zsh
> /var/lib/dpkg/alternatives/rzsh

This is part of dpkg's tracking of which packages are installed. If
you delete anything in there manually, you may wreck dpkg's knowledge
of the system badly. They will go away, if you purge the zsh and
zsh-common packages as described above.

		Kind regards, Axel
-- 
/~\  Plain Text Ribbon Campaign                   | Axel Beckert
\ /  Say No to HTML in E-Mail and News            | abe@xxxxxxxxxxxxxxx  (Mail)
 X   See http://www.nonhtmlmail.org/campaign.html | abe@xxxxxxxxx (Mail+Jabber)
/ \  I love long mails: http://email.is-not-s.ms/ | http://abe.noone.org/ (Web)



Messages sorted by: Reverse Date, Date, Thread, Author