find ports that aren't required anymore

Dale Scott dalescott at
Sat Aug 31 20:05:06 UTC 2013

Cool, thanks Mark. Guess that's also a reason to learn new pkg tools. 

On 2013-08-31, at 1:41 PM, Mark Felder <feld at> wrote:

> On Sat, Aug 31, 2013, at 14:19, Dale Scott wrote:
>> I was using the postfix port, but decided to replace it with ssmtp to
>> reduce
>> ports in use and simplify system updating (deleting postfix with
>> pkg_delete). Is it possible that deleting postfix will leave ports
>> installed
>> that aren't required anymore? Will pkg_delete also delete any
>> dependencies
>> no longer required? If I could have ports still installed that aren't
>> required anymore? How can I find them now? Portmaster?
> If you're using the old pkg format you'll want to use something like
> pkg_cutleaves which is in ports.
> If you're using the new pkg format you can simply run "pkg autoremove".
> _______________________________________________
> freebsd-questions at mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at"

More information about the freebsd-questions mailing list