[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: package servers inconsistent?



On Wed, May 02, 2001 at 04:53:03PM -0400, Matt Zimmerman wrote:
> > Maybe its too difficult to provide consistent package files for the short
> > window while the mirror updates are running. No cons.
> > 
> > But is it possible to set some kind of flag to indicate that I am probably
> > downloading just some inconsistent files and that I should wait till the
> > update of the mirror is complete? I have no problem with waiting, but
> > currently I can just try and check whether there was an error.
> 
> It would be pretty simple to create a file to indicate this condition,
> which could be tested for when doing an update.  However, I don't see how
> it would provide any additional information over the error messages from
> missing packages.

A lock file called Archive-Update-in-Progress-`hostname -f` is used by the
ftpsync which is the canonical mirroring method; however, not all mirrors do
that, nor does any client program check for it.

I guess it wouldn't be hard to make a script to try wgetting such a file and
abort if successful and hook it up before apt-get somehow...

-- 
Digital Electronic Being Intended for Assassination and Nullification



Reply to: