delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/07/20/22:02:40

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: Wed, 20 Jul 2005 22:02:11 -0400
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: MD5 checksum question
Message-ID: <20050721020211.GB21521@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
References: <20050721011326 DOT 9EB2A83CB3 AT pessard DOT research DOT canon DOT com DOT au>
Mime-Version: 1.0
In-Reply-To: <20050721011326.9EB2A83CB3@pessard.research.canon.com.au>
User-Agent: Mutt/1.5.8i

On Thu, Jul 21, 2005 at 11:13:26AM +1000, Luke Kendall wrote:
>Does it matter that the top-level setup.ini (that duplicates the MD5
>checksums of each package's md5.sum file), does *not* do the same thing
>for the setup.hint file in each package directory?  I assume the
>duplication is to allow the detection of the race condition (mentioned
>below).
>
>I only noticed while updating my md5cygchk mirror-checker, to detect the
>case where all package md5.sum files are correct but the top-level
>setup.ini file is out of sync with the packages below.

Right.  setup.ini is only updated at regular intervals.  It doesn't
get updated on a continuous basis.  So, there will be times when
the md5sums (and version and sdesc and ldesc and tar ball) in setup.ini
do not match setup.hint.

>(This happens if you rsync a mirror site while the site is being
>updated.  It leads to the setup.exe error: 
>"Download Incomplete.  Try again?")
>
>I'm assuming the lack of a setup.hint line in each package's entry in
>setup.ini doesn't matter.

The setup.hint file is what is implicitly placed into the setup.ini
file.  Somehow adding an md5sum for setup.hint into setup.ini doesn't
make any sense.  setup.hint isn't intended for use by anything other
than the process which constructs setup.ini.  There is no reason to
expose an external md5sum for setup.hint.

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