Невозможно выполнить apt-update [на удержании]

при выполнении apt update я получаю следующие ошибки. У меня Ubuntu 17.10, и до этого я получаю ключевые ошибки, я решил это, но эти ошибки все еще существуют. Я не могу обновить или получить пакеты.

# sudo apt update
Ign:1 http://download.opensuse.org/repositories/home:/strycore/xUbuntu_17.10  InRelease
Hit:2 http://deb.playonlinux.com trusty InRelease
Ign:3 http://download.opensuse.org/repositories/home:/strycore/xUbuntu_16.04  InRelease
Hit:4 http://download.opensuse.org/repositories/home:/strycore/xUbuntu_17.10  Release
Ign:5 http://security.ubuntu.com/ubuntu artful-security InRelease
Ign:6 http://us.archive.ubuntu.com/ubuntu artful InRelease
Hit:7 http://download.opensuse.org/repositories/home:/strycore/xUbuntu_16.04  Release
Err:9 http://security.ubuntu.com/ubuntu artful-security Release
  404  Not Found [IP: 91.189.91.26 80]
Ign:10 http://us.archive.ubuntu.com/ubuntu artful-updates InRelease
Ign:12 http://us.archive.ubuntu.com/ubuntu artful-backports InRelease
Err:13 http://us.archive.ubuntu.com/ubuntu artful Release
  404  Not Found [IP: 91.189.91.26 80]
Err:14 http://us.archive.ubuntu.com/ubuntu artful-updates Release
  404  Not Found [IP: 91.189.91.26 80]
Err:15 http://us.archive.ubuntu.com/ubuntu artful-backports Release
  404  Not Found [IP: 91.189.91.26 80]
Reading package lists... Done
E: The repository 'http://security.ubuntu.com/ubuntu artful-security Release' does not have 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://us.archive.ubuntu.com/ubuntu artful Release' does not have 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://us.archive.ubuntu.com/ubuntu artful-updates Release' does not have 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://us.archive.ubuntu.com/ubuntu artful-backports Release' does not have 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.
0
задан 8 August 2019 в 17:25

1 ответ

Причина Вы получаете 404 ошибки, состоит в том, потому что Ловкий достиг Конца жизненного цикла. Это означает, что больше не поддерживается, и Ubuntu удалила его из их официальных репозиториев. Если Вы хотите все еще использовать Ловкий выпуск, необходимо переключить на "Старые Выпуски" репозиторий, который может быть сделан следующим образом:

  1. Открывают Terminal
  2. Type sudo gedit /etc/apt/sources.list и нажимают Enter.
  3. (Это могло бы требовать времени) Просматривают этот файл и заменяют каждую запись http://us.archive.ubuntu.com с http://old-releases.ubuntu.com.
  4. , После того как Вы сделали это для каждой записи, сохраните файл и закройте текстовый редактор.
  5. Выполнение sudo apt update снова. Вы не должны больше видеть 404 ошибки (если бы Вы делаете, это, вероятно, было бы из-за опечатки).

Пример: Одна запись была бы deb http://old-releases.ubuntu.com/ubuntu/ artful main

РЕДАКТИРОВАНИЕ: Замена gedit с nano, если Вы не можете использовать Gedit.

0
ответ дан 9 August 2019 в 06:54

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

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