Yum Error: Nothing to do

Latest response

Whenever I try to install a package, I usually get this:

$ sudo yum install haskell-platform
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
No package haskell-platform available.
Error: Nothing to do

It happens for a variety of packages, including gcc-c++ which is kind of a problem.
What am I doing wrong?

Responses

Do you the repositories configured properly? If so, please run "yum repolist" and check. If that errors out then try to clean yum cache and populate the repository again using "yum clean all" and then "yum repolist".

When I run "yum repolist", I get:

Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager Repo rhel-7-desktop-rpms forced skip_if_unavailable=True due to: /etc/pki/entitlement/7831208215597700084-key.pem repo id repo name status !rhel-7-desktop-rpms/7Client/x86_64 Red Hat Enterprise Linux 7 Desktop (RPMs) 13,585 repolist: 13,585

I don't see the word "error" in there so I take that to mean "yum repolist" worked. But does that mean I have the repositories configured properly?

Hi James,

Yes, it looks as if the "rhel-7-desktop-rpms" repository is configured correctly to be used on the system.
You should see something like this (or did you set the skip_if_unavailable=true option explicitly ?) :
This means that you don't get any error messages in case yum fails when you search for system updates.

$ sudo yum repolist
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
!rhel-7-desktop-rpms/7Client/x86_64 Red Hat Enterprise Linux 7 Desktop (RPMs)

Execute sudo subscription-manager list to list subscription and product information for the system.
Execute sudo subscription-manager repos to list the repositories which the system is entitled to use.
Execute sudo subscription-manager repos --enable <repo> to enable those repos you want to use.

You can check in which repository a package is available here -> https://access.redhat.com/downloads/content/package-browser
Enable the matching repos, run sudo yum update and install ...

Cheers :)
Christian

Christian - Yes, I do get forced skip_if_unavailable=True explicitly.

Then there's a pki entitlement key. I already tried downloaded and installing new PKI keys and that hasn't changed the result.

I run the first 2 commands you suggested and got this:

+-------------------------------------------+ Installed Product Status +-------------------------------------------+ Product Name: Red Hat Enterprise Linux Desktop Product ID: 68 Version: 7.4 Arch: x86_64 Status: Subscribed Status Details: Starts: 10/15/2016 Ends: 10/15/2017

+----------------------------------------------------------+ Available Repositories in /etc/yum.repos.d/redhat.repo +----------------------------------------------------------+ Repo ID: rhel-7-desktop-rpms Repo Name: Red Hat Enterprise Linux 7 Desktop (RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/client/7/$releasever/$basearch/os Enabled: 1

Repo ID: rhel-7-desktop-openstack-7.0-tools-rpms Repo Name: Red Hat OpenStack Tools 7.0 for Red Hat Enterprise Linux 7 Desktop (RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/client/7/$releasever/$basearch/openstack-tools/7.0/os Enabled: 0

Repo ID: rhel-7-desktop-optional-source-rpms Repo Name: Red Hat Enterprise Linux 7 Desktop - Optional (Source RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/client/7/$releasever/$basearch/optional/source/SRPMS Enabled: 0

Repo ID: rhel-7-desktop-extras-rpms Repo Name: Red Hat Enterprise Linux 7 Desktop - Extras (RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/client/7/7Client/$basearch/extras/os Enabled: 0

Repo ID: rhel-7-desktop-openstack-9-tools-rpms Repo Name: Red Hat OpenStack Platform 9 Tools for RHEL 7 Desktop (RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/client/7/$releasever/$basearch/openstack-tools/9/os Enabled: 0

Repo ID: rhel-7-desktop-optional-beta-rpms Repo Name: Red Hat Enterprise Linux 7 Desktop - Optional Beta (RPMs) Repo URL: https://cdn.redhat.com/content/beta/rhel/client/7/$basearch/optional/os Enabled: 0

Repo ID: rhel-7-desktop-thirdparty-oracle-java-rpms Repo Name: Red Hat Enterprise Linux 7 Desktop - Oracle Java (RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/client/7/$releasever/$basearch/oracle-java/os Enabled: 0

Repo ID: rhel-7-desktop-supplementary-beta-debug-rpms Repo Name: Red Hat Enterprise Linux 7 Desktop - Supplementary Beta (Debug RPMs) Repo URL: https://cdn.redhat.com/content/beta/rhel/client/7/$basearch/supplementary/debug Enabled: 0

Repo ID: rhel-7-desktop-source-rpms Repo Name: Red Hat Enterprise Linux 7 Desktop (Source RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/client/7/$releasever/$basearch/source/SRPMS Enabled: 0

Repo ID: rhel-7-desktop-openstack-8-tools-rpms Repo Name: Red Hat OpenStack Platform 8 Tools for RHEL 7 Desktop (RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/client/7/$releasever/$basearch/openstack-tools/8/os Enabled: 0

Repo ID: rhel-7-desktop-rhceph-2-tools-debug-rpms Repo Name: Red Hat Ceph Storage Tools 2 for Red Hat Enterprise Linux 7 Desktop (Debug RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/client/7/$releasever/$basearch/ceph-tools/2/debug Enabled: 0

Repo ID: rhel-7-desktop-beta-rpms Repo Name: Red Hat Enterprise Linux 7 Desktop Beta (RPMs) Repo URL: https://cdn.redhat.com/content/beta/rhel/client/7/$basearch/os Enabled: 0

Repo ID: rhel-7-desktop-satellite-tools-6.1-source-rpms Repo Name: Red Hat Satellite Tools 6.1 (for RHEL 7 Desktop) (Source RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/client/7/7Client/$basearch/sat-tools/6.1/source/SRPMS Enabled: 0

Repo ID: rhel-7-desktop-openstack-8-tools-debug-rpms Repo Name: Red Hat OpenStack Platform 8 Tools for RHEL 7 Desktop (Debug RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/client/7/$releasever/$basearch/openstack-tools/8/debug Enabled: 0

Repo ID: rhel-7-desktop-satellite-tools-6.2-debug-rpms Repo Name: Red Hat Satellite Tools 6.2 (for RHEL 7 Desktop) (Debug RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/client/7/7Client/$basearch/sat-tools/6.2/debug Enabled: 0

Repo ID: rhel-7-desktop-thirdparty-oracle-java-source-rpms Repo Name: Red Hat Enterprise Linux 7 Desktop - Oracle Java (Source RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/client/7/$releasever/$basearch/oracle-java/source/SRPMS Enabled: 0

Repo ID: rhel-7-desktop-openstack-10-tools-source-rpms Repo Name: Red Hat OpenStack Platform 10 Tools for RHEL 7 Desktop (Source RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/client/7/$releasever/$basearch/openstack-tools/10/source/SRPMS Enabled: 0

Repo ID: rhel-7-desktop-openstack-7.0-tools-source-rpms Repo Name: Red Hat OpenStack Tools 7.0 for Red Hat Enterprise Linux 7 Desktop (Source RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/client/7/$releasever/$basearch/openstack-tools/7.0/source/SRPMS Enabled: 0

Repo ID: rhel-7-desktop-rhn-tools-beta-source-rpms Repo Name: RHN Tools for Red Hat Enterprise Linux 7 Desktop Beta (Source RPMs) Repo URL: https://cdn.redhat.com/content/beta/rhel/client/7/$basearch/rhn-tools/source/SRPMS Enabled: 0

Repo ID: rhel-7-desktop-openstack-10-tools-debug-rpms Repo Name: Red Hat OpenStack Platform 10 Tools for RHEL 7 Desktop (Debug RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/client/7/$releasever/$basearch/openstack-tools/10/debug Enabled: 0

Repo ID: rhel-7-desktop-rh-common-beta-debug-rpms Repo Name: Red Hat Enterprise Linux 7 Desktop - RH Common Beta (Debug RPMs) Repo URL: https://cdn.redhat.com/content/beta/rhel/client/7/$basearch/rh-common/debug Enabled: 0

Repo ID: rhel-7-desktop-fastrack-rpms Repo Name: Red Hat Enterprise Linux 7 Desktop - Fastrack (RPMs) Repo URL: https://cdn.redhat.com/content/fastrack/rhel/client/7/$basearch/os Enabled: 0

Repo ID: rhel-7-desktop-satellite-tools-6.2-rpms Repo Name: Red Hat Satellite Tools 6.2 (for RHEL 7 Desktop) (RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/client/7/7Client/$basearch/sat-tools/6.2/os Enabled: 0

Repo ID: rhel-7-desktop-openstack-8-tools-source-rpms Repo Name: Red Hat OpenStack Platform 8 Tools for RHEL 7 Desktop (Source RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/client/7/$releasever/$basearch/openstack-tools/8/source/SRPMS Enabled: 0

Repo ID: rhel-7-desktop-rhn-tools-source-rpms Repo Name: RHN Tools for Red Hat Enterprise Linux 7 Desktop (Source RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/client/7/$releasever/$basearch/rhn-tools/source/SRPMS Enabled: 0

Repo ID: rhel-7-desktop-rhceph-1.3-tools-rpms Repo Name: Red Hat Ceph Storage Tools 1.3 for Red Hat Enterprise Linux 7 Desktop (RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/client/7/$releasever/$basearch/ceph-tools/1.3/os Enabled: 0

Repo ID: rhel-7-desktop-satellite-tools-6-beta-rpms Repo Name: Red Hat Satellite Tools 6 Beta (for RHEL 7 Desktop) (RPMs) Repo URL: https://cdn.redhat.com/content/beta/rhel/client/7/$basearch/sat-tools/6/os Enabled: 0

Repo ID: rhel-7-desktop-optional-fastrack-source-rpms Repo Name: Red Hat Enterprise Linux 7 Desktop - Optional Fastrack (Source RPMs) Repo URL: https://cdn.redhat.com/content/fastrack/rhel/client/7/$basearch/optional/source/SRPMS Enabled: 0

Repo ID: rhel-7-desktop-optional-fastrack-rpms Repo Name: Red Hat Enterprise Linux 7 Desktop - Optional Fastrack (RPMs) Repo URL: https://cdn.redhat.com/content/fastrack/rhel/client/7/$basearch/optional/os Enabled: 0

Repo ID: rhel-7-desktop-rh-common-debug-rpms Repo Name: Red Hat Enterprise Linux 7 Desktop - RH Common (Debug RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/client/7/$releasever/$basearch/rh-common/debug Enabled: 0

Repo ID: rhel-7-desktop-optional-rpms Repo Name: Red Hat Enterprise Linux 7 Desktop - Optional (RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/client/7/$releasever/$basearch/optional/os Enabled: 0

Repo ID: rhel-7-desktop-openstack-9-tools-debug-rpms Repo Name: Red Hat OpenStack Platform 9 Tools for RHEL 7 Desktop (Debug RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/client/7/$releasever/$basearch/openstack-tools/9/debug Enabled: 0

Repo ID: rhel-7-desktop-supplementary-rpms Repo Name: Red Hat Enterprise Linux 7 Desktop - Supplementary (RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/client/7/$releasever/$basearch/supplementary/os Enabled: 0

Repo ID: rhel-7-desktop-thirdparty-oracle-java-beta-source-rpms Repo Name: Red Hat Enterprise Linux 7 Desktop - Oracle Java Beta (Source RPMs) Repo URL: https://cdn.redhat.com/content/beta/rhel/client/7/$basearch/oracle-java/source/SRPMS Enabled: 0

Repo ID: rhel-7-desktop-supplementary-beta-source-rpms Repo Name: Red Hat Enterprise Linux 7 Desktop - Supplementary Beta (Source RPMs) Repo URL: https://cdn.redhat.com/content/beta/rhel/client/7/$basearch/supplementary/source/SRPMS Enabled: 0

Repo ID: rhel-7-desktop-rhn-tools-rpms Repo Name: RHN Tools for Red Hat Enterprise Linux 7 Desktop (RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/client/7/$releasever/$basearch/rhn-tools/os Enabled: 0

Repo ID: rhel-7-desktop-supplementary-source-rpms Repo Name: Red Hat Enterprise Linux 7 Desktop - Supplementary (Source RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/client/7/$releasever/$basearch/supplementary/source/SRPMS Enabled: 0

Repo ID: rhel-7-desktop-satellite-tools-6.2-source-rpms Repo Name: Red Hat Satellite Tools 6.2 (for RHEL 7 Desktop) (Source RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/client/7/7Client/$basearch/sat-tools/6.2/source/SRPMS Enabled: 0

Repo ID: rhel-7-desktop-rhn-tools-beta-rpms Repo Name: RHN Tools for Red Hat Enterprise Linux 7 Desktop Beta (RPMs) Repo URL: https://cdn.redhat.com/content/beta/rhel/client/7/$basearch/rhn-tools/os Enabled: 0

Repo ID: rhel-7-desktop-openstack-10-tools-rpms Repo Name: Red Hat OpenStack Platform 10 Tools for RHEL 7 Desktop (RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/client/7/$releasever/$basearch/openstack-tools/10/os Enabled: 0

Repo ID: rhel-7-desktop-rhceph-1.3-tools-source-rpms Repo Name: Red Hat Ceph Storage Tools 1.3 for Red Hat Enterprise Linux 7 Desktop (Source RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/client/7/$releasever/$basearch/ceph-tools/1.3/source/SRPMS Enabled: 0

Repo ID: rhel-7-desktop-satellite-tools-6-beta-debug-rpms Repo Name: Red Hat Satellite Tools 6 Beta (for RHEL 7 Desktop) (Debug RPMs) Repo URL: https://cdn.redhat.com/content/beta/rhel/client/7/$basearch/sat-tools/6/debug Enabled: 0

Repo ID: rhel-7-desktop-debug-rpms Repo Name: Red Hat Enterprise Linux 7 Desktop (Debug RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/client/7/$releasever/$basearch/debug Enabled: 0

Repo ID: rhel-7-desktop-openstack-7.0-tools-debug-rpms Repo Name: Red Hat OpenStack Tools 7.0 for Red Hat Enterprise Linux 7 Desktop (Debug RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/client/7/$releasever/$basearch/openstack-tools/7.0/debug Enabled: 0

Repo ID: rhel-7-desktop-optional-beta-source-rpms Repo Name: Red Hat Enterprise Linux 7 Desktop - Optional Beta (Source RPMs) Repo URL: https://cdn.redhat.com/content/beta/rhel/client/7/$basearch/optional/source/SRPMS Enabled: 0

Repo ID: rhel-7-desktop-openstack-11-tools-rpms Repo Name: Red Hat OpenStack Platform 11 Tools for RHEL 7 Desktop (RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/client/7/7Client/$basearch/openstack-tools/11/os Enabled: 0

Repo ID: rhel-7-desktop-fastrack-debug-rpms Repo Name: Red Hat Enterprise Linux 7 Desktop - Fastrack (Debug RPMs) Repo URL: https://cdn.redhat.com/content/fastrack/rhel/client/7/$basearch/debug Enabled: 0

Repo ID: rhel-7-desktop-satellite-tools-6.1-rpms Repo Name: Red Hat Satellite Tools 6.1 (for RHEL 7 Desktop) (RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/client/7/7Client/$basearch/sat-tools/6.1/os Enabled: 0

Repo ID: rhel-7-desktop-supplementary-beta-rpms Repo Name: Red Hat Enterprise Linux 7 Desktop - Supplementary Beta (RPMs) Repo URL: https://cdn.redhat.com/content/beta/rhel/client/7/$basearch/supplementary/os Enabled: 0

Repo ID: rhel-7-desktop-satellite-tools-6.1-debug-rpms Repo Name: Red Hat Satellite Tools 6.1 (for RHEL 7 Desktop) (Debug RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/client/7/7Client/$basearch/sat-tools/6.1/debug Enabled: 0

Repo ID: rhel-7-desktop-optional-debug-rpms Repo Name: Red Hat Enterprise Linux 7 Desktop - Optional (Debug RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/client/7/$releasever/$basearch/optional/debug Enabled: 0

Repo ID: rhel-7-desktop-optional-fastrack-debug-rpms Repo Name: Red Hat Enterprise Linux 7 Desktop - Optional Fastrack (Debug RPMs) Repo URL: https://cdn.redhat.com/content/fastrack/rhel/client/7/$basearch/optional/debug Enabled: 0

Repo ID: rhel-7-desktop-satellite-tools-6-beta-source-rpms Repo Name: Red Hat Satellite Tools 6 Beta (for RHEL 7 Desktop) (Source RPMs) Repo URL: https://cdn.redhat.com/content/beta/rhel/client/7/$basearch/sat-tools/6/source/SRPMS Enabled: 0

Repo ID: rhel-7-desktop-fastrack-source-rpms Repo Name: Red Hat Enterprise Linux 7 Desktop - Fastrack (Source RPMs) Repo URL: https://cdn.redhat.com/content/fastrack/rhel/client/7/$basearch/source/SRPMS Enabled: 0

Repo ID: rhel-7-desktop-openstack-11-tools-source-rpms Repo Name: Red Hat OpenStack Platform 11 Tools for RHEL 7 Desktop (Source RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/client/7/7Client/$basearch/openstack-tools/11/source/SRPMS Enabled: 0

Repo ID: rhel-7-desktop-openstack-11-tools-debug-rpms Repo Name: Red Hat OpenStack Platform 11 Tools for RHEL 7 Desktop (Debug RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/client/7/7Client/$basearch/openstack-tools/11/debug Enabled: 0

Repo ID: rhel-7-desktop-beta-debug-rpms Repo Name: Red Hat Enterprise Linux 7 Desktop Beta (Debug RPMs) Repo URL: https://cdn.redhat.com/content/beta/rhel/client/7/$basearch/debug Enabled: 0

Repo ID: rhel-7-desktop-rh-common-rpms Repo Name: Red Hat Enterprise Linux 7 Desktop - RH Common (RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/client/7/$releasever/$basearch/rh-common/os Enabled: 0

Repo ID: rhel-7-desktop-rhceph-2-tools-source-rpms Repo Name: Red Hat Ceph Storage Tools 2 for Red Hat Enterprise Linux 7 Desktop (Source RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/client/7/$releasever/$basearch/ceph-tools/2/source/SRPMS Enabled: 0

Repo ID: rhel-7-desktop-supplementary-debug-rpms Repo Name: Red Hat Enterprise Linux 7 Desktop - Supplementary (Debug RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/client/7/$releasever/$basearch/supplementary/debug Enabled: 0

Repo ID: rhel-7-desktop-optional-beta-debug-rpms Repo Name: Red Hat Enterprise Linux 7 Desktop - Optional Beta (Debug RPMs) Repo URL: https://cdn.redhat.com/content/beta/rhel/client/7/$basearch/optional/debug Enabled: 0

Repo ID: rhel-7-desktop-thirdparty-oracle-java-beta-rpms Repo Name: Red Hat Enterprise Linux 7 Desktop - Oracle Java Beta (RPMs) Repo URL: https://cdn.redhat.com/content/beta/rhel/client/7/$basearch/oracle-java/os Enabled: 0

Repo ID: rhel-7-desktop-rhn-tools-beta-debug-rpms Repo Name: RHN Tools for Red Hat Enterprise Linux 7 Desktop Beta (Debug RPMs) Repo URL: https://cdn.redhat.com/content/beta/rhel/client/7/$basearch/rhn-tools/debug Enabled: 0

Repo ID: rhel-7-desktop-rh-common-beta-rpms Repo Name: Red Hat Enterprise Linux 7 Desktop - RH Common Beta (RPMs) Repo URL: https://cdn.redhat.com/content/beta/rhel/client/7/$basearch/rh-common/os Enabled: 0

Repo ID: rhel-7-desktop-rhceph-2-tools-rpms Repo Name: Red Hat Ceph Storage Tools 2 for Red Hat Enterprise Linux 7 Desktop (RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/client/7/$releasever/$basearch/ceph-tools/2/os Enabled: 0

Repo ID: rhel-7-desktop-rh-common-beta-source-rpms Repo Name: Red Hat Enterprise Linux 7 Desktop - RH Common Beta (Source RPMs) Repo URL: https://cdn.redhat.com/content/beta/rhel/client/7/$basearch/rh-common/source/SRPMS Enabled: 0

Repo ID: rhel-7-desktop-rhn-tools-debug-rpms Repo Name: RHN Tools for Red Hat Enterprise Linux 7 Desktop (Debug RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/client/7/$releasever/$basearch/rhn-tools/debug Enabled: 0

Repo ID: rhel-7-desktop-extras-source-rpms Repo Name: Red Hat Enterprise Linux 7 Desktop - Extras (Source RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/client/7/7Client/$basearch/extras/source/SRPMS Enabled: 0

Repo ID: rhel-7-desktop-rh-common-source-rpms Repo Name: Red Hat Enterprise Linux 7 Desktop - RH Common (Source RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/client/7/$releasever/$basearch/rh-common/source/SRPMS Enabled: 0

Repo ID: rhel-7-desktop-rhceph-1.3-tools-debug-rpms Repo Name: Red Hat Ceph Storage Tools 1.3 for Red Hat Enterprise Linux 7 Desktop (Debug RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/client/7/$releasever/$basearch/ceph-tools/1.3/debug Enabled: 0

Repo ID: rhel-7-desktop-beta-source-rpms Repo Name: Red Hat Enterprise Linux 7 Desktop Beta (Source RPMs) Repo URL: https://cdn.redhat.com/content/beta/rhel/client/7/$basearch/source/SRPMS Enabled: 0

Repo ID: rhel-7-desktop-openstack-9-tools-source-rpms Repo Name: Red Hat OpenStack Platform 9 Tools for RHEL 7 Desktop (Source RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/client/7/$releasever/$basearch/openstack-tools/9/source/SRPMS Enabled: 1

Repo ID: rhel-7-desktop-extras-debug-rpms Repo Name: Red Hat Enterprise Linux 7 Desktop - Extras (Debug RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/client/7/7Client/$basearch/extras/debug Enabled: 0

I read the titles of these repos and I'm not sure makes one different from another. Are these repos for different RH variants?

James, you got the subscription for Desktop channel not for server channels and the packages which you were looking are mostly under "Server", this could be the reason why you were unable to install those packages.

Hence, you may need to activate proper subscription and then use "yum" to install packages as required. Otherwise, you may pull out required packages on a system which is subscribed (using "yumdownloader", available with yum-utils package) and then move them, or mount an ISO image of RHEL7.x and create a local repository and install packages.

How to enable/disable a repository using Red Hat Subscription Manager?

I hope this helps.

No James, these repositories are not for different RHEL editions, they are available for the system you have subscribed to. In those repositories are different packages ... so, when you want to install something, you eventually have to enable additional repositories. To gain access to more software packages, I generally recommend to add the extras and the optional repositories for example.

sudo subscription-manager repos --enable rhel-7-desktop-extras-rpms
sudo subscription-manager repos --enable rhel-7-desktop-optional-rpms

Regards,
Christian

This solved the problem. Thank you!

Great James, you're welcome !
I'm glad that we've got it done.

Cheers :)
Christian

I tried that and it didn't seem to have any effect in my situation. I can see how faulty subscription keys would prevent the update from working, so it sounds like a reasonable thing to try. I suspect the PKI keys were valid to begin with, but it's possible that downloading new ones was just one of several steps to a solution.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.