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


Attach the subscription :

subscription-manager attach --pool=<Pool-ID>



Comments

Popular posts from this blog

Some Questions for MTCNA Exam

ডিপ্লোমা লেভেল এর ইন্ডাস্ট্রিয়াল এটাচমেন্ট এ আসার পূর্বে একটু ভেবে আসার অনুরোধ রইলো

Basic Router & Switch IOS commands