Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Feb 2005 02:12:52 +0000
From:      RW <list-freebsd-2004@morbius.sent.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Cleaning Out Ports?
Message-ID:  <200502020212.53237.list-freebsd-2004@morbius.sent.com>
In-Reply-To: <20050201080422.GA72681@Klabautermann.ks.se>
References:  <200502010132.j111WhkT007090@smtp3.server.rpi.edu> <20050201080422.GA72681@Klabautermann.ks.se>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 01 February 2005 08:04, Christopher Illies wrote:

> Have a look at /usr/ports/sysutils/pkg_cutleaves. It is a script that
> detects and removes orphaned dependencies.

Just bear in mind that some of the leaves will be required for building other 
ports. Whilst they can be safely removed, it might save time to leave them.

Personally, I think  pkg_cutleaves has it about right, anything more automated 
may lead to nasty surprises. Such systems have no reliable way of knowing 
whether users are making direct use of a port that was originally installed 
as a dependency.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502020212.53237.list-freebsd-2004>