Как обновить версию ubuntu, если ph.archive.ubuntu не работает? Когда я попытался ввести это в терминале sudo apt-get update
, я получил эту ошибку
Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:3 http://dl.google.com/linux/chrome/deb stable Release
Hit:5 http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu xenial InRelease
Hit:7 http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu xenial InRelease
Hit:4 http://screenshots.getdeb.net xenial-getdeb InRelease
Hit:8 http://ppa.launchpad.net/wiznote-team/ppa/ubuntu xenial InRelease
Err:9 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:10 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:11 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]
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.
Имел ту же проблему. Решение было к
Редактирование
/etc/apt/sources.list
замена весь экземпляр
ph.archive.ubuntu.com
к
archive.ubuntu.com
, довольно странно, почему это происходит. Я предполагаю при установке местоположения. Ubuntu пытается найти самый близкий сервер, который они имеют к Вашему местоположению.