delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/07/25/21:19:15

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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, 25 Jul 2005 21:18:55 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Luke Kendall <luke DOT kendall AT cisra DOT canon DOT com DOT au>
cc: cygwin AT cygwin DOT com
Subject: Re: Download Incomplete. Try again?
In-Reply-To: <20050726005246.6F0C28355D@pessard.research.canon.com.au>
Message-ID: <Pine.GSO.4.61.0507252113490.29111@slinky.cs.nyu.edu>
References: <20050726005246 DOT 6F0C28355D AT pessard DOT research DOT canon DOT com DOT au>
MIME-Version: 1.0

On Tue, 26 Jul 2005, Luke Kendall wrote:

> I'm currently trying to find out why a recent copy of a cygwin mirror
> causes the "Download Incomplete.  Try again?" error in setup.exe.  The
> md5 checksums on each file within the download is good (we check them
> against the md5.sum file in each package directory).  But still we get
> the above error.
>
> Is there a way to test if a downloaded cygwin will cause the "Download
> Incomplete.  Try again?" error, except by running setup.exe?

Yes, there is.  There is no magic in setup.exe (well, not much, in any
case).  Check the filenames, file sizes and md5sums against setup.ini, not
the md5.sum files.

> By looking through the mailing list archives, I got the impression that
> this happened when the setup.ini file got out of sync with the
> collection of packages - but Christopher explained that setup.ini only
> gets updated occasionally.

Exactly.

> And I can confirm that: many of the package versions in setup.ini don't
> match the versions of the packages present, even in stable and
> installable cygwin mirrors.
>
> Is that because setup.ini gets updated manually?

Probably yes.  If the mirroring process catches the main Cygwin repository
in a state where a package is uploaded, but setup.ini hasn't been updated,
the repository will be in an inconsistent state.

> Would you like me to try to design an easy system to regenerate it
> automatically when packages are updated?  (I'm imagining a tree of
> per-package description parts which change infrequently, and a script
> which adds the file size and md5 sig automatically.  Perhaps it should
> even be a Makefile.)

Eh?  There's more to it than that -- setup.ini also has versions, etc.

> [snip email about setup.ini size/md5sum mismatch (with raw e-mail
> addresses, I might add)]
>
> But is that the cause of the problem?

Yes.

> If not, does anyone know what the real problem is?
>
> If the only way is by running setup.exe, is that unlikely to damage an
> older, working Cygwin install?

If you run setup in download mode, you will not affect the existing
install.
HTH,
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019