Hide Forgot
Description of problem: Currently, subscription-manager repos --list requires that you be registered before it can be called. I suspect that this requirement is not necessary. Version-Release number of selected component (if applicable): [root@jsefler-onprem-62server ~]# rpm -q subscription-manager subscription-manager-0.96.4-1.git.47.e65faae.el6.x86_64 How reproducible: Steps to Reproduce: # subscription-manager unregister This system is currently not registered. # subscription-manager repos --list Consumer not registered. Please register using --username and --password ^^^^ If this restriction is removed, then the expected output would be: The system is not entitled to use any repositories.
Fixed in master at be369b5fdb9683a7fa93637794b5990eb9bb768f.
Verifying Version... [root@jsefler-onprem-62server ~]# rpm -q subscription-manager subscription-manager-0.96.4-1.git.54.5de26be.el6.x86_64 [root@jsefler-onprem-62server ~]# subscription-manager unregister This system is currently not registered. [root@jsefler-onprem-62server ~]# subscription-manager repos --list The system is not entitled to use any repositories. [root@jsefler-onprem-62server ~]# yum repolist Loaded plugins: product-id, refresh-packagekit, subscription-manager Updating certificate-based repositories. repolist: 0 ^^^^ Verified. The system is not entitled to use any repositories, and in fact, the system has no enabled repos.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2011-1695.html