Не удалось загрузить некоторые индексные файлы. Их игнорировали или вместо них использовали старые [закрыто]Linux

Anonymous
Не удалось загрузить некоторые индексные файлы. Их игнорировали или вместо них использовали старые [закрыто]

Сообщение Anonymous »

Я пытаюсь бежать:

Код: Выделить всё

 sudo apt-get update
Но я получаю ошибку ниже: -

Код: Выделить всё

Err:1 http://archive.ubuntu.com/ubuntu bionic InRelease
Could not connect to archive.ubuntu.com:80 (185.125.190.82). - connect (111: Connection
refused) Could not connect to archive.ubuntu.com:80 (185.125.190.81). - connect (111:
Connection refused) Could not connect to archive.ubuntu.com:80 (91.189.91.81). -
connect (111: Connection refused) Could not connect to archive.ubuntu.com:80
(91.189.91.83). - connect (111: Connection refused) Could not connect to
archive.ubuntu.com:80 (91.189.91.82). - connect (111: Connection refused) Could not
connect to archive.ubuntu.com:80 (185.125.190.83). - connect (111: Connection refused)
Err:2 http://archive.ubuntu.com/ubuntu bionic-security InRelease
Unable to connect to archive.ubuntu.com:http:
Err:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Unable to connect to archive.ubuntu.com:http:
Reading package lists... Done
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic/InRelease  Could not
connect to archive.ubuntu.com:80 (185.125.190.82). - connect (111: Connection refused)
Could not connect to archive.ubuntu.com:80 (185.125.190.81). - connect (111: Connection
refused) Could not connect to archive.ubuntu.com:80 (91.189.91.81). - connect (111:
Connection refused) Could not connect to archive.ubuntu.com:80 (91.189.91.83). -
connect (111: Connection refused) Could not connect to archive.ubuntu.com:80
(91.189.91.82). - connect (111: Connection refused) Could not connect to
archive.ubuntu.com:80 (185.125.190.83). - connect (111: Connection refused)
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-security/InRelease
Unable to connect to archive.ubuntu.com:http:
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease
Unable to connect to archive.ubuntu.com:http:
W: Some index files failed to download. They have been ignored, or old ones used
instead.
Я пробовал в основном то, что присутствует на других страницах stackoverflow, но все выдает ту же ошибку.
Когда я делаю cat /etc/resolv.conf, ниже отображается содержимое этот файл :-

Код: Выделить всё

 # This file was automatically generated by WSL. To stop automatic generation of this
file, add the following entry to /etc/wsl.conf:
# [network]
# generateResolvConf = false
nameserver 10.21.238.100
nameserver 10.21.238.155
и содержимое моего файла /etc/apt/sources.list: -

Код: Выделить всё

 # See sources.list(5) manpage for more information
# Remember that CD-ROMs, DVDs and such are managed through the apt-cdrom tool.
deb http://archive.ubuntu.com/ubuntu bionic main restricted
deb-src http://archive.ubuntu.com/ubuntu bionic main restricted

deb http://archive.ubuntu.com/ubuntu bionic-security main restricted
deb-src http://archive.ubuntu.com/ubuntu bionic-security main restricted

deb http://archive.ubuntu.com/ubuntu bionic-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu bionic-updates main restricted
Помогите мне понять, как мне решить эту проблему? Моей основной целью было установить докер в WSL. Я использую Ubuntu-18.04 версии 2

Подробнее здесь: https://stackoverflow.com/questions/790 ... es-used-in

Вернуться в «Linux»