Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Apr 2003 17:08:24 -0600
From:      Mike Meyer <mwm-dated-1050016105.28fc9e@mired.org>
To:        Konrad Scorciapino <fallenbr@uol.com.br>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Uninstalling dependencies
Message-ID:  <16015.25064.686353.832671@guru.mired.org>
In-Reply-To: <200304051954.06478.fallenbr@uol.com.br>
References:  <200304051954.06478.fallenbr@uol.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help
In <200304051954.06478.fallenbr@uol.com.br>, Konrad Scorciapino <fallenbr@uol.com.br> typed:
> How can I uninstall all dependencies of a port?

Install the portupgrade port, and use "pkg_deinstall -r".

Alternatively,

	# pkg_delete -f $(pkg_info -R <portname> | sed 1,/Required/d)

should do the trick. But this doesn't handle dependencies of the
dependencies.


	<mike
-- 
Mike Meyer <mwm@mired.org>		http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.



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