I am trying to apt-get update
but it gets stuck on
0% [Connecting to ph.archive.ubuntu.com (202.90.159.172)]
and after a couple of minutes it gives me the following:
Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Hit:2 http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu xenial InRelease
Err:3 http://ph.archive.ubuntu.com/ubuntu xenial InRelease
Could not connect to ph.archive.ubuntu.com:80 (2001:d18:0:23::172). - connect (101: Network is unreachable) [IP: 2001:d18:0:23::172 80]
Err:4 http://ph.archive.ubuntu.com/ubuntu xenial-updates InRelease
Unable to connect to ph.archive.ubuntu.com:http: [IP: 2001:d18:0:23::172 80]
Err:5 http://ph.archive.ubuntu.com/ubuntu xenial-backports InRelease
Unable to connect to ph.archive.ubuntu.com:http: [IP: 2001:d18:0:23::172 80]
Fetched 102 kB in 2min 0s (846 B/s)
Reading package lists... Done
W: Failed to fetch http://ph.archive.ubuntu.com/ubuntu/dists/xenial/InRelease Could not connect to ph.archive.ubuntu.com:80 (2001:d18:0:23::172). - connect (101: Network is unreachable) [IP: 2001:d18:0:23::172 80]
W: Failed to fetch http://ph.archive.ubuntu.com/ubuntu/dists/xenial-updates/InRelease Unable to connect to ph.archive.ubuntu.com:http: [IP: 2001:d18:0:23::172 80]
W: Failed to fetch http://ph.archive.ubuntu.com/ubuntu/dists/xenial-backports/InRelease Unable to connect to ph.archive.ubuntu.com:http: [IP: 2001:d18:0:23::172 80]
W: Some index files failed to download. They have been ignored, or old ones used instead.
I have tried disabling IPV6 connection as described here but it doesn't seem to fix the problem. What should I do? I'm an Ubuntu newb and using 16.04.
in.archive.ubuntu.com
or evenarchive.ubuntu.com
. But surprisingly internet browser is working,ping
andhost -v
resolution is working as well. – soufrk Mar 13 '18 at 11:27