我有五台安装了免费 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 但我不知道如何解决。谢谢你。