Ubuntu 16.10更新问题(某些存储库yakkety版本没有Release)


8

也有类似的消息(“ Ubuntu存储库没有发布文件” ...,但对我而言无效)。

我尝试更新系统(apt-get更新),但是出现一些错误。

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

我的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主宇宙受限多重宇宙deb http://archive.canonical.com/ubuntu yakkety合作伙伴

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

当我尝试: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.

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


1
Ubuntu 16.10(于2016年10月发布)的使用寿命为9个月,因为它不是长期支持(非LTS)的Ubuntu。它的生命已经结束,并且提供了升级到17.04(现在也是EOL后)的升级。如果您不希望短期发行,或者不喜欢每九个月进行一次发行升级,请使用LTS发行版(仅限偶数年份的四月发行版),否则接受发行升级的提议。备份数据(为了安全起见),然后安装受支持的Ubuntu版本(因为您的发布升级路径已消失)。新安装会保留您的数据,除非您错误地选择了“格式”等,所以请备份!
guiverc


Answers:


21

Ubuntu 16.10自2017年7月20日起停产。

更改http://archivehttp://old-releasesin /etc/apt/sources.list文件,然后运行

sudo apt update && sudo apt upgrade

再次。

然后更新到受支持的版本。


从软件中删除了存档,并更新了=>其他软件,然后工作正常。
de_billa_
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.