无法在 ubuntu 中安装 vim,我遇到这种情况该如何解决?

无法在 ubuntu 中安装 vim,我遇到这种情况该如何解决?
Err:1 http://security.ubuntu.com/ubuntu janny-updates/matn
2:8.2.3995-1ubuntu2.9 404 Not Found [IP: 185.125.190.36 80] Err:2 http://security.ubuntu.com/ubuntu janny-updates/main
1 2:8.2.3995-1ubuntu2.9
404 Not Found [IP: 91.189.91.82 80] E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/
8.2.3995-1ubuntu2.9_all.deb 404 Not Found [IP: 185.125.1
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/r e_8.2.3995-1ubuntu2.9_all.deb 404 Not Found [IP: 91.189.9 E: Fatled to fetch http://security.ubuntu.com/ubuntu/pool/ 95-1ubuntu2.9_amd64.deb 404 Not Found [IP: 91.189.91.82 8
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?[enter image description here][1]

答案1

您的帖子有点难以阅读,但您的消息显示过时的包裹;

例如我查找了一个包,预期结果是

vim-common | 2:8.2.3995-1ubuntu2.10 | jammy-updates    | all
vim-common | 2:8.2.3995-1ubuntu2.10 | jammy-security   | all

不是你想要得到什么 - 例如使用更新你的软件列表

sudo apt update

并读取输出以检查没有需要处理的警告/错误;然后重试时当前问题应该不会再次发生。

相关内容