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?


    [[email protected] 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:

    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).

    [[email protected] 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 ISPConfig Developer ISPConfig Developer

    Hi shamuk80,

    you can solve this by installing the RPM via

    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.

    vi /etc/yum.conf
    Best regards,

    Last edited: Mar 19, 2008

Share This Page