Running yum commands on an RHSM registered system fails with warning message.
Issue
- Running any yum command gets a warning:
# yum clean all
Loaded plugins: changelog, downloadonly, product-id, refresh-packagekit,
: security, subscription-manager, tmprepo
Updating certificate-based repositories.
*** WARNING ***
The subscription for following product(s) has expired:
- Red Hat Enterprise Linux Server
You no longer have access to the repsoitories that
provide these products. It is important that you renew
these subscriptions immediatly to resume access to security
and other critical updates.
Cleaning repos: epel
Cleaning up Everything
Environment
- Red Hat Enterprise Linux 6,7
- Subscription Management (RHSM)
- Red Hat Satellite 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.