Ubuntu 16.10更新问题(某些存储库yakkety发布没有发布)

有类似的消息(“Ubuntu存储库没有发布文件”……但没有一个适用于我)。

我尝试更新系统(apt-get update),但是我遇到了一些错误。

具体而言(主要错误):[代码] E:存储库’ http://archive.ubuntu.com/ubuntu yakkety Release’没有发布文件。,W:无法安全地从这样的存储库进行更新,因此默认情况下禁用。,W:有关存储库创建和用户配置详细信息,请参阅apt-secure(8)联机帮助页.E:存储库’ http://archive.ubuntu.com/ubuntu yakkety-updates Release’不会有一个Release文件。,W:无法安全地从这样的存储库进行更新,因此默认情况下禁用.W:有关存储库创建和用户配置详细信息,请参阅apt-secure(8)联机帮助页。,E:存储库’ http://archive.ubuntu.com/ubuntu yakkety-security Release’没有发布文件。 [/码]

我的Ubuntu版本:描述:Ubuntu 16.10代号:yakkety

我尝试了很多在不同线程和不同来源中找到的解决方案,例如:sudo apt-get autoclean sudo apt-get clean sudo apt-get update

我从“软件和更新”的“其他软件”中禁用了所有PPA(以防万一..)。

而且,我评论了一对sources.list文件(只是为了尝试):

deb http://archive.ubuntu.com/ubuntu yakkety-backports main universe limited multiverse deb http://archive.canonical.com/ubuntu yakkety partner

…但主要错误仍然存​​在(参见顶部的“主要错误”)……

当我尝试:sudo apt-get update

我懂了 :

... Ign:79 http://archive.ubuntu.com/ubuntu yakkety-security/universe amd64 Packages Ign:80 http://archive.ubuntu.com/ubuntu yakkety-security/universe i386 Packages Ign:81 http://archive.ubuntu.com/ubuntu yakkety-security/universe all Packages Reading package lists... Done W: The repository 'http://archive.ubuntu.com/ubuntu yakkety Release' does not have a Release file. N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use. N: See apt-secure(8) manpage for repository creation and user configuration details. W: The repository 'http://archive.ubuntu.com/ubuntu yakkety-updates Release' does not have a Release file. N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use. N: See apt-secure(8) manpage for repository creation and user configuration details. W: The repository 'http://archive.ubuntu.com/ubuntu yakkety-security Release' does not have a Release file. N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use. N: See apt-secure(8) manpage for repository creation and user configuration details. E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/yakkety/main/binary-i386/Packages 404 Not Found [IP: 91.189.88.149 80] E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/yakkety-updates/main/binary-i386/Packages 404 Not Found [IP: 91.189.88.149 80] E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/yakkety-security/main/binary-amd64/Packages 404 Not Found [IP: 91.189.88.149 80] E: Some index files failed to download. They have been ignored, or old ones used instead. 

有任何想法吗? 提前致谢!

Ubuntu 16.10自2017年7月20日起为EOL。

http://archive更改为/etc/apt/sources.list文件中的http://old-releases ,然后运行

 sudo apt update && sudo apt upgrade 

再次。

然后更新到支持的版本。