rodrigo at liralink.com
Mon Jun 18 22:11:21 UTC 2007
No, if you make 'deinstall' under a specific port it will only uninstall the
software package with the dependencies. If you want to deinstall
dependencies do the command 'make clean' to check out what will be actually
installed and diff the output with the results obtained with the 'pkg_info'
command. Then finally do the command 'pkg_delete #package_name#' to
deinstall the dependencies.
From: owner-freebsd-stable at freebsd.org
[mailto:owner-freebsd-stable at freebsd.org] On Behalf Of Dominic Marks
Sent: segunda-feira, 18 de Junho de 2007 06:16
To: Vladislav Storojenco
Cc: freebsd-stable at freebsd.org
Subject: Re: deinstall ports
Vladislav Storojenco wrote:
> Hello all,
> I'm new user in FreeBSD and have a question about
> If a port is depend on others ports, during the
> deinstall it will deinstall and all dependencies?
It depends on what command you issue. If you try and remove an installed
package which had other packages dependent upon it, then it will fail.
# pkg_delete /var/db/pkg/apache-2.2.4_2/
pkg_delete: package 'apache-2.2.4_2' is required by these other packages
and may not be deinstalled:
But you could force it by using `pkg_delete -f` if you wanted. This on
its own will not remove the dependancies, you need to use `pkg_delete -rf`
If you run `make deinstall` from the port directory you get the same
result as having used `pkg_delete -f` (but not -rf).
freebsd-stable at freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
More information about the freebsd-stable