Up2date replacement

Willem Riede wrrhdev at riede.org
Thu Dec 8 00:46:47 UTC 2005


On 12/07/2005 07:33:30 PM, Don Springall wrote:
> Could not get your "bestmirror" to work. Got below when running. Code is  
> from your attachment at  
> http://lists.dulug.duke.edu/pipermail/yum-devel/attachments/20051205/0ce4a991/bestmirror.py
> Traceback (most recent call last):
>  File "/usr/bin/yum", line 29, in ?
>    yummain.main(sys.argv[1:])
[snip]
>  File "/usr/lib/yum-plugins/bestmirror.py", line 96, in read_timedhosts
>    host, time, age = line.split()
> ValueError: need more than 2 values to unpack

Ah, I hadn't considered that, but if you've run fastestmirror before, you'll  
need to delete "/var/cache/yum/timedhosts.txt" before trying bestmirror (and  
when you switch back, if you do). I guess I should have used a different  
filename :-(

Thanks, Willem Riede.




More information about the fedora-test-list mailing list