We've setup RHEL6 on a new server. As far as we can tell, our subscription is all setup properly. However, when I run
yum repolist, it doesn't show any repositories. /etc/yum.repos.d/redhat.repo is empty. I tried pasting in the content from another RHEL6 server's redhat.repo but as soon as I run
yum, it wipes it out again. I just need to get the basic RedHat repositories setup so I can install packages.
To make sure I wasn't having a subscription issue. I re-registered and re-subscribed. I get all the same results.
# subscription-manager register --force # subscription-manager subscribe --pool=*redacted*
When I log in to RedHat customer portal, it shows that subscription as active.
Using the GUI, I went to System > Administration > Red Hat Subscription Manager. Under the 'Products' tab, it did not show any products.
When I run
yum update, here's what I get:
# yum update Loaded plugins: product-id, refresh-packagekit, security, subscription-manager This system is receiving updates from Red Hat Subscription Management. Setting up Update Process No Packages marked for Update
[main] cachedir=/var/cache/yum/$basearch/$releasever keepcache=0 debuglevel=2 logfile=/var/log/yum.log exactarch=1 obsoletes=1 gpgcheck=1 plugins=1 installonly_limit=3
[main] enabled = 0 gpgcheck = 1