This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Bug in setup.exe 2.194.2.24


On Mon, 22 Apr 2002 13:55:41 +0100 Cliff Hones <cliff@aonix.co.uk> 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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]