find ports that aren't required anymore
feld at FreeBSD.org
Sat Aug 31 19:41:37 UTC 2013
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
> ports in use and simplify system updating (deleting postfix with
> pkg_delete). Is it possible that deleting postfix will leave ports
> that aren't required anymore? Will pkg_delete also delete any
> 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".
More information about the freebsd-questions