Cleanup all FreeBSD packages and ports
January 20th, 2014 Posted in GeneralCleanup all of the old data
- # pkg remove -a -f
- # rm -rf /var/db/pkg/* /var/db/ports/* /usr/local/*
Reinstall ports data
- # portsnap fetch
- # portsnap extract
Reinstall pkg
- # pkg info
- You’ll be prompted to reinstall pkg, press “y” and enter