Ubuntu 15.04 apt-get 错误消息

Ubuntu 15.04 apt-get 错误消息

我运行时总是sudo apt-get-update收到下面的错误消息。我该如何解决这个问题?

W: Failed to fetch http://ppa.launchpad.net/chris-lea/node.js/ubuntu/dists/vivid/main/source/Sources  404  Not Found
W: Failed to fetch http://ppa.launchpad.net/chris-lea/node.js/ubuntu/dists/vivid/main/binary-i386/Packages  404  Not Found 
E: Some index files failed to download. They have been ignored, or old ones used instead.

答案1

您已添加 ppa node.js,但目前该链接上不可用。这就是它出现404 Not Found错误的原因。您可以看到这里. 没有vivid存储库。

解决方案 :

从中删除该 ppa 文件/etc/apt/sources.list.d/,或者如果没有相关文件, chris-lea/node.js则打开文件/etc/apt/sources.list并搜索相关条目chris-lea/node.js并删除该行。然后执行更新

sudo apt-get update 

相关内容