Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: "Hannu E K Nevalainen" To: "Cygwin List" Subject: RE: i want to re-download all packages... how? Date: Thu, 22 Apr 2004 22:22:31 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit In-Reply-To: <6.1.0.6.0.20040422132732.03901008@127.0.0.1> > From: Larry Hall > Sent: Thursday, April 22, 2004 7:32 PM > > If you *really* want to download absolutely *everything*, just > > delete the entire contents of your local download directory and > > start again. _That_ is plain MEAN ;-) > Actually, I think that was his original problem. ;-) If you want > to make setup forget about what you have installed, you need to > remove the files in '/etc/setup'. This assumes the OP wants to > install everything too though, which isn't clear from the > original post. He wanted it on a cd/rw... IMO that implies _not_ installing it. Here's an easier way, assuming you have cygwin already installed. I suppose this could be the basis of a temporary(!?) deactivation of an entire cygwin installation (maybe even swapping from one cygwin version to another!); here we go: $ echo >/recyg.bat "cd \"$(cygpath -w /bin)\"" $ mount -m >>/recyg.bat Note that if you have this; $ echo $CYGWIN ... check_case:strict ... then you might have to launch CMD.EXE (or COMMAND.COM) like this; $ CMD.EXE Microsoft Windows C:\Program\Cygwin\bin> umount -A C:\Program\Cygwin\bin> mount c: on /cygdrive/c type system (binmode,noumount) d: on /cygdrive/d type system (binmode,noumount) e: on /cygdrive/e type system (binmode,noumount) run setup.exe, do whatever you like EXCEPT reinstall. For ease of restoration; do _NOT_ close the bash you have open. Note - *This* is why you shouldn't reinstall: you'll have bash+cygwin1.dll loaded, at least. Though, FWIW: Closing the bash session+rxvt/console isn't a problem; all you have to do is look up \recyg.bat and execute it. Given the above _NOT_ closed bash though; restoration is done thus: C:\Program\Cygwin\bin>..\recyg C:\Program\Cygwin\bin>mount c: on /cygdrive/c type system (binmode,noumount) d: on /cygdrive/d type system (binmode,noumount) e: on /cygdrive/e type system (binmode,noumount) C:\Program\Cygwin\bin>exit $ ...your previous cygwin is back again. /Hannu E K Nevalainen, B.Sc. EE - 59+16.37'N, 17+12.60'E ** on a mailing list; please keep replies on that particular list ** -- printf("LocalTime: UTC+%02d\n",(DST)? 2:1); -- --END OF MESSAGE-- -- 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/