When I try to do sudo apt update
it idles with a 0% [Waiting for headers] [Waiting for headers]
message and does not run for a long while. After several minutes the terminal spits out a line indicating that the update got ignored. E.g.:
Ign:66 http://us.archive.ubuntu.com/ubuntu xenial-udates/universe i386 Packages
then moves on to the next one where the same thing happens again.
I've tried a couple of things including manually editing /etc/apt/sources.list
based on this: Updating Ubuntu & understanding errors thrown by APT, change the mirror site based on this:Stuck at 0% [waiting for headers], and cleaning apt's history based on this: Ubuntu problems on update....:/
I'm on Ubuntu 16.04.4 LTS (xenial).
I am behind a corporate firewall, but i have the proxy parameters set up in /etc/environment
, /etc/sudoers
and /etc/apt/apt.conf.d/95proxies
according to this: How do I configure proxies without GUI?.
My internet seems to be connected, i can get ping responses from 8.8.8.8
or ubuntu.com
.
I tried to do this with disabled firewall (ufw disable
), with the same -negative- result.
I kinda out of the ideas here, any help is appreciated.
Ign
line sayudates
orupdates
? If it saysupdates
, please copy and paste the line into your question rather than typing it in. If it saysudates
, there's a line in yoursources.list
that should be changed fromxenial-udates
toxenial-updates
. – Chai T. Rex Sep 26 '18 at 20:34wget
orcurl
work through your proxy to download the problematic URLs mentioned or does it wait for a long time for a response that never comes? Are there any lines that start withErr
instead ofIgn
? – Chai T. Rex Sep 26 '18 at 20:37updates
and not udates. sorry for the typo, i had only a screenshot. i let it run overnight yesterday and since then I rebooted several times. All of the lines started withIgn
noErr
. ... I'm totally baffled, a justapt get update
ran command again and now it's working seamlessly without me changing a single thing. – Geri Sep 26 '18 at 22:23