delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/06/17/00:51:05

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

On Tue, Jun 16, 2009 at 11:01:15PM -0400, Ralph Hempel wrote:
>Christopher Faylor wrote:
>>>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.
>
>Right.  But I do want to keep only the most current versions.

You may, but the OP said:

"Perhaps delete:

	bash-3.2.25-17
	bash-3.2.33-18
	bash-3.2.39-19

and keeping the two most recent updates."

>Not to belabour the point, but if you do a "Download to local
>directory" and then do "Install from local directory" like I do, after
>a few months your local directory has _many_ incremental versions of
>the download files.

Then you get what you paid for.

>>> <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".
>
>Should it keep only the current .bz2 files if you _download_ from
>the Internet?

That's what I meant, yes.  I think many people don't understand that
those files don't need to be there and since we advocate using
just the straight install from internet, we probably should be nice
and delete the files.

It is also a lot easier to delete files than it is to have setup.exe
iterate over an old directory structure looking for files that could
be arbitrarily called out-of-date.

I really think that if you want to cleanup your download directory
other than that you should use a tool to do it.

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019