尝试安装 netbeans 和 eclipse,但都出现以下错误(这是因为服务器已关闭并将很快恢复吗?我也无法使用 apt-get 来安装缺少的软件包。也尝试过http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html但它说ls
,mkdir
等缺失,但实际上并没有缺失):
Err http://in.archive.ubuntu.com/ubuntu/ precise-updates/main icedtea-netx-common all 1.2-2ubuntu1.3
404 Not Found [IP: 91.189.92.201 80] Err http://security.ubuntu.com/ubuntu/ precise-security/main icedtea-netx-common all 1.2-2ubuntu1.3
404 Not Found [IP: 91.189.92.202 80]
Err http://security.ubuntu.com/ubuntu/ precise-security/main icedtea-netx
i386 1.2-2ubuntu1.3
404 Not Found [IP: 91.189.92.202 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/i/icedtea-web/icedtea-netx-common_1.2-2ubuntu1.3_all.deb
404 Not Found [IP: 91.189.92.202 80] Failed to fetch
http://security.ubuntu.com/ubuntu/pool/main/i/icedtea-web/icedtea-netx_1.2-2ubuntu1.3_i386.deb
404 Not Found [IP: 91.189.92.202 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
答案1
我下载了 RPM,但结果发现它与 Ubuntu 不兼容。所以我下载了 tar 文件,然后这个答案帮我安装了它。