当我尝试使用 sudo apt-get update 时,出现以下错误:
E: The repository 'http://de.archive.ubuntu.com/ubuntu zesty Release' does no longer 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.
Run Code Online (Sandbox Code Playgroud)
我该怎么做才能正确更新 Ubuntu?
我在 Ubuntu 17.04
Ubuntu 17.04 (Zesty) 已达到其生命周期的尽头(有关详细信息,请参阅Ubuntu wiki 上的发布页面),因此它不再从存储库中可用。
您有两个选择:
de.archive.ubuntu.com
在/etc/apt/sources.list
用old-releases.ubuntu.com
。第二个选项将允许apt-get update
完成,但您不会获得任何新的更新。特别是,您将不会获得解决Meltdown 和 Spectre 的更新。