Linux X86 2.6, Oracle 9.2.0.4 and RPM Dependency Hell

  • From: "Jared Still" <jkstill@xxxxxxxxx>
  • To: "Oracle-L Freelists" <oracle-l@xxxxxxxxxxxxx>
  • Date: Fri, 11 Aug 2006 17:41:23 -0700

The subject line says it all.

To install 9204 on RHEL4, you must install patch 4198954.

This consists of 2 RPM files:
 compat-libcwait-2.1-1.i386.rpm
 compat-oracle-rhel4-1.0-5.i386.rpm

Installing compat-libcwait-2.1-1.i386.rpm is no problem.

Installing compat-oracle-rhel4-1.0-5.i386.rpm seems to be nearly impossible.

The dependency chain for this package is very long.

Though most of the required packages are installed, the versions may be
slightly different.

Here's an example.

[root@ 4198954]# rpm -ivh compat-oracle-rhel4-1.0-5.i386.rpm error: Failed
dependencies:
    xorg-x11-deprecated-libs-devel is needed by
compat-oracle-rhel4-1.0-5.i386
   Suggested resolutions:
       xorg-x11-deprecated-libs-devel-6.8.2-1.EL.13.25.i386.rpm
[root@ 4198954]#

Now try installing the dependent lib:

[root@ RPMS]# rpm -ivh
xorg-x11-deprecated-libs-devel-6.8.2-1.EL.13.25.i386.rpm
error: Failed dependencies:
       xorg-x11-deprecated-libs = 6.8.2-1.EL.13.25 is needed by
xorg-x11-deprecated-libs-devel-6.8.2-1.EL.13.25.i386
       xorg-x11-devel = 6.8.2-1.EL.13.25 is needed by
xorg-x11-deprecated-libs-devel-6.8.2-1.EL.13.25.i386
   Suggested resolutions:
       xorg-x11-deprecated-libs-6.8.2-1.EL.13.25.i386.rpm
       xorg-x11-devel-6.8.2-1.EL.13.25.i386.rpm


[root@ RPMS]# rpm -ivh xorg-x11-deprecated-libs-6.8.2-1.EL.13.25.i386.rpm xorg-x11-devel-6.8.2-1.EL.13.25.i386.rpm error: Failed dependencies: fontconfig-devel >= 2.1 is needed by xorg-x11-devel-6.8.2-1.EL.13.25.i386 xorg-x11-libs = 6.8.2-1.EL.13.25 is needed by xorg-x11-devel-6.8.2-1.EL.13.25.i386 Suggested resolutions: fontconfig-devel-2.2.3-7.i386.rpm xorg-x11-libs-6.8.2-1.EL.13.25.i386.rpm


[root@ RPMS]# rpm -ivh fontconfig-devel-2.2.3-7.i386.rpm xorg-x11-libs-6.8.2-1.EL.13.25.i386.rpm error: Failed dependencies: freetype-devel >= 2.1.4 is needed by fontconfig-devel-2.2.3-7.i386 Suggested resolutions: freetype-devel-2.1.9-1.i386.rpm


[root@ RPMS]# rpm -ivh freetype-devel-2.1.9-1.i386.rpm error: Failed dependencies: freetype = 2.1.9-1 is needed by freetype-devel-2.1.9-1.i386 Suggested resolutions: freetype-2.1.9-1.i386.rpm


[root@ RPMS]# rpm -ivh freetype-2.1.9-1.i386.rpm Preparing... ########################################### [100%] package freetype-2.1.9-4.el4 (which is newer than freetype-2.1.9-1) is already installed file /usr/lib/libfreetype.so.6.3.7 from install of freetype-2.1.9-1conflicts with file from package freetype-2.1.9-4.el4 file /usr/lib/libttf.so.2.3.0 from install of freetype-2.1.9-1conflicts with file from package freetype-2.1.9-4.el4

As you can see, there's no resolving this manually.

Without these 2 small files...

jkstill@glamdring:~/zips> rpm -qpl -v compat-oracle-rhel4-1.0-5.i386.rpm
-rwxr-xr-x    1 root    root              914 Feb 23  2005
/usr/bin/g++.tmp_1
-rwxr-xr-x    1 root    root              914 Feb 23  2005
/usr/bin/gcc.tmp_1

... there's no way that the 9i link will succeed.

Using the GUI for RPM doesn't seem to work either.

 system-config-packages --tree=<path to install directory>

The program will correctly read what is installed, but when an attempt
to update is made it cannot seem to find the RPMs.

Any ideas on how to solve this dependency mess?


-- Jared Still Certifiable Oracle DBA and Part Time Perl Evangelist

Other related posts: