Re: Up2date replacement

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

 



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:])
 File "/usr/share/yum-cli/yummain.py", line 92, in main
   result, resultmsgs = do()
 File "/usr/share/yum-cli/cli.py", line 472, in doCommands
   return self.updatePkgs()
 File "/usr/share/yum-cli/cli.py", line 950, in updatePkgs
   self.doRepoSetup()
 File "/usr/share/yum-cli/cli.py", line 72, in doRepoSetup
   yum.YumBase.doRepoSetup(self, thisrepo=thisrepo)
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 239, in doRepoSetup
   self.plugins.run('postreposetup')
 File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 159, in run
   func(conduitcls(self, self.base, conf, **kwargs))
 File "/usr/lib/yum-plugins/bestmirror.py", line 78, in postreposetup_hook
   read_timedhosts()
 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


From: Willem Riede <wrrhdev@xxxxxxxxx>
Reply-To: For testers of Fedora Core development releases <fedora-test-list@xxxxxxxxxx>
To: fedora-test-list@xxxxxxxxxx
Subject: Re: Up2date replacement
Date: Thu, 08 Dec 2005 00:03:53 +0000

On 11/26/2005 10:55:12 AM, seth vidal wrote:
> On Sat, 2005-11-26 at 15:50 +0000, Willem Riede wrote:
> > On 11/26/2005 10:18:45 AM, seth vidal wrote:
> > > On Sat, 2005-11-26 at 15:10 +0000, Willem Riede wrote:
> > > >
> > > > Perhaps I should file a yum RFE to make yum not only select mirrors > > > > for access speed, but also for the recentness of their metadata file?
> > >
> > > what we had considered was using the fastest mirror plugin to sort the
> > > list of mirrors. Then store that sorted list in the repo cache
> > > directory. Then redownload the list and re-sort/store it every 8 hours
> > > or so, same as how we're storing the repomd.xml data, now.
> >
> > So is something like that going to happen, or do I need to give an extra
> > (RFE) nudge?  :-)
>
> an rfe is not going to nudge anything. Submitting the code is going to
> make it happen faster.

So I posted a variant to the fastestmirror plugin that does what I described
here:
https://lists.dulug.duke.edu/pipermail/yum-devel/2005-December/001715.html
but so far noone has reacted to it there - maybe the fedora community has more
interest?

Regards, Willem Riede.



--
fedora-test-list mailing list
fedora-test-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-test-list

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]