ubuntu 16.10 apt-get update失败

别回头
  • 59

因为使用apt-get install安装mysql找不到package,所以按照搜索解决方案为apt-get update。但是尝试了几乎所有的方法,都是失败的。不知道他们是怎么安装成功的。报错提示:

Reading package lists... Done
W: The repository 'https://mirrors.tuna.tsinghua.edu.cn/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 'https://mirrors.tuna.tsinghua.edu.cn/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 'https://mirrors.tuna.tsinghua.edu.cn/ubuntu yakkety-backports 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 'https://mirrors.tuna.tsinghua.edu.cn/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 https://mirrors.tuna.tsinghua.edu.cn/ubuntu/dists/yakkety/main/binary-amd64/Packages  404  Not Found
E: Failed to fetch https://mirrors.tuna.tsinghua.edu.cn/ubuntu/dists/yakkety-updates/main/binary-amd64/Packages  404  Not Found
E: Failed to fetch https://mirrors.tuna.tsinghua.edu.cn/ubuntu/dists/yakkety-backports/main/binary-amd64/Packages  404  Not Found
E: Failed to fetch https://mirrors.tuna.tsinghua.edu.cn/ubuntu/dists/yakkety-security/main/binary-amd64/Packages  404  Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
回复
阅读 3.3k
1 个回答

你需要了解下Ubuntu的开发周期。你使用的版本已经不再维护,官方已经撤掉了软件仓库了。

https://wiki.ubuntu.com/Releases

你应该使用上一个LTS版本(16.04)或下一个LTS版本(18.04)

如果真的有非用EOL版本不可的理由,还能有个临时方案应付一下,就是使用ubuntu的EOL Release仓库:

https://help.ubuntu.com/commu...

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
你知道吗?

宣传栏