无法安装任何东西。终端显示 404 错误

无法安装任何东西。终端显示 404 错误

这是一个截屏我的情况。我已关闭所有存储库并尝试sudo apt-get update,但仍然收到:

E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial/main/binary-armhf/Packages  404  Not Found [IP: 91.189.91.23 80]
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial-updates/main/binary-armhf/Packages  404  Not Found [IP: 91.189.91.23 80]
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial-backports/main/binary-armhf/Packages  404  Not Found [IP: 91.189.91.23 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/main/binary-armhf/Packages  404  Not Found [IP: 91.189.88.161 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.

我尝试了此主题只通过了第二个。我认为它禁用了主要软件仓库对我来说。我启用了它们,但现在我仍然遇到同样的问题,无法安装应用程序。在 Ubuntu 软件中心,我尝试安装 Krusader,但什么也没发生。当我输入终端命令时,

sudo apt-get update
sudo apt-get install krusader

事情是这样的:

sudo apt-get install krusader
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package krusader

有什么想法吗?谢谢。

答案1

我遇到过类似的问题,无法从 Ubuntu 服务器获取文件,这可能对我有帮助,请转到软件和更新>Ubuntu 软件>关于选择最近的服务器。现在尝试sudo apt-get update

相关内容