Error message with ‘yum update, yum install’ “This system is not registered with an entitlement server. You can use subscription-manager to register.”

Issue:

When trying to run “yum updates” or “yum install” the “system is not registered with an entitlement server” error message is given

This system is not registered with an entitlement server. You can use subscription-manager to register.

Cause:

This issue can be caused when the system has RHEL (RedHat) repositories installed (generally by mistake) or by old, bad, extra yum plugins.
 
 

Resolution:

To fix this issue follow the steps below:
 

1. In your preferred editor (vi, vim, nano, etc.) open the “subscription-manager.conf” file

sudo nano /etc/yum/pluginconf.d/subscription-manager.conf
 
 

2. Inside the “subscription-manager.conf” file change enabled to 0 and save the file

enabled=0
 
 

3. Lastly issue the “yum clean all” command

yum clean all
 
 

You should now be able to run “yum” properly with successful installations and updates.

RELATED POST

How to Install SFTPGo on Ubuntu 22.04

Setup UFW Firewall For security reasons, it is recommended to install and configure the UFW firewall in your system. First,…

Executing Bash Scripts at Startup in Ubuntu Linux

Creating a Bash script in Ubuntu To create a Bash script in Ubuntu, you can use any text editor of…

How To Clear PHP’s Opcache

PHP can be configured to store precompiled bytecode in shared memory, called Opcache. It prevents the loading and parsing of PHP…

iLO port configuration on HP servers + license

HP Integrated Lights-Out (iLO) Advanced License 34RQQ-6D5R4-G8NW3-LBMG6-MLJXR325WC-J9QJ7-495NG-CP7WZ-7GJMM iLO 2 Advanced features have been activated License Key: License Key: 35DPH-SVSXJ-HGBJN-C7N5R-2SS4W32Q8Y-XZVGQ-4SGJB-4KY3R-M9ZBN –…