ubuntu 16.10 apt-get update失败

发布于 2022-09-11 16:43:54 字数 1973 浏览 17 评论 0

因为使用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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

乄_柒ぐ汐 2022-09-18 16:43:54

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

https://wiki.ubuntu.com/Releases

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

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

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文