delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/05/04/05:47:14

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=3.9 required=5.0 tests=AWL,BAYES_20,RCVD_IN_JMF_BL,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: "cygwin" <cygwin AT cygwin DOT com>
Message-ID: <1272966412.57dafeb686ba4ddf8ae3b108dd3d0064.hzgmaxwell@sohu.com>
Subject: Re: How to remove those previously downloaded packges?
Date: Tue, 04 May 2010 09:46:52 GMT
MIME-Version: 1.0
X-Sohu-DeliverStatus: <1272966412 DOT 57dafeb686ba4ddf8ae3b108dd3d0064 DOT hzgmaxwell AT sohu DOT com>
X-SHIP: 147.243.236.60
From: hzgmaxwell AT sohu DOT com
MIME-Version: 1.0
X-SOHU-Antispam-Bayes: 0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

It's good to hear that you ever had same requirement with me.
I run your script, unfortunately, I'm disappointed as soon as I have a quick loop of the output, see the alternatives and bash.

release/alternatives/alternatives-1.3.30c-2.tar.bz2
X release/alternatives/alternatives-1.3.30c-3.tar.bz2
release/ash/ash-20040127-4.tar.bz2
X release/base-files/base-files-3.7-1.tar.bz2
X release/base-passwd/base-passwd-2.2-1.tar.bz2
X release/bash/bash-3.2.48-21.tar.bz2
release/bash/bash-3.2.49-22.tar.bz2

Anyway, setup.ini is a good clue to check old versions. But my concern is still there.

To clear old packages with script depends too much on packages' name.

While for setup.exe, it is very easy, it can just empty a directory before downloading a relevant package to the directory.



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

- Raw text -


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