Remove a Port and All Dependencies

Peter petermatulis at yahoo.ca
Fri Feb 24 18:29:42 PST 2006


--- Aaron Dalton <aaron at freebsd.org> wrote:

> Jeff Cross wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> > 
> > I would like to know if it is possible to remove a port/package and
> all
> > of the dependencies it installed that are not needed by other
> applications.
> > 
> > Example: I installed Nautilus and some Gnome games but don't want them
> > installed any longer.  However, if I remove the package itself,
> doesn't
> > it leave all of the other dependencies out there?
> > 
> > Upgrading my system takes forever now that there are a ton of libs and
> > such installed by these applications.  So, if anyone can point me in
> the
> > right direction for doing this I would greatly appreciate it.
> > 
> 
> pkg_deinstall -R portname

Wouldn't this remove all ports that depend on the port in question (its
dependants)?  The OP wants to remove all ports that are *required* by the
port (its dependencies).  But furthermore, he wants to remove those that
AREN'T NEEDED BY ANY OTHER PORTS.

--
Peter





	

	
		
__________________________________________________________ 
Find your next car at http://autos.yahoo.ca


More information about the freebsd-questions mailing list