Re: Cygwin setup.exe: Clean historical setup packages

2010-05-05 Thread Uh-Oh
LiuYan 刘研 wrote: > > ... > I wish the local setup directory contains only newest packages so that I > can carry small-size packages to upgrade cygwin on servers which have no > internet connection. I'm currently delete the old packages manually, it's > a little boring and may cause dependency-

Update >>Re: My DIY solution Re: Cygwin setup.exe: Clean historical setup packages

2009-12-01 Thread LiuYan 刘研
update: added -p option, which will treat files listed in [prev] section of setup.ini as old. now, run ./cleanOldPackages_UTF8.sh -p -d will clean files listed in [prev] sectoin. download it from nabble.com: http://old.nabble.com/file/p26594254/cleanOldPackages_UTF8.sh cleanOldPackages_UTF8.sh

Re: My DIY solution Re: Cygwin setup.exe: Clean historical setup packages

2009-12-01 Thread Christopher Faylor
On Tue, Dec 01, 2009 at 07:15:43AM -0800, LiuYan ?? wrote: >Hi Christopher, I've figure out one reason in my first post: Our >servers have NO internet connection, so I'd better to keep a local copy >of install packages, so that I can upgrade cygwin on servers by choose >"Install from Local Dire

Re: My DIY solution Re: Cygwin setup.exe: Clean historical setup packages

2009-12-01 Thread LiuYan 刘研
Hi Christopher, I've figure out one reason in my first post: Our servers have NO internet connection, so I'd better to keep a local copy of install packages, so that I can upgrade cygwin on servers by choose "Install from Local Directory" setup type. There's another reason I don't want to talk ab

Re: My DIY solution Re: Cygwin setup.exe: Clean historical setup packages

2009-12-01 Thread Christopher Faylor
On Tue, Dec 01, 2009 at 04:31:48AM -0800, LiuYan ?? wrote: >After I viewed setup.ini, I decide to write a little script to do this. >Currently, it scans all the sub-directory of cygwin local package >directory, and delete all the old files which not listed in setup.ini >or setup-2.ini. You did

My DIY solution Re: Cygwin setup.exe: Clean historical setup packages

2009-12-01 Thread LiuYan 刘研
After I viewed setup.ini, I decide to write a little script to do this. Currently, it scans all the sub-directory of cygwin local package directory, and delete all the old files which not listed in setup.ini or setup-2.ini. Wish it can help someone like me. download it from nabble.com: http://o

Re: Cygwin setup.exe: Clean historical setup packages

2009-11-30 Thread Christopher Faylor
On Sun, Nov 29, 2009 at 07:19:07PM -0800, LiuYan ?? wrote: > >I'm using Cygwin for several years, it help me very much in my work. > >There's a tiny issue: after downloaded in several years, the total size of >my local setup packages directory had grown up to G bytes, while a fresh >setup packa

Cygwin setup.exe: Clean historical setup packages

2009-11-29 Thread LiuYan 刘研
I'm using Cygwin for several years, it help me very much in my work. There's a tiny issue: after downloaded in several years, the total size of my local setup packages directory had grown up to G bytes, while a fresh setup packages of mine are only <40M bytes. There are many historical setup pac