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

Re: apt-get: 404s on update/install



On Fri, 2001-11-16 at 22:31, Karsten M. Self wrote:
> on Fri, Nov 16, 2001 at 11:05:41AM -0800, Brian Nelson (nelson@bignachos.com) wrote:
> > Craig Dickson <crdic@yahoo.com> writes:
> > 
> > > Karsten M. Self wrote:
> > > 
> > > > I'm getting problems with 404 codes on apt-get dist-upgrade or install
> > > > attempts, in particular, from http.us.debian.org.
> > > 
> > > I've seen that occasionally, but usually if I try again after an hour,
> > > everything's fine. The only exception to that was Wednesday evening this
> > > week, where the 404's persisted. I took Mozilla and went to look at a
> > > directory listing of the site, and indeed, the files that the package
> > > listed claimed were available simply weren't there.
> > > 
> > > Thursday evening, all went well. I'm surprised you're having this
> > > problem late Thursday night, assuming that you sent your mail after
> > > verifying that the problem was still present.
> > > 
> > > As to what causes this, I have no idea, but I think it could be
> > > prevented if the mirroring system made sure that the actual package tree
> > > was updated before the package list.
> > 
> > Word on the devel list was that the ftp-master (auric) went down in
> > the middle of a sync, and hence the inconsistencies.  Should be fixed
> > by now.
> 
> Hmm...
> 
> Any discussion on making syncs atomic, so that until a the update's
> completed, the old packages are available, and the old package files are
> authoritative?

Since new packages won't confuse apt-get why not just make sure that the
package files get transferred to the mirrors last?  This should solve
the problem simply and easily unless I'm missing something very obvious.

--mike




Reply to: