在 Ubuntu 12.10 上尝试 sudo apt-get update 命令时出现错误

在 Ubuntu 12.10 上尝试 sudo apt-get update 命令时出现错误

这是以下错误:

     W: Failed to fetch http://ppa.launchpad.net/sun-java-community-team/sun-java6/ubuntu/dists/quantal/main/source/Sources  404  Not Found

     W: Failed to fetch http://ppa.launchpad.net/sun-java-community-team/sun-java6/ubuntu/dists/quantal/main/binary-amd64/Packages  404  Not Found

     E: Some index files failed to download. They have been ignored, or old ones used instead.

答案1

尝试更新。假设您正在尝试安装 Java

尝试这个

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer

相关内容