Date: Tue, 1 Feb 2005 09:04:22 +0100 From: Christopher Illies <christopher.illies@molmed.ki.se> To: Matt LaPlante <laplante@cat.rpi.edu> Cc: freebsd-questions@freebsd.org Subject: Re: Cleaning Out Ports? Message-ID: <20050201080422.GA72681@Klabautermann.ks.se> In-Reply-To: <200502010132.j111WhkT007090@smtp3.server.rpi.edu> References: <200502010132.j111WhkT007090@smtp3.server.rpi.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jan 31, 2005 at 08:32:41PM -0500, Matt LaPlante wrote: > > I know the ports system is designed to install dependencies automatically, > but how does one go about removing them? Say one large package installs > several dependencies, but then later on that package is removed...and now > we're left with several orphaned packages. Is there a way to either detect, > or even automatically clean out orphaned packages? I'm particularly > concerned because I'm dealing with a few systems which are rather well aged, > and have gone through several upgrade cycles. I know the Linux version of > the ports system found in Gentoo (portage) offers extensive functionality > for finding and removing orphaned dependencies, so I'm hoping FreeBSD has > some such feature as well. Thanks. Have a look at /usr/ports/sysutils/pkg_cutleaves. It is a script that detects and removes orphaned dependencies. Christopher
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050201080422.GA72681>