Date: Tue, 10 Apr 2007 17:49:44 -0400 From: Bill Moran <wmoran@potentialtech.com> To: peter@placidpublishing.net Cc: freebsd-questions@freebsd.org Subject: Re: Uninstalling Ports Question Message-ID: <20070410174944.d3dc28fa.wmoran@potentialtech.com> In-Reply-To: <461C0322.8030908@placidpublishing.net> References: <461C0322.8030908@placidpublishing.net>
next in thread | previous in thread | raw e-mail | index | archive | help
In response to "Placid Publishing, LLC" <peter@placidpublishing.net>: > Say I have a new system with nothing installed on it yet from the ports > collection. Lets say I install Apache and lets say it requires php, > python, perl, and ruby. Now lets say I uninstall Apache with "pkg_delete > Apache". Will it remove php, python, perl, and ruby? Or will it leave > those packages? Even if nothing else is depending on them? The system does not automatically clean up dependencies for you. If you uninstall a package that leave dependencies behind, you'll have to clean them up yourself. > If it does, how can I remove those quickly with a pkg_* command? Also, > what happens if other programs I installed later use php, python, or > perl? I'm guessing they would just be left? Install and use ports-mgmnt/pkg_cutleaves. It solves these problems if you always use it to uninstall software. -- Bill Moran http://www.potentialtech.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070410174944.d3dc28fa.wmoran>