3 Replies Latest reply on Aug 22, 2007 10:29 PM by 97678

    [REDHAT] Newb, rpm, Failed dependencies ...

    548163
      People,

      I'm trying to install Oracle on my RH box.

      The Oracle installer complained about some missing rpms:

      Checking for compat-libstdc++-296-2.96-132.7.2; found Not found. Failed <<<<
      Checking for libstdc++devel-3.4.3-22.1; found Not found. Failed <<<<
      Checking for openmotif-21-2.1.30-11; found Not found. Failed <<<<
      Checking for pdksh-5.2.14-30; found Not found. Failed <<<<
      Checking for gnome-libs-1.4.1.2.90-44.1; found Not found. Failed <<<<
      Checking for sysstat-5.0.5-1; found Not found. Failed <<<<
      Checking for compat-db-4.1.25-9; found Not found. Failed <<<<
      Checking for control-center-2.8.0-12; found Not found. Failed <<<<
      Checking for xscreensaver-4.18-5.rhel4.2; found Not found. Failed <<<<

      I found some close matches on my DVD and installed them with this script:

      #! /bin/sh
      rpm -Uvh compat-db-4.1.25-9.i386.rpm
      rpm -Uvh compat-libstdc++-296-2.96-132.7.2.i386.rpm
      rpm -Uvh control-center-2.8.0-12.rhel4.2.i386.rpm
      rpm -Uvh gnome-libs-1.4.1.2.90-44.1.i386.rpm
      rpm -Uvh libstdc++-devel-3.4.5-2.i386.rpm
      rpm -Uvh openmotif21-2.1.30-11.RHEL4.4.i386.rpm
      rpm -Uvh pdksh-5.2.14-30.3.i386.rpm
      rpm -Uvh sysstat-5.0.5-7.rhel4.i386.rpm
      rpm -Uvh xscreensaver-4.18-5.rhel4.10.i386.rpm

      Now redhat is complaining:


      [root@ow2 software]# sh -x rpm4ow2.sh
      + rpm -Uvh compat-db-4.1.25-9.i386.rpm
      warning: compat-db-4.1.25-9.i386.rpm: Header V3 DSA signature: NOKEY, key ID 443e1821
      Preparing... ########################################### [100%]
      1:compat-db ########################################### [100%]
      + rpm -Uvh compat-libstdc++-296-2.96-132.7.2.i386.rpm
      warning: compat-libstdc++-296-2.96-132.7.2.i386.rpm: Header V3 DSA signature: NOKEY, key ID 443e1821
      Preparing... ########################################### [100%]
      package compat-libstdc++-296-2.96-135 (which is newer than compat-libstdc++-296-2.96-132.7.2) is already installed
      + rpm -Uvh control-center-2.8.0-12.rhel4.2.i386.rpm
      warning: control-center-2.8.0-12.rhel4.2.i386.rpm: Header V3 DSA signature: NOKEY, key ID 443e1821
      error: Failed dependencies:
      gnome-icon-theme is needed by control-center-2.8.0-12.rhel4.2.i386
      libeel-2.so.2 is needed by control-center-2.8.0-12.rhel4.2.i386
      libgail-gnome is needed by control-center-2.8.0-12.rhel4.2.i386
      libgailutil.so.17 is needed by control-center-2.8.0-12.rhel4.2.i386
      libmetacity-private.so.0 is needed by control-center-2.8.0-12.rhel4.2.i386
      libnautilus.so.2 is needed by control-center-2.8.0-12.rhel4.2.i386
      libxklavier >= 1.02 is needed by control-center-2.8.0-12.rhel4.2.i386
      libxklavier.so.8 is needed by control-center-2.8.0-12.rhel4.2.i386
      xscreensaver is needed by control-center-2.8.0-12.rhel4.2.i386
      + rpm -Uvh gnome-libs-1.4.1.2.90-44.1.i386.rpm
      warning: gnome-libs-1.4.1.2.90-44.1.i386.rpm: Header V3 DSA signature: NOKEY, key ID 443e1821
      error: Failed dependencies:
      ORBit is needed by gnome-libs-1.4.1.2.90-44.1.i386
      gtk+ >= 1:1.2.5 is needed by gnome-libs-1.4.1.2.90-44.1.i386
      imlib is needed by gnome-libs-1.4.1.2.90-44.1.i386
      libIIOP.so.0 is needed by gnome-libs-1.4.1.2.90-44.1.i386
      libORBit.so.0 is needed by gnome-libs-1.4.1.2.90-44.1.i386
      libORBitCosNaming.so.0 is needed by gnome-libs-1.4.1.2.90-44.1.i386
      libORBitutil.so.0 is needed by gnome-libs-1.4.1.2.90-44.1.i386
      libgdk-1.2.so.0 is needed by gnome-libs-1.4.1.2.90-44.1.i386
      libgdk_imlib.so.1 is needed by gnome-libs-1.4.1.2.90-44.1.i386
      libglib-1.2.so.0 is needed by gnome-libs-1.4.1.2.90-44.1.i386
      libgmodule-1.2.so.0 is needed by gnome-libs-1.4.1.2.90-44.1.i386
      libgtk-1.2.so.0 is needed by gnome-libs-1.4.1.2.90-44.1.i386
      libpng.so.2 is needed by gnome-libs-1.4.1.2.90-44.1.i386
      + rpm -Uvh libstdc++-devel-3.4.5-2.i386.rpm
      warning: libstdc++-devel-3.4.5-2.i386.rpm: Header V3 DSA signature: NOKEY, key ID 443e1821
      error: Failed dependencies:
      libstdc++ = 3.4.5-2 is needed by libstdc++-devel-3.4.5-2.i386
      libstdc++-devel = 4.1.1-1.fc5 is needed by (installed) gcc-c++-4.1.1-1.fc5.i386
      libstdc++-devel >= 4.1.0 is needed by (installed) libstdc++so7-devel-4.2.0-0.3.20060428.fc5.3.i386
      + rpm -Uvh openmotif21-2.1.30-11.RHEL4.4.i386.rpm
      warning: openmotif21-2.1.30-11.RHEL4.4.i386.rpm: Header V3 DSA signature: NOKEY, key ID 443e1821
      Preparing... ########################################### [100%]
      1:openmotif21 ########################################### [100%]
      + rpm -Uvh pdksh-5.2.14-30.3.i386.rpm
      warning: pdksh-5.2.14-30.3.i386.rpm: Header V3 DSA signature: NOKEY, key ID 443e1821
      error: Failed dependencies:
      pdksh conflicts with ksh-20060124-3.i386
      + rpm -Uvh sysstat-5.0.5-7.rhel4.i386.rpm
      warning: sysstat-5.0.5-7.rhel4.i386.rpm: Header V3 DSA signature: NOKEY, key ID 443e1821
      Preparing... ########################################### [100%]
      1:sysstat ########################################### [100%]
      + rpm -Uvh xscreensaver-4.18-5.rhel4.10.i386.rpm
      warning: xscreensaver-4.18-5.rhel4.10.i386.rpm: Header V3 DSA signature: NOKEY, key ID 443e1821
      error: Failed dependencies:
      xloadimage is needed by xscreensaver-4.18-5.rhel4.10.i386
      [root@ow2 software]#

      I have some basic questions.

      Q: What is the best way to deal with this?

      I'm a bit short on common sense when it comes to using rpm to install
      Linux software. I'm worried that if I try to force something in,
      something else, somewhere else will break.

      Now I have some more specific questions.

      I see this:

      + rpm -Uvh control-center-2.8.0-12.rhel4.2.i386.rpm
      warning: control-center-2.8.0-12.rhel4.2.i386.rpm: Header V3 DSA signature: NOKEY, key ID 443e1821
      error: Failed dependencies:
      gnome-icon-theme is needed by control-center-2.8.0-12.rhel4.2.i386
      libeel-2.so.2 is needed by control-center-2.8.0-12.rhel4.2.i386
      libgail-gnome is needed by control-center-2.8.0-12.rhel4.2.i386
      libgailutil.so.17 is needed by control-center-2.8.0-12.rhel4.2.i386
      libmetacity-private.so.0 is needed by control-center-2.8.0-12.rhel4.2.i386
      libnautilus.so.2 is needed by control-center-2.8.0-12.rhel4.2.i386
      libxklavier >= 1.02 is needed by control-center-2.8.0-12.rhel4.2.i386
      libxklavier.so.8 is needed by control-center-2.8.0-12.rhel4.2.i386
      xscreensaver is needed by control-center-2.8.0-12.rhel4.2.i386

      I assume the proper way to deal with this is to search around on my DVD for 9
      rpms which correspond to the 9 lines above spit out by the error handler.
      True??


      -Peter


      PeterSmith@gmail.com
      http://GoodJobFastCar.com
        • 1. Re: [REDHAT] Newb, rpm, Failed dependencies ...
          Ivan Kartik
          I assume the proper way to deal with this is to search around on my DVD for 9
          rpms which correspond to the 9 lines above spit out by the error handler.
          True??
          True. Message tells you that packages depends on another package or file which is part of other package. All you need to do is to solve all dependencies (install dependent packages).
          • 2. Re: [REDHAT] Newb, rpm, Failed dependencies ...
            590320
            I'm having the same issue with pdksh installation, how to resolve the conflict between pdksh and ksh?
            [root@yulin-lnx2 /]# rpm -i pdksh-5.2.14-30.3.x86_64.rpm
            warning: pdksh-5.2.14-30.3.x86_64.rpm: V3 DSA signature: NOKEY, key ID 9b3c94f4
            error: Failed dependencies:
            pdksh conflicts with ksh-20050202-0.4E.2.x86_64
            [root@yulin-lnx2 /]# rpm -q pdksh
            package pdksh is not installed

            Thanks, yulin
            • 3. Re: [REDHAT] Newb, rpm, Failed dependencies ...
              97678
              If you have Redhat license and running EL4 x86_64 version, follow these step by step instructions:
              (assuming you have fresh install of Linux and use up2date (from RHN) to get your installed version to up to date)

              http://www.garyzhu.net/notes/Oracle_64.html