运行软件更新程序时,存储库出现 404“无法获取”错误

运行软件更新程序时,存储库出现 404“无法获取”错误

当我从我的 Ubuntu 14.04 桌面安装运行软件更新程序时,出现以下错误:

W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/$(lsb_release/-sc)/binary-i386/Packages  404  Not Found [IP: 91.189.88.153 80], 
W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/$(lsb_release/universe/binary-i386/Packages  404  Not Found [IP: 91.189.88.153 80],
W:Failed to fetch http://it.archive.ubuntu.com/ubuntu/dists/trusty-updates/main/binary-i386/Packages  Hash Sum mismatch, 
W:Failed to fetch http://it.archive.ubuntu.com/ubuntu/dists/trusty-updates/universe/binary-i386/Packages  Hash Sum mismatch

我该如何解决这个问题?谢谢。问候

答案1

最后,我设法消除了错误。我注意到在存储库列表中有两个此类条目:

http://archive.ubuntu.com/ubuntu/dists/$(lsb_release/-sc) universe
http://archive.ubuntu.com/ubuntu/dists/$(lsb_release/-sc) universe (Source code)

删除这 2 个条目后,我不再收到任何错误。现在我的问题是,我删除的两个存储库是否需要,或者我可以将它们分开?谢谢。

相关内容