Показать статистику
0 голосов
от (600 баллов)

У меня есть несколько установок Ubuntu Server 20.04, но только для одной из них происходит следующее:

sudo apt update
... password
Hit:1 http://repo.mysql.com/apt/ubuntu groovy InRelease
Ign:2 http://pe.archive.ubuntu.com/ubuntu groovy InRelease
Ign:3 http://pe.archive.ubuntu.com/ubuntu groovy-updates InRelease
Hit:4 http://apt.postgresql.org/pub/repos/apt groovy-pgdg InRelease
Ign:5 http://pe.archive.ubuntu.com/ubuntu groovy-backports InRelease
Ign:6 http://pe.archive.ubuntu.com/ubuntu groovy-security InRelease
Err:7 http://pe.archive.ubuntu.com/ubuntu groovy Release
  404  Not Found [IP: 200.236.31.4 80]
Err:8 http://pe.archive.ubuntu.com/ubuntu groovy-updates Release
  404  Not Found [IP: 200.236.31.4 80]
Err:9 http://pe.archive.ubuntu.com/ubuntu groovy-backports Release
  404  Not Found [IP: 200.236.31.4 80]
Err:10 http://pe.archive.ubuntu.com/ubuntu groovy-security Release
  404  Not Found [IP: 200.236.31.4 80]
Reading package lists... Done
E: The repository 'http://pe.archive.ubuntu.com/ubuntu groovy Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://pe.archive.ubuntu.com/ubuntu groovy-updates Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://pe.archive.ubuntu.com/ubuntu groovy-backports Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://pe.archive.ubuntu.com/ubuntu groovy-security Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Что это случилось? и как решить?

616 просмотров 1 ответов

1 Ответ

0 голосов
от (26.4тыс. баллов)

В моем случае на моем сервере было несколько образов Ubuntu 20.10 Docker. Из-за устаревания Ubuntu 20.10 все выпуски PPA ушли.
Я решил эту проблему, развернув образы Ubuntu 20.04 и обновив пакеты для этой версии. Я планирую развернуть новые образы в 22.04, как только они появятся некоторое время назад.

Исходя из опыта, хотя это и возможно , не рекомендуется пытаться понизить версию пакетов и PPA на вашем компьютере.

Что делать, если в репозитории/репозитории нет файла Release?

Я бы предложил следующее:

  • Удалите PPA для более старой версии. Для этого примера:sudo ppa-purge ppa:mc3man/trusty-media
  • Если для вашего текущего выпуска есть PPA, добавьте его. В этом случае для Xenial есть PPA: mc3man/xerus-media . Вы можете добавить его, используяsudo add-apt-repository ppa:mc3man/xerus-media
...