[CentOS-devel] yum and fastestmirror

Wojciech Pilorz wpilorz at gmail.com
Tue Jun 17 23:52:16 UTC 2008

On Wed, Jun 18, 2008 at 1:05 AM, Karanbir Singh <mail-lists at karan.org> wrote:
> Wojciech Pilorz wrote:
>> If I run yum-fastestmirror in such environment,
>> /var/cache/yum/timedhosts.txt
>> contains 99999999999 in each entry (as direct connect to remote site
>> always fails).
>> So yum still does work, just the timing information is useless.
> This is interesting, so fastest mirror is unable to connect to a remote host
> where yum itself is able to connect to the same machine with no change in
> proxy knowledge ?
> Is that what you are saying here. If so, I'd really like to look into this.
Yes. It seems fastestmirror tries to just open connection to the host machine,
without using proxy protocol , while yum connects to the proxy server
as proxy config lines defines.
And the firewall does not allow direct connections to the outside world.

>> It seems CentOS mirrorlist returned to yum contains not more than 10-15
>> entries, so this should not be a problem (if the number of mirrors
>> yum gets is always that low on CentOS).
> The centos mirrorlist side will try and give you a small set of mirrors,
>  all of which should work for your given IP.
That is very cool!

Best regards,


More information about the CentOS-devel mailing list