Description of problem: To make this request more specific - mirror.cpsc.ucalgary.ca is "pretty local" here so it tends to show up with the best time in /var/cache/yum/timedhosts.txt when yum-fastestmirror plugin is used. That is nice but the problem is that if your machine will get qualified as an "outsider" (no idea what criteria are used but from results this obviously happens) then that mirror limits a bandwidth to that extent that it becomes unusable. Download speeds are 4kB/sec or lower. Otherwise this mirror is really fast if you will happen to fall into an "inner circle". In such situation one can edit /var/cache/yum/timedhosts.txt and put a lot of 9's in mirror.cpsc.ucalgary.ca entry and this helps - until the next time a timing file will get refreshed. It would be really useful if one could mark a speficic mirror in /etc/yum/pluginconf.d/fastestmirror.conf as "dead" and that would be honoured on a rewrite of timedhosts.txt. Other mirrors may have the same property but I do not normally "see" those because for me they show up with longer access times.
Luke: Comments please
I added an 'exclude' configuration option to fastestmirror. http://devel.linux.duke.edu/gitweb/?p=yum-utils.git;a=commitdiff;h=378eabfecc3e4263251f77d89bc0dba18d057ca4 Will that do the trick, Michal?
You can test out the latest version here: http://devel.linux.duke.edu/gitweb/?p=yum-utils.git;a=blob_plain;f=plugins/fastestmirror/fastestmirror.py;hb=HEAD
> Will that do the trick, Michal? Scanning through the code it appears that this would be the case. Thanks! Only a syntax of this option is not that clear. Is it possible to provide a list of mirrors to exclude? If yes then in what format? Are multiple "exclude=" cummulative or the last one overrides? I will try "live tests" somewhat later. To add some excitment to that what shows up in timedhosts.txt is not static. :-)
I just committed support for multiple excludes. http://devel.linux.duke.edu/gitweb/?p=yum-utils.git;a=commitdiff;h=5cf2afa03f5fedeb45d7cde6e5dec60052c4ab74 It now supports multiple comma or space delimited excludes. For example: In your fastestmirror.conf: exclude=.gov, facebook Yields: Determining fastest mirrors * livna-development: rpm.livna.org * updates-testing: 192.168.0.131 * livna: rpm.livna.org * fedora: 192.168.0.131 Excluding mirrors: mirror.anl.gov Excluding mirrors: fedora.mirror.facebook.com * updates: srl.cs.jhu.edu
I tried the latest version from HEAD and, AFAICS it works fine. Thanks! 'mirror.cpsc.ucalgary.ca' did not show up on a mirror list at this particular moment so even if it was present as an "exclude" in that plugin configuration file the following was printed for me: Determining fastest mirrors * livna: rpm.livna.org * fedora: www.muug.mb.ca * updates: www.muug.mb.ca * local-updates: net
yum-utils-1.1.9-1.fc8 has been pushed to the Fedora 8 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update yum-utils'
yum-utils-1.1.9-1.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update yum-utils'
It is very nice that yum-utils-1.1.9-1.fc{7,8} were pushed on 2007-12-07 to testing repository but they seem to be stuck there. Any chance that they will get released? So far only rawhide is at yum-utils-1.1.9-1.fc9.
yum-utils-1.1.9-1.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report.
yum-utils-1.1.9-1.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report.