LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Enterprise (https://www.linuxquestions.org/questions/linux-enterprise-47/)
-   -   Trouble Installing Spacewalk on RHEL 5 (https://www.linuxquestions.org/questions/linux-enterprise-47/trouble-installing-spacewalk-on-rhel-5-a-829987/)

custangro 09-02-2010 01:25 PM

Trouble Installing Spacewalk on RHEL 5
 
The reason I'm having trouble is that the spacekwalk repos/rpms require oracle-instantclient-sqlplus-10.2.0.4-1.i386.rpm

The error looks like this...

Code:

Error: Missing Dependency: oracle-instantclient-sqlplus >= 10.2.0 is needed by package spacewalk-oracle-1.1.6-1.el5.noarch (spacewalk)
The issue is that on the Oracle website there seems to be only oracle-instantclient11.2-sqlplus-11.2.0.1.0-1.i386.rpm

Is there a workaround? ORRR...does anyone know where I can download oracle-instantclient11.2-sqlplus-11.2.0.1.0-1.i386.rpm
?

Thanks

-C

smoker 09-02-2010 02:19 PM

It doesnt require oracle-instantclient-sqlplus-10.2.0.4-1.i386.rpm

It requires GREATER than or equal to 10.2.0

I think 11.2.0.1.0-1 is greater than 10.2.0.4-1

custangro 09-02-2010 02:24 PM

Quote:

Originally Posted by smoker (Post 4086290)
It doesnt require oracle-instantclient-sqlplus-10.2.0.4-1.i386.rpm

It requires GREATER than or equal to 10.2.0

I think 11.2.0.1.0-1 is greater than 10.2.0.4-1

Then I don't know what's wrong because...

Code:

[root@spacewalk tmp]# rpm -qa | grep oracle
oracle-instantclient11.2-sqlplus-11.2.0.1.0-1
oracle-xe-univ-10.2.0.1-1.0
oracle-instantclient11.2-basic-11.2.0.1.0-1

I have 11 installed...

smoker 09-02-2010 02:58 PM

Is there an update for spacewalk, or are you using yum ?

custangro 09-02-2010 03:04 PM

Quote:

Originally Posted by smoker (Post 4086324)
Is there an update for spacewalk, or are you using yum ?

I am using yum

Code:

[root@spacewalk ~]# cat /etc/yum.repos.d/spacewalk.repo
[spacewalk]
name=Spacewalk
baseurl=http://spacewalk.redhat.com/yum/1.1/RHEL/5/$basearch/
gpgkey=http://spacewalk.redhat.com/yum/RPM-GPG-KEY-spacewalk-2010
enabled=1
gpgcheck=1

-C

custangro 09-02-2010 03:11 PM

Interesting...the ">=" changed to "=" when I specified my arch...

Code:

[root@spacewalk ~]# yum -y install oracle-lib-compat.x86_64
Loaded plugins: fastestmirror, rhnplugin, security
Loading mirror speeds from cached hostfile
 * epel: mirrors.solfo.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package oracle-lib-compat.x86_64 0:10.2-22.el5 set to be updated
--> Processing Dependency: oracle-instantclient-sqlplus = 10.2.0.4 for package: oracle-lib-compat
--> Finished Dependency Resolution
oracle-lib-compat-10.2-22.el5.x86_64 from spacewalk has depsolving problems
  --> Missing Dependency: oracle-instantclient-sqlplus = 10.2.0.4 is needed by package oracle-lib-compat-10.2-22.el5.x86_64 (spacewalk)
Error: Missing Dependency: oracle-instantclient-sqlplus = 10.2.0.4 is needed by package oracle-lib-compat-10.2-22.el5.x86_64 (spacewalk)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.

:scratch:

-C


All times are GMT -5. The time now is 08:35 AM.