From owner-freebsd-questions@FreeBSD.ORG Thu Jul 12 19:31:17 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6203D16A421 for ; Thu, 12 Jul 2007 19:31:17 +0000 (UTC) (envelope-from fbsd06@mlists.homeunix.com) Received: from mxout-03.mxes.net (mxout-03.mxes.net [216.86.168.178]) by mx1.freebsd.org (Postfix) with ESMTP id 3C33C13C459 for ; Thu, 12 Jul 2007 19:31:17 +0000 (UTC) (envelope-from fbsd06@mlists.homeunix.com) Received: from gumby.homeunix.com. (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id B0B6F5197D for ; Thu, 12 Jul 2007 15:31:15 -0400 (EDT) Date: Thu, 12 Jul 2007 20:31:10 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20070712203110.07aa3baf@gumby.homeunix.com.> In-Reply-To: <200707121142.10689.freebsd@dfwlp.com> References: <200707120846.26845.freebsd@dfwlp.com> <20070712105343.60251d12.bsd-unix@earthlink.net> <200707121142.10689.freebsd@dfwlp.com> X-Mailer: Claws Mail 2.9.2 (GTK+ 2.10.13; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: /usr/ports/packages cleanup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2007 19:31:17 -0000 On Thu, 12 Jul 2007 11:42:10 -0500 Jonathan Horne wrote: > On Thursday 12 July 2007 09:53:43 Randy Pratt wrote: > > On Thu, 12 Jul 2007 08:46:26 -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? > > > > I use "portsclean -P" to clean out /usr/ports/packages. Perhaps it > > is what you're looking for. > > > > Randy > > well this is my build server as well as my workstation, so i have > many packages that ive built that i require for my servers, that > might not be installed on my workstation. portsclean -P would > probably purge off a lot of things that i still need. It's only supposed to clean out-of-date packages.