From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9489 invoked by alias); 22 Apr 2002 16:28:44 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 9454 invoked from network); 22 Apr 2002 16:28:42 -0000 Received: from unknown (HELO barry.mail.mindspring.net) (207.69.200.25) by sources.redhat.com with SMTP; 22 Apr 2002 16:28:42 -0000 Received: from 1cust236.tnt3.sea1.da.uu.net ([63.36.217.236] helo=mchase-compaq) by barry.mail.mindspring.net with esmtp (Exim 3.33 #1) id 16zgg4-0003F2-00; Mon, 22 Apr 2002 12:28:33 -0400 Date: Mon, 22 Apr 2002 09:28:00 -0000 From: Michael A Chase Subject: Re: Bug in setup.exe 2.194.2.24 To: Cliff Hones , Robert Collins , cygwin@cygwin.com MIME-Version: 1.0 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII Content-Disposition: INLINE References: <007101c1e9fd$02940fa0$cd8a9dc0@uk.aonix.com> In-Reply-To: <007101c1e9fd$02940fa0$cd8a9dc0@uk.aonix.com> Reply-To: Michael A Chase Message-Id: X-SW-Source: 2002-04/txt/msg01204.txt.bz2 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/