delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/09/03/11:16:46

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
From: "Dave Korn" <dk AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: Keeping a local mirror up to date
Date: Fri, 3 Sep 2004 16:14:09 +0100
MIME-Version: 1.0
In-Reply-To: <20040903142645.40854.qmail@web52201.mail.yahoo.com>
Message-ID: <NUTMEGu5a3vAT2RH3vf0000114b@NUTMEG.CAM.ARTIMI.COM>
X-OriginalArrivalTime: 03 Sep 2004 15:14:10.0296 (UTC) FILETIME=[A9E37780:01C491C8]

> -----Original Message-----
> From: Keith Christian 
> Sent: 03 September 2004 15:27
> To: Dave Korn

  Oops!  We should always keep questions and replies on the list - that way
they're there in the web archive for anyone else in future who comes along
with the same problem....

> Thanks - one more question - What if the mirror the original 
> mirror was
> created from is temporarily unavailable?
> 
> Example: This morning, the previous mirror was not available:
> 
> cygwin_install/dist/ftp%3a%2f%2fftp.nas.nasa.gov%2fmirrors%2fc
> ygwin.com%2fpub%2fcygwin
> 
> So I chose mirrors.kernel.org which created this directory:
> cygwin_install/dist/ftp%3a%2f%2fmirrors.kernel.org%2fsources.r
> edhat.com%2fcygwin
> 
> 
> Further:
> 
> 1. Suppose the local download directory of ftp.nas.nasa.gov 
> had version 1.1 of
> package foo.
> 
> 2. Suppose another local download directory of 
> ftp.nas.nasa.gov had a more
> recent version 1.2 of package foo.
> 
> 3. Suppose package foo is still at version 1.2 on any up to 
> date Cygwin
> mirror.
> 
> Then: Does SETUP.EXE check all existing local directories to see which
> contains the most up to date version of a file before 
> bothering to download it
> again? 

  Yes.

>  Does SETUP.EXE check only the local directory that 
> matches the mirror
> it is currently connected to?

  No.

  By design, setup searches through all the download directories, keeps
track of all the versions, should know exactly what you've already got and
never re-download something you already have; if it ever does, it's a bug.

  There is one caveat: if setup dies - actually crashes or is killed -
part-way through downloading a whole series of packages, it may not have
updated its catalog by the time it gets terminated, and so it might download
them again.  But once setup has downloaded and exited successfully, it
should know and remember what it's done and not do it again.

    cheers, 
      DaveK
-- 
Can't think of a witty .sigline today....


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