Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Nov 2005 15:07:40 +0000
From:      Alex Zbyslaw <xfb52@dial.pipex.com>
To:        Javier Matos <javierlu@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: uninstalling packages...
Message-ID:  <4381E2BC.2050306@dial.pipex.com>
In-Reply-To: <000e01c5eea9$727681e0$0301a8c0@mindcrash>
References:  <000e01c5eea9$727681e0$0301a8c0@mindcrash>

next in thread | previous in thread | raw e-mail | index | archive | help
Javier Matos wrote:

>Hello, I want information about uninstallation of packages. I know how to perform that kind of actions but I really want to know if something like pkg_add "a_package" and then pkg_delete "a_package" really delete ALL FILES installed with pkg_add command.
>  
>
In short, yes.  This isn't windows :-)

The long answer is that each package provides information about what 
files it installs and thus what files to de-install.  So the maintainer 
of the package/port has to get the list of files correct, but I've 
rarely seen any problems.  So if you find that a package isn't deleting 
something you should ask here or contact the port maintainer.

However, if you create any local configuration files (say, for example, 
/usr/local/etc/smartd.conf, or user specific openoffice directories) 
they shouldn't be deleted.

--Alex






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4381E2BC.2050306>