On 8 December 2013 03:45, Felix Miata <mrmazda@earthlink.net> wrote:
On 2013-04-23 04:43 (GMT-0500) Kamil Paral composed:


Trying to yum upgrade 19 is stuck on a mirror with no useful throughput. What
kind of workaround for this is available? Nothing jumps at me in the yum man
page. How do I specify to use a particular mirror know to work?

If the speed is below some threshold, yum should blacklist the mirror and use a different one

Yum doesn't bother to show URL of inept mirror in use. How do I figure out which to blacklist?



I know this is an old thread.

Try setting the env var URLGRABBER_DEBUG=1, e.g. 'URLGRABBER_DEBUG=1 yum install foo', it gives a huge amount of extra debug output; the point is it shows the mirror yum picked to download a package.
 
next time. If you don't have the patience, try hitting Ctrl+C during the download. Ideally this should switch to a different mirror (but I'm not sure if this functionality wasn't removed).

Not happening.


Of course, you can also edit /etc/yum/*.repo and hardcode some fast mirror near you:
https://mirrors.fedoraproject.org/

>From looking at these repo files, it's non-obvious how to deviate from the standard configuration's use of variables.


But that doesn't guard you against outdated mirrors, and doesn't provide fallback if your chosen mirror is down.
--
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



--
Ahmad Samir