slow mirror workaround?

Ahmad Samir ahmadsamir3891 at gmail.com
Sun Feb 9 15:39:59 UTC 2014


On 8 December 2013 03:45, Felix Miata <mrmazda at 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/
> --
> test mailing list
> test at lists.fedoraproject.org
> To unsubscribe:
> https://admin.fedoraproject.org/mailman/listinfo/test
>



-- 
Ahmad Samir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/test/attachments/20140209/3c298e52/attachment.html>


More information about the test mailing list