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

Re: http.debian.net hash sum mismatch



On Feb 3, 2014, at 8:37 PM, Scott Ferguson <scott.ferguson.debian.user@gmail.com> wrote:

> Mirrors were updating a couple of days ago.... and if you tried to use
> one during the updating period you would get errors. Could be the problem.

What would it take to make a mirror update atomically?  For example, download all the updates, get everything staged and ready to go but not yet visible to http clients, then at the flip of a switch, have all the updates become visible at once, perhaps with some kind of a "callback" to the currently active clients to tell them that things have changed and they should re-get everything.  Maybe LVM snapshots would be helpful here?

It would require some re-thinking of the protocol used by apt-get/aptitude -- to be sure the stuff you just downloaded is still current and hasn't been changed by an update while you were downloading...  and minimize wasted effort by recognizing an update as early as possible.

Just a thought...

Rick

Reply to: