Up2date replacement

Panu Matilainen pmatilai at laiskiainen.org
Mon Nov 28 06:57:16 UTC 2005


On Sun, 27 Nov 2005, Don Springall wrote:
>> From: seth vidal <skvidal at phy.duke.edu>
>> Reply-To: For testers of Fedora Core development releases 
>> <fedora-test-list at redhat.com>
>> To: For testers of Fedora Core development releases 
>> <fedora-test-list at redhat.com>
>> Subject: Re: Up2date replacement
>> Date: Sun, 27 Nov 2005 17:22:44 -0500
>
>> > Well, here's a quick-n-dirty proof of concept version of fastestmirror
>> > with persistent cache of mirror response times:
>> > 
>> http://laiskiainen.org/yum/plugins/fastestmirror/fastestmirror-persistent.py
>> >
>> > Certainly makes a big difference, a no-op 'yum update' on my system is
>> > around 11s when all mirrors are timed on each run, with the above
>> > version the consecutive runs come down to ~5s.
>> 
> Well I gave your plugin a spin, seems to work as advertised, however saw this 
> message:
> http://mirrors.kernel.org/fedora/core/development/i386/repodata/primary.xml.gz: 
> [Errno -1] Metadata file does not match checksum
> Trying other mirror.
>
> Is this an indication that  the first mirror picked was out of date with the 
> repo file from Fedora ?

Yep, that's business as usual, the plugin sorts the mirrors based on speed 
and doesn't know anything about them being up to date or not. In the above 
case yum just goes to the second fastest mirror when the fastest one 
doesn't work.

 	- Panu -




More information about the fedora-test-list mailing list