PDA

View Full Version : rpm installation dependencies issue


shamuk80
19th March 2008, 18:42
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.

o.meyer
19th March 2008, 19:37
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,

Olli