Installation error: package centos-release is not installed

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
JakeHatMacys
Posts: 281
Joined: Thu Sep 25, 2014 3:21 pm

Installation error: package centos-release is not installed

Post by JakeHatMacys »

I'm on a Redhat system, I know this happened before on the last box I installed on but I don't have in any of the threads what was done to fix it.

EDIT: Sorry sorta forgot to include the main error *Whistles*

Code: Select all

package centos-release is not installed
ERROR: Please add the 'Optional' channel to your Red Hat systems subscriptions.
       You can do so in the Redhat Network web interface or using the rhn-channel command.
       or, install the yum-utils package and use the following command:
       yum-config-manager --enable rhel-6-server-optional-rpms
RESULT=1

Ran:

Code: Select all

yum-config-manager --enable rhel-6-server-optional-rpms
Loaded plugins: product-id, rhnplugin
This system is receiving updates from RHN Classic or RHN Satellite.
Any thoughts?
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Installation error: package centos-release is not instal

Post by ssax »

Did you follow this part from the FAQ?
You need to add the Optional software channel so that Nagios XI can install the necessary prerequisites. To do so, first sign in to your Red Hat Network account at http://rhn.redhat.com/. Then click on the link corresponding to your system. Near the bottom-left corner of the page, click Alter Channel Subscriptions. Check the box labeled RHEL Server Optional and click Change Subscriptions. That's it! You should be able to run the installer again and complete your installation.
Run the command below and post the output:

Code: Select all

rhn-channel -l
JakeHatMacys
Posts: 281
Joined: Thu Sep 25, 2014 3:21 pm

Re: Installation error: package centos-release is not instal

Post by JakeHatMacys »

ssax wrote:Did you follow this part from the FAQ?
You need to add the Optional software channel so that Nagios XI can install the necessary prerequisites. To do so, first sign in to your Red Hat Network account at http://rhn.redhat.com/. Then click on the link corresponding to your system. Near the bottom-left corner of the page, click Alter Channel Subscriptions. Check the box labeled RHEL Server Optional and click Change Subscriptions. That's it! You should be able to run the installer again and complete your installation.
Run the command below and post the output:

Code: Select all

rhn-channel -l
# rhn-channel -l
macys-clone-rhel-x86_64-server-6.3
macys-clone-rhel-x86_64-server-supplementary-6
macys-clone-rhn-tools-rhel-x86_64-server-6
JakeHatMacys
Posts: 281
Joined: Thu Sep 25, 2014 3:21 pm

Re: Installation error: package centos-release is not instal

Post by JakeHatMacys »

One of the boxes that we already have Nagios installed on have:

rhn-channel -l
macys-clone-rhel-x86_64-server-6.3
macys-clone-rhel-x86_64-server-ha-6
macys-clone-rhel-x86_64-server-optional-6
macys-clone-rhel-x86_64-server-rs-6
macys-clone-rhel-x86_64-server-supplementary-6
macys-clone-rhn-tools-rhel-x86_64-server-6


So I've reached out to my Unix team to see if we can get parity... Hopefully that'll get me sorted.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Installation error: package centos-release is not instal

Post by ssax »

Yep, need to have optional on there, let us know if you run into any additional issues.
Locked