我有五台服务器可以免费安装CDH4,服务也很好用。今天我想添加两台主机,但它失败了。 这是日志。
Refreshing package metadata...
BEGIN sudo apt-get update
...
Ign http://archive.cloudera.com precise-cdh4.0.0 Release
Ign http://archive.cloudera.com precise-cm4.1.4 Release
Ign http://archive.cloudera.com precise-cdh4.0.0/contrib TranslationIndex
Ign http://archive.cloudera.com precise-cm4.1.4/contrib TranslationIndex
Err http://archive.cloudera.com precise-cdh4.0.0/contrib amd64 Packages
Connection failed
Err http://archive.cloudera.com precise-cm4.1.4/contrib amd64 Packages
Connection failed
Ign http://archive.cloudera.com precise-cdh4.0.0/contrib Translation-en_US
Ign http://archive.cloudera.com precise-cdh4.0.0/contrib Translation-en
Ign http://archive.cloudera.com precise-cm4.1.4/contrib Translation-en_US
Ign http://archive.cloudera.com precise-cm4.1.4/contrib Translation-en
Fetched 2,965 kB in 24min 11s (2,042 B/s)
W: Failed to fetch http://archive.cloudera.com/cdh4/ubuntu/precise/amd64/cdh/dists/precise- cdh4.0.0/contrib/binary-amd64/Packages Connection failed
W: Failed to fetch http://archive.cloudera.com/cm4/ubuntu/precise/amd64/cm/dists/precise-cm4.1.4/contrib/binary-amd64/Packages Connection failed
E: Some index files failed to download. They have been ignored, or old ones used instead.
END (100)
这不是真正的问题。在下一个命令中你看!
Installing oracle-j2sdk1.6 package...
BEGIN sudo apt-cache show oracle-j2sdk1.6
E: No packages found
END (100)
remote package oracle-j2sdk1.6 is not available, giving up
并执行回滚。 我认为真正的问题是安装oracle-j2sdk1.6,但我不知道怎么弄清楚。 谢谢。
答案 0 :(得分:0)
我手动安装oracle-j2sdk1.6并安装完成。如果您的国家没有抵制,您将不会看到此错误。