Re: yum mirrors for fedora

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

 



On Tue, 2007-06-19 at 22:48 -0400, Tony Nelson wrote:
> At 5:38 PM -0600 6/19/07, kwhiskerz wrote:
> >I have noticed that I always get University of Sherbrooke in Québec and the
> >linux users group in Manitoba as my yum mirrors.
> >
> >They are soooo lame! I have tried to break them off to get a better mirror,
> >and what happens? I get one file, and then yum switches back to those other
> >two!
> >
> >I presume that they are being chosen because I live in Canada, but there are
> >other mirrors, many of them, that are much faster.
> >
> >How can I get yum to stop choosing lame mirros because of an apparent
> >proximity to my home and start using the fast mirrors?
>  ...
> 
> For FC6 and FC5 (not F7 yet -- I haven't installed F7), my stablemirror yum
> plugin uses the same mirror each time, as long as it is offered; makes
> Ctl-C work; and allows slow mirrors to be rejected temporarily or
> permanently without manual editing of its list of mirrors.
> <http://georgeanelson.com/stablemirror.htm>
> -- 
> ____________________________________________________________________
> TonyN.:'                       <mailto:tonynelson@xxxxxxxxxxxxxxxxx>
>       '                              <http://www.georgeanelson.com/>
> 

Hi Tony

Just to say I have tried Stablemirror on F7

(having used it with FC5 and 6 )

Looking forward to the next version !!!!!!!!

John

############################################################################
[root@naxos pluginconf.d]# yum --enable=livna install amule
Loading "installonlyn" plugin
Loading "stablemirror" plugin
stablemirror: the easily edited stablemirror file is "/var/cache/yum/stablemirro
rs"
stablemirror: no stablemirror file
Setting up Install Process
Parsing package install arguments
fedora                    100% |=========================| 2.1 kB    00:00
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in <module>
    yummain.main(sys.argv[1:])
  File "/usr/share/yum-cli/yummain.py", line 94, in main
    result, resultmsgs = base.doCommands()
  File "/usr/share/yum-cli/cli.py", line 264, in doCommands
    return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, sel
f.extcmds)
  File "/usr/share/yum-cli/yumcommands.py", line 134, in doCommand
    return base.installPkgs(extcmds)
  File "/usr/share/yum-cli/cli.py", line 435, in installPkgs
    self.pkgSack.matchPackageNames(arglist)
  File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 501, in <lambda>
    pkgSack = property(fget=lambda self: self._getSacks(),
  File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 382, in _getSack
s
    self.repos.populateSack(which=repos)
  File "/usr/lib/python2.5/site-packages/yum/repos.py", line 206, in populateSac
k
    sack.populate(repo, mdtype, callback, cacheonly)
  File "/usr/lib/python2.5/site-packages/yum/yumRepo.py", line 141, in populate
    if self._check_db_version(repo, mydbtype):
  File "/usr/lib/python2.5/site-packages/yum/yumRepo.py", line 198, in _check_db
_version
    if repo.repoXML.repoData.has_key(mdtype):
  File "/usr/lib/python2.5/site-packages/yum/yumRepo.py", line 684, in <lambda>
    repoXML = property(fget=lambda self: self._getRepoXML(),
  File "/usr/lib/python2.5/site-packages/yum/yumRepo.py", line 678, in _getRepoX
ML
    self._loadRepoXML(text=self)
  File "/usr/lib/python2.5/site-packages/yum/yumRepo.py", line 661, in _loadRepo                                                         XML
    cache=self.http_caching == 'all')
  File "/usr/lib/python2.5/site-packages/yum/yumRepo.py", line 565, in _getFile
    http_headers=headers,
  File "/usr/lib/python2.5/site-packages/urlgrabber/mirror.py", line 411, in url                                                         grab
    return self._mirror_try(func, url, kw)
  File "/usr/lib/python2.5/site-packages/urlgrabber/mirror.py", line 397, in _mi                                                         rror_try
    return func_ref( *(fullurl,), **kwargs )
  File "/usr/lib/python2.5/site-packages/urlgrabber/grabber.py", line 927, in ur                                                         lgrab
    return self._retry(opts, retryfunc, url, filename)
  File "/usr/lib/python2.5/site-packages/urlgrabber/grabber.py", line 845, in _r                                                         etry
    r = apply(func, (opts,) + args, {})
  File "/usr/lib/python2.5/site-packages/urlgrabber/grabber.py", line 922, in re                                                         tryfunc
    apply(cb_func, (obj, )+cb_args, cb_kwargs)
  File "/usr/lib/yum-plugins/stablemirror.py", line 363, in our_checkRepoXML
    if not self.local_repoXML:
AttributeError: 'YumRepository' object has no attribute 'local_repoXML'
[root@naxos pluginconf.d]#





[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux