On 2014-02-09 17:39 (GMT+0200) Ahmad Samir composed:
Felix Miata composed:
Yum doesn't bother to show URL of inept mirror in use. How do I figure out
which to blacklist?
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.
After doing that, what next?
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.
This time Ctrl-C and immediate repeat worked a charm. Is it a normally OK
thing to do? Isn't there some way to configure Yum to see when ETA on a
package is and stays beyond reasonable length to try some other mirror?
Details: 9 packages selected to download and install. First 8 downloaded in
mere seconds. Last of the bunch kept producing ETAs in the 10-20 minute
range, so after a few minutes, I aborted, and within mere seconds of restart
all 9 were done installing.
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@lists.fedoraproject.org
To unsubscribe:
https://admin.fedoraproject.org/mailman/listinfo/test