View Single Post
Old 5th September 2008
phoenix's Avatar
phoenix phoenix is offline
Risen from the ashes
 
Join Date: May 2008
Posts: 696
Default

Quote:
Originally Posted by kasse View Post
ps. Interesting to note for me is that the entries in /var/db/ports are not removed when you run "make deinstall". What is the difference between "make deinstall" and "pkg_delete" when it comes to ports.
When in doubt, read the man page: ports(7)

/var/db/pkg is the "installed packages database" that lists which ports/packages are installed, their files, their dependencies, etc.

/var/db/ports is the "port configuration database" that stores the selections you make in the OPTIONS screens when installing ports. You can view the selection by running make showconfig in a port directory. And you can delete them with make rmconfig. And you can change them using make config. These are not deleted when you remove a port/package because then you would lose your settings when upgrading ports.
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote