[SOLVED] Error when trying to install repository - CentOS 5
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Error when trying to install repository - CentOS 5
I am very new to Linux. So, any suggestions are going to have to be spelled out quite basically for me to follow them. I am trying to install an RPM that should allow me to install NAGIOS on a CentOS 5 machine that I just installed.
The problem I'm running into is this. After typing in the following command as root in a terminal window to add a repository to yum so I can install nagios I get this:
Unfortunately I have already been to that site, when I enter in their command to install NAGIOS (see below)
[me@mymachine ~] yum install nagios nagios-plugins nagios-plugins-nrpe nagios-devel
I get a message about "NO PACKAGE NAGIOS AVAILABLE" and so on for each of the plugins as well. I assumed I needed the repositories installed for the above yum install line to work. Is that not the case?
I had not run "yum update". I just did that and its installing 90 updates I assume? I'll try the nagios install after that and see if it works. Back in a moment...
OK, that looks promising. The update option synchronizes to the repositories. So most likely after the updates you can install Nagios the normal way. Let's hope so. Looking forward to your next post.
In the meantime I've been searching Google in order to find what repo has to be added so that you can install Nagios. I found this site: RPMForge repository
That repository apparently contains the Nagios packages. Follow the instructions on that site to add the repository to your yum configuration and after that it should work.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.