Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Aug 2013 14:41:35 -0500
From:      Mark Felder <feld@FreeBSD.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: find ports that aren't required anymore
Message-ID:  <1377978095.27510.16416805.52E0E55D@webmail.messagingengine.com>
In-Reply-To: <004001cea67e$f774a530$e65def90$@dalescott.net>
References:  <004001cea67e$f774a530$e65def90$@dalescott.net>

next in thread | previous in thread | raw e-mail | index | archive | help


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".



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1377978095.27510.16416805.52E0E55D>