LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-16-2007, 03:18 PM   #1
Chekote
LQ Newbie
 
Registered: Apr 2007
Posts: 3

Rep: Reputation: 0
Trouble satisfying dependencies


Hi,

I've been setting up Linux servers (specifically RedHat) for our small company for a while now, and have been relatively content with default installs to get them up and running. But I have always really wanted to build very lean and efficient machines configured with the bare minimum that they need to fully provide a single service. But I have a problem...

I am in no way a Linux expert, and my problem is with dependencies. I have attempted to do a minimal install of of the OS, and then download and install something like Apache, but I hit a brick wall because of the applications dependencies. Even when I research the dependencies and then download and install *those* applications, they too have yet more dependencies.

I seem to be in a seemingly endless loop, which is requiring ridiculous amounts of time, and I really can't believe that this is the way it's meant to be done. I am pretty sure (hopefully) that this is just an incredibly "noob" thing that I am doing and that there is a much simpler way to ensure that all dependencies are satisfied.

Anyone care to enlighten me?

Donald

Last edited by Chekote; 04-17-2007 at 08:42 AM.
 
Old 04-16-2007, 03:27 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Are you installing an Old Red Hat distro, or RHEL? If it is the latter, you are probably trying to install a recent Apache package when all of your libraries are obsolete.

If this isn't the case, if you go to the http://rpm.pbone.net website and filter the search for your particular distro and version, it does a good job of listing the dependencies and which packages you need to install. It also provides links to download the dependencies.
 
Old 04-17-2007, 08:41 AM   #3
Chekote
LQ Newbie
 
Registered: Apr 2007
Posts: 3

Original Poster
Rep: Reputation: 0
I think you misunderstood what I meant.

I am not talking just about apache, but since you mentioned that I will stick with that example:

I do not have a problem installing Apache on RedHat, I can install it fine as long as I install the dependencies. My question is not in regards to any particular applications dependencies, but how to satisfy large dependency trees effectively when designing a new server setup.

There are a couple of things I would imagine would exist:

1. Some way to get a print out of a dependency tree
2. Some way to auto-install all dependencies in the tree

Imagine that I had carried out a minimal install with RHEL4, then using that as a gold standard I created a master image of that setup and copied it to five separate machines. Now I want do go ahead and setup a different service on each of the five machines:

1. openLDAP
2. Apache
3. MySQL
4. Bind
5. Sendmail

Now, obviously with each of those services comes a considerable amount of dependencies. Those dependencies also have dependencies who have dependencies who have dependencies... and so on.

How am I supposed to efficiently ensure that all the dependencies are satisfied without literally determining the dependencies of each service? Then determining the dependencies of the dependencies... and so on, until I know what exactly I need to install. Then work my way back up the dependency tree and install everything.

It seems like an needlessly long and tedious task to do it this way and I really believe there must be a simpler way of going about it.

Sorry to rant on so long, but it's really the only way I can demonstrate what I am doing.

P.S. I am not using RPM's, I am compiling from source.

Last edited by Chekote; 04-17-2007 at 08:58 AM.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
trouble with ipw3945 dependencies vmlinuz? Jonititan Linux - Wireless Networking 35 03-15-2007 10:37 PM
trouble installing mplayer - failed dependencies libx264.so.45 goldranjith Linux - Software 3 05-06-2006 12:48 PM
xscreensaver install trouble: library dependencies marquitico Linux - Newbie 4 08-26-2005 08:28 PM
Trouble with KDE 3.2 (QT Dependencies) edawad Fedora 7 02-10-2004 07:30 PM
I recieve a failed dependencies error, but I have all required dependencies Laptop2250 Linux - Software 15 02-03-2004 07:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:45 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration