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

Thomas Goirand thomas at goirand.fr
Fri Dec 11 07:35:17 UTC 2009


James Antill wrote:
>> 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.

I've added http to most of our repositories now, and it's working
perfectly. Thanks for taking the time to answer me here, it is much
appreciated.

Thomas


More information about the Yum-devel mailing list