yum-presto occasionally goes into "eternal" loop looking for deltas

Jonathan Dieter jdieter at gmail.com
Thu Jan 7 19:19:14 UTC 2010


On Thu, 2010-01-07 at 20:44 +0200, Pekka Pietikainen wrote:
> Presto is one of the best things ever, but occasionally it ends up not
> finding the delta files from any of the mirrors in the mirror list and just
> loops through them without making any progress. --disablepresto works 
> a-ok, I think yum clean all; yum update also did the trick once.
> 
> Still, this can probably be made a lot better. It shouldn't do that even if the mirrors
> are out-of-sync. Maybe add some logic that just disables
> presto if the deltas are nowhere to be found after a few attempts? Anyone
> else even see this happen?

Yeah, see https://bugzilla.redhat.com/show_bug.cgi?id=540140.  To
summarize, the problem is that new updates have been pushed to the
server between the time you loaded primary.sqlite and prestodelta.xml.

When you run 'yum clean metadata' or 'yum clean all' it removes the
outdated cached primary.sqlite and downloads the newer version.

The bug has been closed as WONTFIX because there have only been a few
reports; I wouldn't mind revisiting that decision if someone has a
clever way of fixing it. (And I'm not convinced that checking n mirrors
and then giving up is the solution.)

Jonathan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20100107/ab04039c/attachment.bin 


More information about the devel mailing list