No oracle-j2sdk1.7 packages available?

I run the following command to install cloudera

./cloudera-manager-installer.bin 

After accepting oracle license I get error Installation error for logs Go to 2.install-oracle-j2sdk1.7.log

the following is the contents of the log file

 Loaded plugins: fastestmirror, priorities, refresh-packagekit, security Loading mirror speeds from cached hostfile * base: mirrors.syringanetworks.net * extras: mirror.sanctuaryhost.com * updates: centos.corenetworks.net Setting up Install Process No package oracle-j2sdk1.7 available. Error: Nothing to do 

Does anyone have such a mistake? give suggestions?

+6
source share
3 answers

Assuming this applies to a system like RHEL, try the following:

 yum clean all rm -rf /var/cache/yum/cloudera-* 

I had the same problem and that solved it.

+2
source

On CentOS 6.4, I need

  yum clean all
 rm -rf / var / cache / yum / x86_64 / 6 / cloudera-manager

This is the same as user2130332, but the path is more complicated. Thus, a universal solution will be:

  yum clean all
 find / var / cache / yum -type d |  grep cloudera- |  xargs rm -rf
+2
source

If for some reason it does not work, you can always download the appropriate number in the cloudera archive, install it with rpm -ivh and continue installation

http://archive.cloudera.com/cm5/redhat/6/x86_64/cm/5/RPMS/x86_64/

0
source

All Articles