Uninstalling dependencies

Mike Meyer mwm-dated-1050016105.28fc9e at mired.org
Sat Apr 5 15:08:27 PST 2003

In <200304051954.06478.fallenbr at uol.com.br>, Konrad Scorciapino <fallenbr at uol.com.br> typed:
> How can I uninstall all dependencies of a port?

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


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

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

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

More information about the freebsd-questions mailing list