Я понимаю, что« репозиторий не имеет файла выпуска »- это обычная ошибка для старого неподдерживаемого релизы. Но я получаю эту ошибку в поддерживаемой версии. Я попробовал меняться «в загорении ...» в старые релизы ... 'в /etc/apt/sources.list. Но я все еще получаю ошибку. Ниже мой выход.
sambeet@Polya:~$ sudo apt-get update
Ign:1 http://security.ubuntu.com/ubuntu focal-security InRelease
Ign:2 http://old-releases.ubuntu.com/ubuntu focal InRelease
Ign:3 http://in.archive.ubuntu.com/ubuntu focal-updates InRelease
Err:4 http://security.ubuntu.com/ubuntu focal-security Release
Could not handshake: An unexpected TLS packet was received. [IP: 10.10.78.62 3128]
Err:5 http://old-releases.ubuntu.com/ubuntu focal Release
Could not handshake: An unexpected TLS packet was received. [IP: 10.10.78.62 3128]
Ign:6 http://in.archive.ubuntu.com/ubuntu focal InRelease
Ign:7 http://in.archive.ubuntu.com/ubuntu focal-backports InRelease
Err:8 http://in.archive.ubuntu.com/ubuntu focal-updates Release
Could not handshake: An unexpected TLS packet was received. [IP: 10.10.78.62 3128]
Err:9 http://in.archive.ubuntu.com/ubuntu focal Release
Could not handshake: An unexpected TLS packet was received. [IP: 10.10.78.62 3128]
Err:10 http://in.archive.ubuntu.com/ubuntu focal-backports Release
Could not handshake: An unexpected TLS packet was received. [IP: 10.10.78.62 3128]
Reading package lists... Done
E: The repository 'http://security.ubuntu.com/ubuntu focal-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.
E: The repository 'http://old-releases.ubuntu.com/ubuntu focal 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://in.archive.ubuntu.com/ubuntu focal-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://in.archive.ubuntu.com/ubuntu focal 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://in.archive.ubuntu.com/ubuntu focal-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.
sambeet@Polya:~$
Как вы можете видеть, я изменил один сайт на «http: // старые релизы.», Но даже это не отображает ошибку файла выпуска. Может кто-нибудь, пожалуйста, предложите какую-то работу? Вот мой релиз информации.
sambeet@Polya:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.2 LTS
Release: 20.04
Codename: focal
Я нашел проблему. Это было то, что APT не использует системный прокси, мне пришлось сделать файл Proxy.conf в /etc/apt/apt.conf.d/proxy.conf, где я добавил прокси, следуя этой странице . Но сообщение об ошибке должно было быть более конкретно. Я также хотел бы знать, есть ли, что я могу сделать APT, используйте широкий прокси системы. Кстати, есть три места, в которых вы должны указать прокси в Ubuntu 20.04 ...
в / etc / Environment для Curl для работы
в /etc/apt/apt.conf.d/proxy.conf ( Создайте файл, если он не там) для APT для работы
в / var / snap / cannonical-livepatch / config для livepatch для работы