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.
read the mtu related answer, might be a help
– Eslam Shapsough Oct 05 '14 at 22:30deb.nodesource.com, for instance. Disconnected from VPN - no problem. Connect again to VPN - problem. Won't be the source of the problem for everyone but if you are using a VPN and having this problem, try disconnecting. (can't post answer 'cause not enough rep) – drkvogel Dec 17 '20 at 11:29