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 Date: Mon, 22 Apr 2002 09:28:01 -0700 (Pacific Daylight Time) From: Michael A Chase Subject: Re: Bug in setup.exe 2.194.2.24 To: Cliff Hones , Robert Collins , cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII Content-Disposition: INLINE References: <007101c1e9fd$02940fa0$cd8a9dc0 AT uk DOT aonix DOT com> In-Reply-To: <007101c1e9fd$02940fa0$cd8a9dc0@uk.aonix.com> Reply-To: Michael A Chase Message-Id: On Mon, 22 Apr 2002 13:55:41 +0100 Cliff Hones wrote: > Robert Collins wrote: > > So you are suggesting that in download mode it should not offer to > > upgrade any installed packages by default? Or that it should only offer > > upgrades for installed packages without cached files? > > The latter (approx) . I view it as offering downloads - not upgrades - > in download mode. (See below) > > > I'll happily accept a (reasonable) patch for the second case, but the > > first case also seems counter-intuitive to me. > > ... > > I'd like to remove the re-download facility completely. If a package > > file is corrupt, delete the local copy and then run setup. This makes > > setup simpler, for little cost. Setup won't keep partial files anyway, > > so the only form of corruption has to be network transit problems, and > > GPG signing would solve that too, and allow setup to detect and remove > > corrupt packages automatically. > > Ok - I'm prepared to be shot down in flames :-). Here's what I'd > like to see setup do - and I hope this is intuitive and reasonably > compatible with current behaviour. Apologies for the length... > > First, "Download from Internet". > > Assuming there's already a cygwin installation present, setup should > examine all packages installed and compare their versions with the > latest setup.ini files from the mirrors (downloading these first if > necessary). Any installed packages with higher current versions > available should be set to be upgraded by default. Dependencies > must be checked, and any other necessary packages should be > upgraded as necessary. Other packages should be placed in the 'keep' > state. "Download from Internet" shouldn't care in the least whether there is a Cygwin installation present or not. It should only care about the files in the local directory tree. Currently, if you install a file, it will then realize that version is present and not default to downloading it again. If you don't install, the chooser doesn't know about the version you downloaded so it will keep downloading it until it is installed. > Also, a "purge local directory" option would be wonderful. We are working on the infrastructure needed for it. -- Mac :}) ** I normally forward private questions to the appropriate mail list. ** Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.htm Give a hobbit a fish and he eats fish for a day. Give a hobbit a ring and he eats fish for an age. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/