Command "yum repolist" always returns "repolist: 0" even if the system has subscribed correctly.

Solution Unverified - Updated -

Issue

  • When the system register, attach the pool-id, enable the repository, and then run yum repolist, it always shows repolist: 0.
# yum repolist
Loaded plugins: product-id, search-disabled-repos, subscription-manager
This system is registered with an entitlement server, but is not receiving updates. You can use subscription-manager to assign subscriptions.
repolist: 0

Environment

  • Red Hat Enterprise Linux 7

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

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content