X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: <4AFCA4BD.4000204@gmail.com> Date: Fri, 13 Nov 2009 00:13:49 +0000 From: Dave Korn User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Suggestion: Have setup.exe warn before upgrading 'cgywin' package itself References: <26327934 DOT post AT talk DOT nabble DOT com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Karl M wrote: >> Date: Thu, 12 Nov 2009 14:46:12 -0800 >> Currently when upgrading the base 'cygwin' package, the installer only warns >> you midway through the installation after some files have been >> removed/replaced. >> >> If you have other cygwin processes running, you may be left in an incomplete >> state where you can't or don't want to kill the other cygwin processes >> leaving you stuck in the middle of install while you wait to be able to >> finish or kill the existing cygwin processes. Even worse, several core >> cygwin utilities are now broken (such as 'ps') due to the partial install. >> >> I have done this inadvertently a couple of times when 'cygwin' gets thrown >> in as a part of another intentioned download. > If you buy the retail box version, it says right on the front cover don't do that. > > :-) ROFL. This problem happened to me once. I think it arises from setup.exe's dual nature as an install/update-everything tool vs. its usage as a add/remove programs/package manager. I'm planning on implementing an "add/remove programs" mode controlled by a command-line switch, that basically skips over all the screens (as if in unattended mode) except for the package chooser. That way you can keep a couple of shortcuts to it (maybe in the startmenu group?), one called "Cygwin System Updater" that runs setup.exe as normal, and another called "Add/Remove Cygwin Packages", that runs it with this new option. I'm doing this for a private project but I'll feed it back upstream when I get a spare moment(*). cheers, DaveK -- (*) - Yep, haven't forgotten about the couple of other patches I'm half-way through revising. -- 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