Сбой обновления Ubuntu 20.04 на in.archive.ubuntu.com [дубликат]

Ошибка обновления apt-get в Индии. Невозможно связаться с in.archive.ubuntu.com.

Ниже приведена ошибка:

# apt-get update 
Hit:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 http://security.ubuntu.com/ubuntu focal-security InRelease                  
Err:3 http://in.archive.ubuntu.com/ubuntu focal InRelease                         
  Cannot initiate the connection to in.archive.ubuntu.com:80 (2403:8940:ffff::f). - connect (101: Network is unreachable) Could not connect to in.archive.ubuntu.com:80 (103.97.84.254), connection timed out
Err:4 http://in.archive.ubuntu.com/ubuntu focal-updates InRelease
  Cannot initiate the connection to in.archive.ubuntu.com:80 (2403:8940:ffff::f). - connect (101: Network is unreachable)
Err:5 http://in.archive.ubuntu.com/ubuntu focal-backports InRelease
  Cannot initiate the connection to in.archive.ubuntu.com:80 (2403:8940:ffff::f). - connect (101: Network is unreachable)
Reading package lists... Done
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/focal/InRelease  Cannot initiate the connection to in.archive.ubuntu.com:80 (2403:8940:ffff::f). - connect (101: Network is unreachable) Could not connect to in.archive.ubuntu.com:80 (103.97.84.254), connection timed out
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/focal-updates/InRelease  Cannot initiate the connection to in.archive.ubuntu.com:80 (2403:8940:ffff::f). - connect (101: Network is unreachable)
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/focal-backports/InRelease  Cannot initiate the connection to in.archive.ubuntu.com:80 (2403:8940:ffff::f). - connect (101: Network is unreachable)
W: Some index files failed to download. They have been ignored, or old ones used instead.

Кто-нибудь может предложить / помочь здесь.

-1
задан 27 June 2020 в 17:00

2 ответа

Все индийские репо недоступны.

Мы можем временно указать на американские или любые другие региональные репозитории.Но я надеюсь, что команда Ubuntu изучит проблему и исправит ее.

0
ответ дан 30 July 2020 в 22:18

Благодаря комментарию Д. К. Бозе помогла смена сервера. Это терпит неудачу, хотя, но это начало работать. Вот как обойти эту проблему. Запустите следующее как root

cd /etc/apt
sed -i 's/in\./us\./g' sources.list

Ниже должен быть вывод вашего следующего обновления apt-get

# apt-get update 
Get:1 http://security.ubuntu.com/ubuntu focal-security InRelease [107 kB]
Hit:2 http://us.archive.ubuntu.com/ubuntu focal InRelease                               
Hit:3 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease                       
Get:4 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease [98.3 kB]
Hit:5 http://dl.google.com/linux/chrome/deb stable InRelease
Fetched 205 kB in 6s (36.3 kB/s)                 
Reading package lists... Done

Надеюсь, это поможет!

~ Abhay Dandekar

1
ответ дан 30 July 2020 в 22:18

Другие вопросы по тегам:

Похожие вопросы: