yum repolist returns 0 after Red Hat Subscription Manager registration

Solution Verified - Updated -

Issue

  • 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

Environment

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

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In