好吧,它开始下载软件包,但由于连接失败,它停止了,现在当我再次运行相同的命令时,我收到此错误:
Err http//in.archive.ubuntu.com/ubuntu/ maverick-updates/main openjdk-6-jre-headless i386 6b20-1.9.10-0ubuntu1~10.10.2
404 Not Found [IP: 91.189.92.179 80]
Err http//security.ubuntu.com/ubuntu/ maverick-security/main openjdk-6-jre-headless i386 6b20-1.9.10-0ubuntu1~10.10.2
404 Not Found [IP: 91.189.92.167 80]
Err http//security.ubuntu.com/ubuntu/ maverick-security/main openjdk-6-jre i386 6b20-1.9.10-0ubuntu1~10.10.2
404 Not Found [IP: 91.189.92.167 80]
Err http//security.ubuntu.com/ubuntu/ maverick-security/main openjdk-6-jdk i386 6b20-1.9.10-0ubuntu1~10.10.2
404 Not Found [IP: 91.189.92.167 80]
Failed to fetch http//security.ubuntu.com/ubuntu/pool/main/o/openjdk-6/openjdk-6-jre-headless_6b20-1.9.10-0ubuntu1~10.10.2_i386.deb 404 Not Found [IP: 91.189.92.167 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/o/openjdk-6/openjdk-6-jre_6b20-1.9.10-0ubuntu1~10.10.2_i386.deb 404 Not Found [IP: 91.189.92.167 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/o/openjdk-6/openjdk-6-jdk_6b20-1.9.10-0ubuntu1~10.10.2_i386.deb 404 Not Found [IP: 91.189.92.167 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
答案1
看起来您需要切换到不同的服务器/镜像,因为文件不再位于该特定服务器上。(404 Not Found 非常可靠)。
不过,我想可能还有其他事情发生。你可以尝试:
sudo apt-get clean && sudo apt-get update
清理缓存(和部分下载的文件),然后更新您的包列表。