On Fri, 23 Jan 2004 17:00:05 +1300 Tom Munro Glass <[EMAIL PROTECTED]> wrote:
> 1) How can I display the dependencies between the ports I have > installed on my 4.9-RELEASE machine? There seem to be some ports in > /var/db/pkg that I haven't intentionally installed and I would like to > get rid of some of them, but I don't know if they are used by other > ports. Try: pkg_info -r <<name of package as it appears in /var/db/pkg>> > 2) I use portinstall to install ports, but if I want to delete a port, > is the only way to use "make deinstall"? It would be nice if there was > something like portdeinstall that would remove the specified port and > any ports it depends on (providing they are not used elsewhere). pkg_delete can remove the packages created by ports (better than "make deinstall", which can fail after you've updating your ports tree and the port has been upgraded.) pkg_delete -r will remove the package and any packages that depend on it. But for what you want (remove the package and all packages that it depends on (that no other package depends on,)) I'm not sure how to do it with the standard tools. I find the sysutils/pkg_cutleaves port is handy for this purpose though, and definately worth a look in your situation. HTH -Chris _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"