www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/05/04/01:59:53

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=3.1 required=5.0 tests=AWL,BAYES_05,RCVD_IN_JMF_BL,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: "cygwin" <cygwin AT cygwin DOT com>
Message-ID: <1272952773.71daf73d1e3548068a889fdb786391d1.hzgmaxwell@sohu.com>
Subject: How to remove those previously downloaded packges?
Date: Tue, 04 May 2010 05:59:33 GMT
MIME-Version: 1.0
X-Sohu-DeliverStatus: <1272952773 DOT 71daf73d1e3548068a889fdb786391d1 DOT hzgmaxwell AT sohu DOT com>
X-SHIP: 147.243.236.60
Reference: <1272943515 DOT 012273fd8dce4c8f9653a84215d660b7 DOT hzgmaxwell AT sohu DOT com>
In-Reply-To: <1272943515.012273fd8dce4c8f9653a84215d660b7.hzgmaxwell@sohu.com>
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-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

hi community,


Every time when I was installing a cygwin, I run the setup twice.
The first time is to download only, then the second is to install from local directory.

To doing like this is to keep the installed packages under a specified directory, then later on I can re-install from there if only I need to install cygwin again.

Now the problem is that the installer -- I mean setup.exe keeps those previously downloaded packages. For example, under gcc\gcc-core, there are two files as gcc-core-3.4.4-3.tar.bz2 and gcc-core-3.4.4-999.tar.bz2, actually as we know, gcc-core-3.4.4-3.tar.bz2 is a previously downloaded version, I want it to be removed when a new version is downloaded.

I had thought about writing a script to do the job, but I found it's not good idea, because it's not easy to find out all the old packages, it's subject to the naming convention.

I wonder if the installer could provide a feature to remove those old packages. Thanks for any hint or if there is already this kind of feature.



--
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