How to lower wait time for repository updates

Posted by Luis on Ask Ubuntu See other posts from Ask Ubuntu or by Luis
Published on 2012-05-24T05:42:20Z Indexed on 2014/08/24 4:33 UTC
Read the original article Hit count: 180

Filed under:
|

When doing a aptitude update / apt-get update or using the Update Manager to update sometimes I get to a repository link that takes too long. The percent does not end and it takes quite a while before it ignores it.

How can I lower the time so that if a particular repository takes more than 10 seconds to connect or finish it should ignore it and move the following ones. Here is an image explaining the problem:

enter image description here

It is trying to connect to archive.ubuntu.com but since it is taking too long it just sits there for at least 3 to 5 minutes (Haven't measured the time) and then it shows as ignored and moves to the following. I wish to change that to seconds instead of minutes.

© Ask Ubuntu or respective owner

Related posts about apt

Related posts about updates