Re: Linux X86 2.6, Oracle 9.2.0.4 and RPM Dependency Hell

  • From: "Frits Hoogland" <frits.hoogland@xxxxxxxxx>
  • To: jkstill@xxxxxxxxx
  • Date: Sat, 12 Aug 2006 11:32:59 +0200

As already suggested, look at the puschitz page.
If you just need to get the thing running, look at the functions of the
packages, and decide what really needed, and what's optional. depending on
your need, you can decide to do it in an other way:
-nice clean install
figure out the correct rpm's and the correct versions
-a way to get the database running
force install of the compat rpm. freetype etc. are not necessary for the
database. (--force and --nodeps)

still would love to see oracle also making a version for debian, just
tested, not supported.
(in fact the the database works. I am working on the oracle specific kernel
mods, but time lacks)

frits

On 8/12/06, Jared Still <jkstill@xxxxxxxxx> wrote:

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-1 conflicts 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: