Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm sitting behind a proxy on my CentOS 6.4 box and I can't perform a 'yum update' because yum keeps killing the slow downloads and trying another mirror. The problem is that the way our proxy works with big files is it will download them fully to the proxy first, perform a virus scan, then forward them to the client (my CentOS box). While it's downloading to the proxy server the perceived transfer speed to my box seems to slow to a trickle.

Is there a way I can tell yum to not try other mirrors?

share|improve this question

1 Answer 1

Found the answer. The timeout yum uses before trying other mirrors can be set in the /etc/yum.conf file. The default is 30 (seconds). I set mine to 300 and yum was successfully able to update and install packages.

timeout=300
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.