Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 19th March 2008, 18:42
shamuk80 shamuk80 is offline
Junior Member
 
Join Date: Feb 2008
Posts: 16
Thanks: 0
Thanked 1 Time in 1 Post
Default rpm installation dependencies issue

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.
Reply With Quote
Sponsored Links
  #2  
Old 19th March 2008, 19:37
o.meyer o.meyer is offline
Senior Member
 
Join Date: Aug 2007
Posts: 167
Thanks: 2
Thanked 24 Times in 23 Posts
 
Default

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 by o.meyer; 19th March 2008 at 19:40.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian Installation Issue nidhintomson Installation/Configuration 3 10th January 2008 15:36
Yum Installation Issue nidhintomson Installation/Configuration 1 16th December 2007 14:21
Yum Installation Issue nidhintomson Installation/Configuration 1 9th December 2007 14:55
Complete beginner installation issue yeskia Installation/Configuration 1 9th May 2007 12:00
Installation Big issue OpenVZ VPS jbond007 Installation/Configuration 3 7th March 2006 20:40


All times are GMT +2. The time now is 05:18.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.