Disable YUM fastestmirror timeouts


The fastestmirror plugin for yum is supposed to make updates and installations faster right? What if you have to wait for a fastestmirror timeout before yum continues installing?

More like slowestmirror


If all the mirrors are timing out and appear dead because of some network issue such as a restricted firewall or proxy, the wait is painful.

Get Verbose

Turn on verbosity first. Edit /etc/yum/pluginconf.d/fastestmirror.conf and set verbose=1 then try updating or installing a package.

After a short delay you should start to see responses from all the mirrors.

If you’ve just got a few timing out, just add exclude’s to the configuration file so it skips them. Conversely, you can add a whitelist of the fastest responders to speed things up.

Fastestmirror timeout still?

If your firewall or proxy is completely blocking the fastestmirror plugin because it’s ignoring http_proxy style environtment variables and your proxy setting in yum.conf, then you’re pretty much out of luck with this plugin.

You can’t remove the package because of dependencies, so just turn it off in the config. Edit /etc/yum/pluginconf.d/fastestmirror.conf and set enabled=0

enabled=0

If you’re behind a proxy and don’t have yum configured yet, try adding your proxy to yum.conf first.

proxy=http://192.168.1.2:8000/


Posted on October 26th, by admica in networking.

Leave a Reply

Your email address will not be published. Required fields are marked *


*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">