Unable to reinstall Subscription-Manager and it's dependency packages on RHEL 8

Solution Verified - Updated -

Issue

  • Accidentally removed critical system packages including subscription-manager
  • Failed to reinstall subscription-manager using yum or dnf with the following error due to Red Hat repositories are missing:

     $ yum reinstall subscription-manager
      No match for argument: subscription-manager
      Error: Unable to find a match: subscription-manager
    

Environment

  • Red Hat Enterprise Linux 8

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