E:存储库“http://security.ubuntu.com/ubuntu impish-security Release”没有发布文件

E:存储库“http://security.ubuntu.com/ubuntu impish-security Release”没有发布文件

当我尝试命令时:

 sudo apt update

显示此错误:

E: The repository 'http://security.ubuntu.com/ubuntu impish-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://ir.archive.ubuntu.com/ubuntu impish 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://ir.archive.ubuntu.com/ubuntu impish-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://ir.archive.ubuntu.com/ubuntu impish-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.

我该如何修复它?

答案1

如果您可以选择,那么升级到新版本的 Linux 应该可以解决问题。这有点像大锤式的方法,但如果你仍然陷入困境,只想继续生活,那么这是一个选择。作为该过程的一部分,存储库将更新为最新且受支持的内容。

sudo do-release-upgrade

请注意,这会将您的 Linux 升级到更新版本(如果可用)。

相关内容