Checking a mirror is complete (Was: Re: diff: Resource temporarily unavailable)

Luke Kendall luke.kendall@cisra.canon.com.au
Tue Jun 10 08:31:00 GMT 2008


On 10 Jun, luke wrote:
>  Larry Hall (Cygwin) wrote:
[...snip]

> > Why not install a new cygwin (and diff if necessary) package and check it
> > out for yourself?  As long as you have the original versions for the
> > newer package(s), you can always reinstall them if you don't like what
> > you see.
>  
>  Okay.
>  
>  <grumble>Now to find a mirror with a complete Cygwin.  Sadly, one must 
>  download the whole Cygwin mirror and then check it, because no mirror 
>  site runs the md5cygchk script I posted here a year or two ago.</grumble>
>  
>  Hmm, maybe it's not too bad using rsync - we may just be able to fetch 
>  the missing few dozen files.  Hmm, if that does work, we should be able 
>  to automate to rsync from several servers routinely, to construct a 
>  union from several sites that are each >99% complete.

Yes, this is what we'll try:

 - rsync, *not* additively (i.e. with deletions) from our chosen main
   mirror site (currently incomplete for about 2 months),
 - run md5cycgchk on our local mirror
 - if that shows an incomplete mirror:
   - rsync *additively* from another site
   - run md5cygchk on the result.
   - Maybe repeat once or twice with other sites if still needed
     (i.e. mirror still incomplete).

This way obsolete packages will eventually get pruned when the main
mirror site gets corrected, and even if one or a few sites don't mirror
properly from cygwin.com, even for a long time, we can still create a
complete mirror (with high probability).

luke

PS: 
md5cygchk is just a script that checks if all packages are present and
correct according to the md5sum files, and records the result in a
success or fail text file that can be checked for: even from a dumb
Windows batch file.



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



More information about the Cygwin mailing list