[Yum-devel] mirrorlist not working on our own repository

James Antill james at fedoraproject.org
Thu Dec 10 14:19:07 UTC 2009


On Thu, 2009-12-10 at 14:14 +0800, Thomas Goirand wrote:
> Seth Vidal wrote:
> > 
> > 
> > On Wed, 9 Dec 2009, Thomas Goirand wrote:
> > 
> >> Now, one more question. Even if there's one of our mirrors on the same
> >> subnet, on the same data center, yum uses that mirror on the other side
> >> of earth. What's the way that yum uses to guess who's the fastest? How
> >> come yum always picks-up our very slow and far Malaysian mirror, which
> >> is ftp://601.apt-proxy.gplhost.com ?
[...]
> Well, it IS installed in my server, and that is what is concerning me.
> 
> -bash-3.2# yum search fastestmirror
> Loaded plugins: fastestmirror
> Loading mirror speeds from cached hostfile
>  * addons: mirror.nus.edu.sg
>  * base: mirror.nus.edu.sg
>  * extras: mirror.nus.edu.sg
>  * gplhost-archspecific: 601.apt-proxy.gplhost.com
>  * gplhost-noarch: 601.apt-proxy.gplhost.com
> 
> Is there something I should do on my repository to have the
> fastestmirror plugin work? Or on the client?

 I think I know the problem, you only have ftp hosts. Run this:

% cat <<EOL >> /etc/yum/plugins.d/fastestmirror.conf

downgrade_ftp = false
EOL

...fastestmirror should handle that case better, but http is the norm.
now so we didn't think of it.



More information about the Yum-devel mailing list