Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have a VM running Ubuntu Server 9.10 running a basic web server setup. Whenever I run an apt function it will pause for around 1 minute at 'Waiting for headers...'. It will eventually clear through and continue as normal but it is a bit of an annoyance.

Everything else on the server seems to run fine. Any ideas?

share|improve this question

migrated from stackoverflow.com Jan 25 '10 at 12:46

This question came from our site for professional and enthusiast programmers.

Have you tried using another mirror? Any additional repositories? –  andol Mar 7 '10 at 17:23

3 Answers 3

Some repos have issues with http/1.1 pipelining.

Try adding the following to /etc/apt/apt.conf.d/piplining-off.conf:

Acquire::http::Pipeline-Depth "0";
share|improve this answer
Brilliant!! added it and apt-get update works even better!! :D –  Aceth Feb 13 '12 at 22:44

Make sure your time & date is set correctly,

I had the same problem and fixed it with a simple ntpdate

Also, find out what it's doing by running sudo strace apt-get update

share|improve this answer

Try commenting out your multiverse and universe repos in your /etc/apt/sources.list

Then do a: apt-get clean all

then finally an: apt-get update

See if that clears it up some.

share|improve this answer

Your Answer


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.