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

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

有类似的消息(“Ubuntu 存储库没有发布文件”......但对我来说都不起作用)。

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

具体来说(主要错误):[CODE] E:存储库'http://archive.ubuntu.com/ubuntuyakkety Release' 没有 Release 文件。, W:从这样的存储库更新无法安全地完成,因此默认情况下是禁用的。, W:请参阅 apt-secure(8) 手册页以了解存储库创建和用户配置的详细信息。, E:存储库'http://archive.ubuntu.com/ubuntuyakkety-updates Release' 没有 Release 文件。, W:从这样的存储库进行更新无法安全地完成,因此默认情况下是禁用的。, W:请参阅 apt-secure(8) 手册页以了解存储库创建和用户配置的详细信息。, E:存储库'http://archive.ubuntu.com/ubuntuyakkety-security Release' 没有 Release 文件。[/CODE]

我的 Ubuntu 版本:说明:Ubuntu 16.10 代号:yakkety

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

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

另外,我注释了 sources.list 文件中的几行(只是为了尝试):

德布http://archive.ubuntu.com/ubuntuyakkety-backports 主宇宙 受限多元宇宙 debhttp://archive.canonical.com/ubuntu雅克蒂伙伴

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

当我尝试: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 自 2017 年 7 月 20 日起停止服务。

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

sudo apt update && sudo apt upgrade

再次。

然后更新到支持的版本。

相关内容