NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: [newbie] replacing applications in the Base set?
> How does one get rid of the older versions in /usr/bin and /usr/sbin?
>
Extract /usr/src/distrib/sets/lists form src.tgz and grep for
'-postfix-'. I'd use something like
$ grep -r -- "-postfix-" . | awk '{print $2}' | sort | uniq
base-postfix-bin
base-postfix-examples
base-postfix-root
base-postfix-usr
etc-postfix-etc
etc-postfix-rc
man-postfix-catman
man-postfix-man
misc-postfix-examples
misc-postfix-htmldoc
misc-postfix-share
$ for SET in base etc man misc; do \
> grep "${SET}-postfix-" ${SET}/* | sed -e "s/^[a-z].*:\.//g" | \
> awk '{print $1}'; \
> done
...
list of files and dirs to erase
...
Of course, there may be other easier ways to do it, check it yourself.
Home |
Main Index |
Thread Index |
Old Index