原谅我的无能 我还是 GNU/Linux 的新手。我使用 Debian wheezy。
当我打字 apt-get update
我最后得到了这个
W: Failed to fetch http://ppa.launchpad.net/webupd8team/java/ubuntu/dists/wheezy/main/source/Sources 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/webupd8team/java/ubuntu/dists/wheezy/main/binary-amd64/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
Run Code Online (Sandbox Code Playgroud)
我的问题是,我将如何编辑(我猜 apt 看的是什么)以忽略未能更新的内容......或完全删除它们,以便我不再收到该消息。
编辑:
我在 sources.list 中唯一看到的是
deb ftp.sun.ac.za/debian wheezy main contrib non-free
deb-src ftp.sun.ac.za/debian wheezy main contrib non-free
deb security.debian.org wheezy/updates contrib non-free main
deb-src security.debian.org wheezy/updates contrib non-free maim
Run Code Online (Sandbox Code Playgroud)
就是这样。我应该删除其中之一吗?我也往里面看了看sources.list.d,结果是空的
第二次编辑:
的输出apt-cache policy …