Posted by admin on June 3, 2009 – 10:01 pm
Filed under BSD
Tagged as
installed is 5.8.8_1 updated to 5.8.9_2 current is 5.10.0_2
- make reinstall
- make deinstall
- make distclean
pkg_delete -n -d -r perl-5.8*
pkgdb -F
Posted by admin on June 3, 2009 – 9:07 am
Filed under BSD
Tagged as
pkg_deinstall command is a wrapper of pkg_delete(1) used to deinstall packages, which understands wildcards and is capable of recursing through dependencies.
pkg_deinstall -R portname
However, I have done this manually by repeated application of
pkg_cutleaves (sysutils/pkg_cutleaves) + pkg_delete.
pkg_cutleaves -l
There is a menu-ish version of pkg_cutleaves called pkg_rmleaves
pkg_deinstall --recursive --upward-recursive --rmdir -n
-n noexcute
pkg_deinstall --recursive --upward-recursive --rmdir xorg* xf86* lib[xX]* font*
pkg_deinstall --recursive --rmdir -n xproto*
pkg_deinstall --recursive --rmdir -n font*
encodings
Posted by admin on June 3, 2009 – 8:22 am
FROM lessfaq.wordpress.com/2008/04/30/how-to-build-locate-command-database-in-freebsd/#comments
If the database has not been built, locate command will show the following error message:
locate: database too small: /var/db/locate.database
You can build/update the database by running ‘locate.updatedb‘ script.
run:
$ /usr/libexec/locate.updatedb