LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 03-11-2009, 12:39 PM   #1
kryon
LQ Newbie
 
Registered: Feb 2009
Posts: 2

Rep: Reputation: 0
RPM dependencies LOOP - HELP - RHEL 5.0


I am trying to install RPM libraries for Nagios. I tried YUM install for some of these development tools cannot be found.

Tell me what to do:
As you can seen below from the example, I am getting looped back to the very 1st dependency to the top.


[root@xbox1 downloads]# rpm -ivh libX11-devel-1.0.3-8.0.1.el5.i386.rpm
error: Failed dependencies:
libX11 = 1.0.3-8.0.1.el5 is needed by libX11-devel-1.0.3-8.0.1.el5.i386
libXdmcp-devel is needed by libX11-devel-1.0.3-8.0.1.el5.i386
xorg-x11-proto-devel >= 7.1-2 is needed by libX11-devel-1.0.3-8.0.1.el5.i386
[root@xbox1 downloads]# rpm -ivh libXdmcp-devel-1.0.1-2.1.i386.rpm
error: Failed dependencies:
xorg-x11-proto-devel is needed by libXdmcp-devel-1.0.1-2.1.i386
[root@xbox1 downloads]# rpm -ivh xorg-x11-proto-devel-7.1-9.fc6.i386.rpm
error: Failed dependencies:
mesa-libGL-devel is needed by xorg-x11-proto-devel-7.1-9.fc6.i386
[root@xbox1 downloads]# rpm -ivh mesa-libGL-devel-6.5.1-7.7.el5.i386.rpm
error: Failed dependencies:
libX11-devel is needed by mesa-libGL-devel-6.5.1-7.7.el5.i386
[root@xbox1 downloads]#
 
Old 03-11-2009, 01:35 PM   #2
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 5,195

Rep: Reputation: 469Reputation: 469Reputation: 469Reputation: 469Reputation: 469
Put all the files in the same directory with no other rpms then run "rpm -ivh *.rpm". It should see that you have the other rpms in your select and resolve the dependencies there. (Alternatively you could do rpm -ivh package1 package2 package3 etc... as a single command line.)

Curious why you have this issue with Yum. I just did a fresh install of RHEL 5.3 on a server, then ran through the "Fedora Quickstart" install steps at Nagios site (Fedora being a good analog to how it should be done on RHEL). All the software packages not from Nagios were in my basic install already. The configure, make etc... all ran without incident.

http://nagios.sourceforge.net/docs/3_0/quickstart.html
 
Old 03-11-2009, 03:51 PM   #3
x_terminat_or_3
Member
 
Registered: Mar 2007
Location: Plymouth, UK
Distribution: Fedora Core, RHEL, Arch
Posts: 341

Rep: Reputation: 34
I usually do rpm -U

Incidentally, if he *WAS* using YUM, he could just do yum install package, or even yum install libX11-devel-1.0.3-8.0.1.el5.i386.rpm and yum would resolve dependencies automagically.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
resolving dependencies update loop issue james2b Fedora 5 12-14-2008 03:29 AM
RHEL 5 Install Problem - Infinite Reboot Loop aramsey Linux - Enterprise 4 09-19-2008 04:22 AM
RHEL 5: rpm --aid or rpmdb-redhat.rpm no longer supported mjcocat Linux - Enterprise 1 06-05-2008 08:41 PM
RPM 'failed dependencies': Why can I not install any rpm packages? leontini Linux - Newbie 7 09-16-2003 12:44 AM
RPM Loop! islandkid Linux - General 4 03-15-2002 03:40 AM


All times are GMT -5. The time now is 02:54 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration