Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

RHEL Developer subscription not finding repos

Tags:

rhel

I've been signed up for the Redhat Developer program for a while. I needed to do some tests in the RHEL 7.5 VM that had been working with the subscription program. When I reverted and did an update, I was able to get updates. However, I need to access some items via the downloads and had to change password on the site.

I unregistered my subscription and re-registered using new password. Now when I use subscription manager to list repos. It says returns:

$ sudo subscription-manager repos --list
This system has no repositories available through subscriptions.

It seems as though I have nothing but problems with subscription-manager. Is there something that I'm doing wrong with the Developer program?

like image 304
James Hubbard Avatar asked Nov 01 '25 13:11

James Hubbard


1 Answers

I finally found the answer in the RedHat knowledge base. I still don't understand why it's so difficult to use.

You may want to clean up first:

sudo subscription-manager remove --all
sudo subscription-manager unregister
sudo subscription-manager clean

Re-register and attach:

sudo subscription-manager register
sudo subscription-manager refresh
sudo subscription-manager attach --auto

List repost and attach:

Execute sudo subscription-manager repos --list-enabled to see all actually enabled subscriptions.
Execute sudo subscription-manager repos --list to see all subscriptions that are available for you.
Execute sudo subscription-manager repos --enable <repo> if you want to add additional repos.
like image 94
James Hubbard Avatar answered Nov 04 '25 18:11

James Hubbard