X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Tue, 16 Jun 2009 22:34:03 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Is there a script to remove old packages from local disk
Message-ID: <20090617023402.GB23097@ednor.casa.cgf.cx>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <80152cdc0906161159r2995c80bl3e0c8ffb1d938103@mail.gmail.com> <20090616191142.GA25409@ednor.casa.cgf.cx> <4A3819B1.3000906@bmts.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4A3819B1.3000906@bmts.com>
User-Agent: Mutt/1.5.19 (2009-01-05)
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Tue, Jun 16, 2009 at 06:16:17PM -0400, Ralph Hempel wrote:
>Christopher Faylor wrote:
>>You can just rm -r all of the directories that setup creates when
>>installing packages.  There is no reason to keep any of them around.
>
>I think he's talking about the old versions of the .bz2 files that live
>in the local download folders.

So am I.

>I may have a similar usage pattern in that I have a folder on my USB
>key that has all the packages, and when I get to a client machine that
>has no Cygwin and they let me install it, I just install from my local
>copy - no Internet, no problem.
>
>But those folders do fill up with old cruft after a while.

But you wouldn't want to keep different versions of bz2 files around in
that case.

><duck>
>
>Wouldn't it be nice if setup knew enough to remove the bz2 files for
>packages that were no longer current?
>
></duck>

No need to duck.  I think setup really should just delete the files
when it is done with them if you choose "install from internet".

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

