Fix the the problem " There is no repository enabled in /etc/yum.repos.d "
Fix the problem in RedHat Linux:
There is no repository enabled in /etc/yum.repos.d
*** If you have no repository list in the redhat.repo file under /etc/yum.repos.d directory, then you have to follow below instruction step by step.
Un-register the system :
subscription-manager remove --all
subscription-manager unregister
subscription-manager clean
Re-register the system :
subscription-manager register
subscription-manager refresh
Search for the Pool ID :
subscription-manager list --available
subscription-manager attach --pool=<Pool-ID>
Comments
Post a Comment