Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: Date: Fri, 3 Sep 2004 19:02:47 -0400 From: Robert Pendell Reply-To: Robert Pendell To: cygwin AT cygwin DOT com Subject: Re: Keeping a local mirror up to date In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <20040903142645 DOT 40854 DOT qmail AT web52201 DOT mail DOT yahoo DOT com> X-IsSubscribed: yes You can also do what I do. Run rsync and sync up with a mirror. The way I have it configured takes a little but at most maybe about 30 minutes to update every so often. Depends on what has been updated. My sync deleted outdated files (ones that don't need to be there) and downloads new files. It also does checksum runs on the files. On Fri, 3 Sep 2004 16:14:09 +0100, Dave Korn wrote: > > -----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/ > > -- Robert Pendell shinji257 AT gmail DOT com Freeipods.com & FreeFlatScreens.com Conga Lines http://shinji.chaosnet.org/phpBB2 -- 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/