Page 1 of 1

Installation error: package centos-release is not installed

Posted: Mon Apr 13, 2015 12:24 pm
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?

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

Posted: Mon Apr 13, 2015 1:00 pm
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

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

Posted: Mon Apr 13, 2015 1:05 pm
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

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

Posted: Mon Apr 13, 2015 1:11 pm
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.

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

Posted: Mon Apr 13, 2015 1:14 pm
by ssax
Yep, need to have optional on there, let us know if you run into any additional issues.