On googling this error it seems that a lot of people are having this issue.

`apt-get upgrade` hangs at `0% [waiting for headers]` `apt-get install apache2` hangs at `0% [waiting for headers]`. Some `apt-get` commands are working, but only certain packages.

Any ideas? I don't think this is an issue with slow repos because I've had it up for a long while and it hasn't budged from 0%. I have edited `sources.list` but I removed the lines I added when this issue presented itself and it hasn't made a difference.

Any clues would be really useful.