apt-get update very slow, stuck at "Waiting for headers"

Posted by Liam on Ask Ubuntu See other posts from Ask Ubuntu or by Liam
Published on 2012-06-27T09:54:41Z Indexed on 2012/06/28 15:25 UTC
Read the original article Hit count: 298

Filed under:
|
|

I have looked at similar questions:

Stuck at 0% [waiting for headers] (apt)

apt-get update stuck on "Waiting for Headers"

However neither one of them answer my problem.

I am running 12.04 AMD64 and have recently started getting an issue that when I update my repos from my connection at home through a terminal, using sudo apt-get update, it takes forever (literally after 2 hours it was at 28%), however when I run from a different location it takes less than 5 minutes to complete.

I have attempted changing which mirror I use but that does not solve the issue. I have also cut down what is in my sources list but this also makes no difference. There are no faults on my ADSL line as I have already contacted my ISP to check this. It also makes no difference if I use a WiFi or network cable connection.

What could be my issue?


A speed test (www.speedtest.net) comes out at about 0.9 Mbps down and 0.42 Mbps up (which is a shade under the advertised line speed), I reside in South Africa and use the UCT LEG server. But I have also tried the other mirrors available in SA....none of them make a difference.

© Ask Ubuntu or respective owner

Related posts about apt

Related posts about updates