How To Configure Yum To Exclude A Mirror
- font size decrease font size increase font size
- Print Email
Many of us have suffered from failing package repository mirrors. Some are slow, some won't have updated content, etc. You might want to remove/blacklist a particular mirror in your yum configuration.
Before trying to remove a mirror, install the fastest mirror plugin.
yum install yum-fastestmirror -y
The fastest mirror plugin is capable of determining mirror speeds and cache it. If that works for you well and good.
If not, manually exclude a mirror in /etc/yum/pluginconf.d/fastestmirror.conf. Use the exclude variable and set its value to the URL to be blacklisted.
Example
exclude = fedora.iitm.ac.in
Last modified onSunday, 14 October 2012 04:07
Notice: Only variables should be assigned by reference in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 478
back to top