On Monday 23 October 2006 20:48, Eric wrote: > RW wrote: > > On Monday 23 October 2006 16:15, Lowell Gilbert wrote: > >> "Mark Jayson Alvarez" <[EMAIL PROTECTED]> writes: > >>> I have several questions: > >>> > >>> 1. If I install a particular package, its dependencies will be > >>> installed as well. Now if I remove it later using pkg_delete, only > >>> that package will be removed and not the dependencies. The reason I > >>> guess is because some other packages may be dependent on those > >>> dependencies as well. Is there a way to remove a particular package > >>> and all of its dependencies (given that no other package is dependent > >>> on those dependencies)? > >> > >> Is the pkg_cutleaves port what you're looking for? > > > > If you build anything from ports, portmanager does a better job as it it > > takes account of build dependencies. > > portmaster has an -s switch that will remove ports no longer needed by > any other ports, so what you can do is say uninstall port A then run > portmaster -s and it will pick up any ports that port A required but > nothing else does and offer to remove them. it is an alternate to > portmanager, so you will not need both.
As I said: "portmanager does a better job [than pkg_cutleaves] as it it takes account of build dependencies". Portmaster also only works with runtime dependencies. _______________________________________________ firstname.lastname@example.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"