ph.archive.ubuntu.com is not working [duplicate]
By John Parsons •
How can I update the version ubuntu if ph.archive.ubuntu is not working? When I tried to enter this in terminal sudo apt-get update then I received this error
Ign:1 stable InRelease
Hit:2 xenial-security InRelease
Hit:3 stable Release
Hit:5 xenial InRelease
Hit:7 xenial InRelease
Hit:4 xenial-getdeb InRelease
Hit:8 xenial InRelease
Err:9 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:10 xenial-updates InRelease Unable to connect to ph.archive.ubuntu.com:http: [IP: 2001:d18:0:23::172 80]
Err:11 xenial-backports InRelease Unable to connect to ph.archive.ubuntu.com:http: [IP: 2001:d18:0:23::172 80]
Reading package lists... Done
W: Failed to fetch 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 Unable to connect to ph.archive.ubuntu.com:http: [IP: 2001:d18:0:23::172 80]
W: Failed to fetch 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. 1 1 Answer
Had the same problem. Solution was to
Edit
/etc/apt/sources.listreplace all instance of
ph.archive.ubuntu.com
to
archive.ubuntu.com
it is pretty weird why this happens. I guess while setting up your location. Ubuntu tries to find the closest server that they have to your location.
1