Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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 )
Next is the log:
Code:
root@yzi351:/tmp$ yum list rrdtool
Loaded plugins: security
Available Packages
rrdtool.i386 1.3.8-2.el5.rf rpmforge
Install log:
Code:
root@yzi351:/tmp$ yum install rrdtool.i386
Loaded plugins: security
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package rrdtool.i386 0:1.3.8-2.el5.rf set to be updated
--> Processing Dependency: ruby for package: rrdtool
--> Processing Dependency: perl(RRDs) for package: rrdtool
--> Processing Dependency: perl(RRDp) for package: rrdtool
--> Running transaction check
---> Package perl-rrdtool.i386 0:1.3.8-2.el5.rf set to be updated
---> Package rrdtool.i386 0:1.3.8-2.el5.rf set to be updated
--> Processing Dependency: ruby for package: rrdtool
--> Finished Dependency Resolution
rrdtool-1.3.8-2.el5.rf.i386 from rpmforge has depsolving problems
--> Missing Dependency: ruby is needed by package rrdtool-1.3.8-2.el5.rf.i386 (rpmforge)
rrdtool-1.3.8-2.el5.rf.i386 from rpmforge has depsolving problems
--> Missing Dependency: ruby is needed by package rrdtool-1.3.8-2.el5.rf.i386 (rpmforge)
Error: Missing Dependency: ruby is needed by package rrdtool-1.3.8-2.el5.rf.i386 (rpmforge)
But here is where the problem appears.
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
Loaded plugins: security
Error: No matching Packages to list
And even when I try this, it fails:
Code:
root@yzi351:/tmp$ yum install ruby
Loaded plugins: security
Setting up Install Process
Parsing package install arguments
No package ruby available.
Nothing to do
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 :/
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
Code:
root@yzi351: yum install ruby-rrdtool.i386
Loaded plugins: security
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package ruby-rrdtool.i386 0:1.3.8-2.el5.rf set to be updated
--> Processing Dependency: rrdtool = 1.3.8 for package: ruby-rrdtool
--> Processing Dependency: librrd.so.4 for package: ruby-rrdtool
--> Processing Dependency: libruby.so.1.8 for package: ruby-rrdtool
--> Processing Dependency: ruby-devel for package: ruby-rrdtool
--> Running transaction check
---> Package rrdtool.i386 0:1.3.8-2.el5.rf set to be updated
--> Processing Dependency: ruby for package: rrdtool
--> Processing Dependency: perl(RRDs) for package: rrdtool
--> Processing Dependency: perl(RRDp) for package: rrdtool
---> Package ruby-rrdtool.i386 0:1.3.8-2.el5.rf set to be updated
--> Processing Dependency: libruby.so.1.8 for package: ruby-rrdtool
--> Processing Dependency: ruby-devel for package: ruby-rrdtool
--> Running transaction check
---> Package perl-rrdtool.i386 0:1.3.8-2.el5.rf set to be updated
---> Package rrdtool.i386 0:1.3.8-2.el5.rf set to be updated
--> Processing Dependency: ruby for package: rrdtool
---> Package ruby-rrdtool.i386 0:1.3.8-2.el5.rf set to be updated
--> Processing Dependency: libruby.so.1.8 for package: ruby-rrdtool
--> Processing Dependency: ruby-devel for package: ruby-rrdtool
--> Finished Dependency Resolution
ruby-rrdtool-1.3.8-2.el5.rf.i386 from rpmforge has depsolving problems
--> Missing Dependency: ruby-devel is needed by package ruby-rrdtool-1.3.8-2.el5.rf.i386 (rpmforge)
rrdtool-1.3.8-2.el5.rf.i386 from rpmforge has depsolving problems
--> Missing Dependency: ruby is needed by package rrdtool-1.3.8-2.el5.rf.i386 (rpmforge)
ruby-rrdtool-1.3.8-2.el5.rf.i386 from rpmforge has depsolving problems
--> Missing Dependency: libruby.so.1.8 is needed by package ruby-rrdtool-1.3.8-2.el5.rf.i386 (rpmforge)
Error: Missing Dependency: ruby is needed by package rrdtool-1.3.8-2.el5.rf.i386 (rpmforge)
Error: Missing Dependency: ruby-devel is needed by package ruby-rrdtool-1.3.8-2.el5.rf.i386 (rpmforge)
Error: Missing Dependency: libruby.so.1.8 is needed by package ruby-rrdtool-1.3.8-2.el5.rf.i386 (rpmforge)
Same when I try installing ruby-rpm:
Code:
root@yzi351: yum install ruby-rpm.i386
Loaded plugins: security
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package ruby-rpm.i386 0:1.2.3-1.el5.rf set to be updated
--> Processing Dependency: ruby >= 1.8.1 for package: ruby-rpm
--> Processing Dependency: libdb-4.2.so for package: ruby-rpm
--> Processing Dependency: libruby.so.1.8 for package: ruby-rpm
--> Finished Dependency Resolution
ruby-rpm-1.2.3-1.el5.rf.i386 from rpmforge has depsolving problems
--> Missing Dependency: ruby >= 1.8.1 is needed by package ruby-rpm-1.2.3-1.el5.rf.i386 (rpmforge)
ruby-rpm-1.2.3-1.el5.rf.i386 from rpmforge has depsolving problems
--> Missing Dependency: libruby.so.1.8 is needed by package ruby-rpm-1.2.3-1.el5.rf.i386 (rpmforge)
ruby-rpm-1.2.3-1.el5.rf.i386 from rpmforge has depsolving problems
--> Missing Dependency: libdb-4.2.so is needed by package ruby-rpm-1.2.3-1.el5.rf.i386 (rpmforge)
Error: Missing Dependency: libruby.so.1.8 is needed by package ruby-rpm-1.2.3-1.el5.rf.i386 (rpmforge)
Error: Missing Dependency: libdb-4.2.so is needed by package ruby-rpm-1.2.3-1.el5.rf.i386 (rpmforge)
Error: Missing Dependency: ruby >= 1.8.1 is needed by package ruby-rpm-1.2.3-1.el5.rf.i386 (rpmforge)
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...
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
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).
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:
I just sent a email to RedHat Official Support (as in France, hardly anybody works on Friday afternoon -_-)
Cool - don't expect immediate feedback - but since you have commercial support you aught to use it, just on principle.
Quote:
If anybody heard about some problems dealing with ruby on RHEL, feel free to post!
There is a positive lack of problems with ruby in RHEL - the very fact that all howtos about installing ruby and related fail to mention anything special you have to do to get hold of it speaks to how this is supposed to be a no brainer.
While waiting for RHN to get back to you, you can still investigate your repolist - as others have suggested. See what we can see.
Last edited by Simon Bridge; 08-08-2009 at 02:33 AM.
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
I downloaded the ruby-1.8.6.111-1.i386.rpm from Simon Bridge post.
Tried to install it with yum:
Code:
root@yzi351: yum install ruby-1.8.6.111-1.i386.rpm
...
Error: Missing Dependency: ruby-devel is needed by package ruby-rrdtool-1.3.8-2.el5.rf.i386 (rpmforge)
Error: Missing Dependency: libruby.so.1.8 is needed by package ruby-rrdtool-1.3.8-2.el5.rf.i386 (rpmforge)
Next, I tried to install ruby-libs-1.8.6.111-1.i386.rpm to solve dependencies problems:
Code:
root@yzi351:yum install uby-libs-1.8.6.111-1.i386.rpm
Loaded plugins: security
Setting up Install Process
Parsing package install arguments
Examining ruby-libs-1.8.6.111-1.i386.rpm: ruby-libs-1.8.6.111-1.i386
Marking ruby-libs-1.8.6.111-1.i386.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package ruby-libs.i386 0:1.8.6.111-1 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
===================================================================================================================================================
Package Arch Version Repository Size
===================================================================================================================================================
Installing:
ruby-libs i386 1.8.6.111-1 ruby-libs-1.8.6.111-1.i386.rpm 2.6 M
Transaction Summary
===================================================================================================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 2.6 M
Is this ok [y/N]: y
Downloading Packages:
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 106de074
Public key for ruby-libs-1.8.6.111-1.i386.rpm is not installed
I searched for answers about this NOKEY case, and found tips.
I first made the next line to find where the GPG's are (needed to verify the key from the .rpm if I understood well):
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.