Problem with YUM - Can't find the dependencie!
Hi to all!
First of all, i'd like to apologize for all the mistakes i'll probably make writing in English. As it's not my 'natural' langage, i'm doing my best there! ^^ Anyway. Here's the problem I'm facing. I'm kinda noob to Linux, and running on Red Hat Entreprise Linux 5 atm. I'd like to install a package called "rrdtool" (as there's Nagios running on the server, could be usefull to provide graphs, stats, and stuff). As I RTFM'd, I heard yum is the tool I have to use. (yeah, i'm a good newbie :D) Next is the log: Code:
root@yzi351:/tmp$ yum list rrdtool Code:
root@yzi351:/tmp$ yum install rrdtool.i386 I thought a yum list ruby would tell me which package I had to download/install, but the answer is: Code:
root@yzi351:/tmp$ yum list ruby And even when I try this, it fails: Code:
root@yzi351:/tmp$ yum install ruby So again, as I'm a beginner, sorry if the answer may appear obvious for you but I have to say i'm stuck right now :/ Thanks for helping and answering, Kind Regards! Victor. |
That means that ruby is not available from the repos you have installed.
Do you, this is important, have a paid support contract with RH? There is supposed to be a ruby rpm in: http://rubyworks.rubyforge.org/redhat/ ... have not looked - you gotta hunt, or add the rubyworks repo. However, the install instruction I'm seeing suggest to me that ruby is supposed to be available from regular sources. http://www.mashd.cc/2009/05/25/rails-install-on-rhel5 |
Me again.
I _maybe_ foudn the solution. Here is what I've done: Code:
root@yzi351:/tmp$ yum list "*ruby*" Trying to install now, will update the topic soon :) edit: Indeed Simon Bridge, I've looked on this website but it seems nothing dealing with ruby is installed on the server :/ |
Sorry for double post, but here's the update of my situation.
According to the yum list "*ruby*" results, I tried to install each one of the package given. But, once again, dependencies problems :doh: Code:
root@yzi351: yum install ruby-rrdtool.i386 Code:
root@yzi351: yum install ruby-rpm.i386 I've been looking to a looot of topics dealing with dependencies problems, found different solutions, but I just do'nt know what to do with this one... Thanks for answering! |
rpm does not look for and install dependencies - that is yum's job.
With rpm, you read what the missing packages are, then go get them and install them first. If you have a support contract, remember I said it was important, you can complain about yum not resolving the deps in this case to RHN. They will be able to tell you what is happening. |
The fact is none of the packages needed can be found on Internet.
I just sent a email to RedHat Official Support (as in France, hardly anybody works on Friday afternoon -_-) If anybody heard about some problems dealing with ruby on RHEL, feel free to post! Thanks again for answering me :) Victor. |
ruby is included in RHEL since 4. Maybe you are running the desktop version of RHEL
|
I don't knpw, I've checked on my company's account on RHEL website but found nothing.
Maybe this would help? Code:
root@yzi351:/tmp$ uname -a |
Post the results of "yum repolist". From the look of your yum posts(cut and paste), it does not look like the RH repo is active (possibly disabled on your system).
|
Quote:
http://rubyworks.rubyforge.org/redhat/5/RPMS/i386/ ... for RHEL5 i386 - a quick skim shows all ruby stuff on your list are there. However - use official packages where you can - especially as you have official support through your company. You don't want to undermine your company's support contract. Quote:
Quote:
While waiting for RHN to get back to you, you can still investigate your repolist - as others have suggested. See what we can see. |
Hi again.
First of all, thanks to y'all my problem is now solved. Here's what i've done, in case someone hit this topic :)
Not sure if it could be a problem letting gpcheck set to 0, but it solved my problem and my final yum install ruby-1.8.6.111-1.i386.rpmwas successfull :) Code:
root@yzi351: yum install rrdtool-1.3.8-1.el5.wrl.i386.rpm |
gpgcheck=0 is a problem - that is how your computer authenticates the downloaded package to make sure it is the same one you asked for and not, say, a malicious substitute.
I think rubyworks has instructions to add their yum repo. I take it RHN have not been helpful? |
All times are GMT -5. The time now is 10:04 AM. |