yum repolist returns 0 after Red Hat Subscription Manager registration

Solution Verified - Updated -


  • File /etc/yum.repos.d/redhat.repo is empty after subscribing to RHSM
  • yum repolist returns 0 repositories available after subscribing to via subscription-manager:
[root@dhcp145-65 ~]# yum repolist
Loaded plugins: product-id, subscription-manager
This system is receiving updates from Red Hat Subscription Management.
repolist: 0


  • Red Hat Enterprise Linux
  • Certificate based management
  • Red Hat Subscription Management

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In