rpm installation dependencies issue

Discussion in 'Installation/Configuration' started by shamuk80, Mar 19, 2008.

  1. shamuk80

    shamuk80 New Member

    Hi All,

    While installation of rpms by command I normally face the dependencies issues. Anyway to handle them?

    like...

    [root@server RPMS]# rpm -ivh vnc-4.0-8.1.i386.rpm
    error: Failed dependencies:
    /sbin/runuser is needed by vnc-4.0-8.1.i386
    /sbin/service is needed by vnc-4.0-8.1.i386
    libICE.so.6 is needed by vnc-4.0-8.1.i386
    libSM.so.6 is needed by vnc-4.0-8.1.i386
    libX11.so.6 is needed by vnc-4.0-8.1.i386
    libXext.so.6 is needed by vnc-4.0-8.1.i386
    Suggested resolutions:
    coreutils-5.2.1-31.i386.rpm
    initscripts-7.93.11.EL-1.i386.rpm
    xorg-x11-libs-6.8.1-23.EL.i386.rpm

    I read somewhere the --aid command that it resolve the dependencies if the same directory has the other rpms but when i run this command I am getting this error. ( I have copied the RHEL4-DVD to hard drive).

    [root@server RPMS]# rpm -ivh vnc-* --aid
    error: Failed dependencies:
    /etc/redhat-release is needed by initscripts-7.93.11.EL-1.i386


    Anyone can solve this problem?

    Many thanks.
     
  2. o.meyer

    o.meyer New Member Moderator

    Hi shamuk80,

    you can solve this by installing the RPM via

    Code:
    yum localinstall vnc-4.0-8.1.i386.rpm --nogpgcheck
    If the option --nogpgcheck is not available on your sytem (I'm not sure if it is available on RHEL) you have to disable gpgchecks in the yum configuration temporary and run the above mentioned command without --nogpgcheck.

    Code:
    vi /etc/yum.conf
    Best regards,

    Olli
     
    Last edited: Mar 19, 2008

Share This Page