Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jul 2007 09:22:27 -0500
From:      David Kelly <dkelly@hiwaay.net>
To:        Jonathan Horne <freebsd@dfwlp.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: /usr/ports/packages cleanup
Message-ID:  <20070712142227.GB7189@Grumpy.DynDNS.org>
In-Reply-To: <200707120846.26845.freebsd@dfwlp.com>
References:  <200707120846.26845.freebsd@dfwlp.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Thu, Jul 12, 2007 at 08:46:26AM -0500, Jonathan Horne wrote:
> my packages dir is starting to have more than a few packages of incrementing 
> versions.  example:
> 
> [jhorne@athena All] $ ls kde-3*
> kde-3.5.6_1.tbz  kde-3.5.7.tbz
> 
> is there a simple way to clean the packages directory, and only keep the 
> latest version of each package?

Install the portupgrade port and use "portsclean -CD" to sweep
/usr/ports/ of spare working files and to clear /usr/ports/distfiles/ of
all non-current source files.

-- 
David Kelly N4HHE, dkelly@HiWAAY.net
========================================================================
Whom computers would destroy, they must first drive mad.



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20070712142227.GB7189>