![当我运行 sudo apt-get update 命令时如何修复此错误?](https://linux22.com/image/842336/%E5%BD%93%E6%88%91%E8%BF%90%E8%A1%8C%20sudo%20apt-get%20update%20%E5%91%BD%E4%BB%A4%E6%97%B6%E5%A6%82%E4%BD%95%E4%BF%AE%E5%A4%8D%E6%AD%A4%E9%94%99%E8%AF%AF%EF%BC%9F.png)
W: Failed to fetch http://ppa.launchpad.net/docky-core/stable/ubuntu/dists/raring/main/source/Sources 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/docky-core/stable/ubuntu/dists/raring/main/binary-i386/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
答案1
如果您点击这些链接,您会发现它们确实缺失了。但是,有一个适用于 precise 的存储库。因此,我建议查看/etc/apt/sources.list
(Alt+F2 - gksu gedit /etc/apt/sources.list
) 中的此存储库行,并将其更改为raring
。precise
然后sudo apt-get update
再检查一次,看看是否产生了预期的效果。