Ubuntu – Waiting for Headers error while apt-get update

16.10apt

I am always stuck at the following error. I use ubuntu version 16.10

Ign:7 http://ppa.launchpad.net/upubuntu-com/web/ubuntu yakkety/main amd64 Packages
Ign:8 http://ppa.launchpad.net/upubuntu-com/web/ubuntu yakkety/main i386 Packages
Ign:9 http://ppa.launchpad.net/upubuntu-com/web/ubuntu yakkety/main all Packages
Ign:10 http://ppa.launchpad.net/upubuntu-com/web/ubuntu yakkety/main Translation-en
Ign:11 http://ppa.launchpad.net/upubuntu-com/web/ubuntu yakkety/main Translation-en_IN
Ign:12 http://ppa.launchpad.net/upubuntu-com/web/ubuntu yakkety/main amd64 DEP-11 Metadata
Ign:13 http://ppa.launchpad.net/upubuntu-com/web/ubuntu yakkety/main all DEP-11 Metadata
Ign:14 http://ppa.launchpad.net/upubuntu-com/web/ubuntu yakkety/main DEP-11 64x64 Icons
0% [Waiting for headers] [Waiting for headers]

Please help. I have already check for other answer with no luck.

Best Answer

Just got out of this issue after spending 5 hours trying to figure out what was wrong. It is either your mirror through which Ubuntu is accessing packages or your service provider is blocking something. I would recommend:

  1. Check if the current server that you're using is accessible through the browser. If it's not, use another mirror. Go to 'Software & Updates' and choose a mirror from among the ones available at 'Download from'.
  2. Check the sources.list file in /etc/apt/ and comment out all the lines that access packages from the mirror that wasn't reachable.

If changing mirror doesn't work, check if you are able to get things updated using sudo apt-get update after you connect to a different ISP. Probably try with your phone's hotspot? Might just work. (Worked for me.)