`dnf install satellite` reports "Unable to find a match: satellite" while installing Red Hat Satellite 6.13
Environment
- Red Hat Enterprise Linux 8.7
- Red Hat Satellite 6.13
Issue
- When I enter
dnf install satellite(as per step "2" in 3.5. Installing Satellite Server Packages, I get the error: "Unable to find a match: satellite" - I tried to verify the package with
dnf list --available --repo satellite-6.13-for-rhel-8-x86_64-rpmsbut it gives only the package rubygem-qpid_proton.x86_64 package, and no satellite package.
Resolution
Apply the steps in the Diagnostic Steps section of this KB solution to verify whether you are facing the exact issue described here. If the outcome from the steps you perform matches with the description in the Diagnostic Steps section, then perform the following steps:
- Enable the
satellite:el8module stream using the following command:
# dnf module enable satellite:el8
- Verify whether the
satellite:el8module stream was successfully enabled or not using the following command:
# dnf --assumeno module list | grep satellite
-
If the
satellite:el8module stream was successfully enabled, proceed by running satellite installer as per step (2) in 3.5. Installing Satellite Server Packages. Otherwise, proceed to step (4) below. -
Verify whether the
ruby:2.7module stream is enabled or not:
# dnf --assumeno module list | grep ruby
The following output indicates that it isn't:
# dnf --assumeno module list | grep ruby
ruby 2.5 [d] common [d] An interpreter of object-oriented scripting language
ruby 2.6 common [d] An interpreter of object-oriented scripting language
ruby 2.7 common [d] An interpreter of object-oriented scripting language
ruby 3.0 common [d] An interpreter of object-oriented scripting language
ruby 3.1 common [d] An interpreter of object-oriented scripting language
If it is enabled, the output should look like:
# dnf --assumeno module list | grep ruby
ruby 2.5 [d] common [d] An interpreter of object-oriented scripting language
ruby 2.6 common [d] An interpreter of object-oriented scripting language
ruby 2.7 [e] common [d] An interpreter of object-oriented scripting language
ruby 3.0 common [d] An interpreter of object-oriented scripting language
ruby 3.1 common [d] An interpreter of object-oriented scripting language
- Based on step (4) above, if the
ruby:2.7module stream is disabled, enable it using the following command:
# dnf module enable ruby:2.7
then verify whether it was successfully enabled or not using the following command:
# dnf --assumeno module list | grep ruby
- Verify whether the
postgresql:12module stream is enabled or not:
# dnf --assumeno module list | grep postgresql
The following output indicates that it isn't:
# dnf --assumeno module list | grep postgresql
postgresql 9.6 client, server [d] PostgreSQL server and client module
postgresql 10 [d][e] client, server [d] PostgreSQL server and client module
postgresql 12 client, server [d] PostgreSQL server and client module
postgresql 13 client, server [d] PostgreSQL server and client module
postgresql 15 client, server [d] PostgreSQL server and client module
If it is enabled, the output should look like:
# dnf --assumeno module list | grep postgresql
postgresql 9.6 client, server [d] PostgreSQL server and client module
postgresql 10 [d] client, server [d] PostgreSQL server and client module
postgresql 12 [e] client, server [d] PostgreSQL server and client module
postgresql 13 client, server [d] PostgreSQL server and client module
postgresql 15 client, server [d] PostgreSQL server and client module
- Based on step (6) above, if the
postgresql:12module stream is disabled, enable it using the following command:
# dnf module enable postgresql:12
then verify whether it was successfully enabled or not using the following command:
# dnf --assumeno module list | grep postgresql
- proceed by running satellite installer as per step (2) in 3.5. Installing Satellite Server Packages.
For more KB articles/solutions related to Red Hat Satellite 6.x Installation/Upgrade/Update Issues, please refer to the Red Hat Satellite Consolidated Troubleshooting Article for Red Hat Satellite 6.x Installation/Upgrade/Update Issues.
Diagnostic Steps
-
Verify that the host is registered properly to the Red Hat CDN:
# subscription-manager identity system identity: bf7d7bfc-cc09-4597-b693-3ae9cc319419 name: hostXYZ org name: 6365830 org ID: 6365830 -
Confirm that the host is entitled to access content from the Red Hat CDN:
# subscription-manager status +-------------------------------------------+ System Status Details +-------------------------------------------+ Overall Status: Disabled Content Access Mode is set to Simple Content Access. This host has access to content, regardless of subscription status. System Purpose Status: Disabled -
Verify whether the repositories required for the Red Hat Satellite 6.13 installation are enabled on the host or not:
# yum -C repolist Updating Subscription Management repositories. repo id repo name rhel-8-for-x86_64-appstream-rpms Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs) rhel-8-for-x86_64-baseos-rpms Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs) satellite-6.13-for-rhel-8-x86_64-rpms Red Hat Satellite 6.13 for RHEL 8 x86_64 (RPMs) satellite-maintenance-6.13-for-rhel-8-x86_64-rpms Red Hat Satellite Maintenance 6.13 for RHEL 8 x86_64 (RPMs) -
Verify whether the
satellite:el8module stream is enabled or not:# dnf --assumeno module list | grep satelliteThe following output indicates that it isn't:
# dnf --assumeno module list | grep satellite satellite-5-client 1.0 [d][e] common [d], gui Red Hat Satellite 5 client packages satellite el8 Satellite moduleIf it is enabled, the output should look like:
# dnf --assumeno module list | grep satellite satellite-5-client 1.0 [d] common [d], gui Red Hat Satellite 5 client packages satellite el8 [e] Satellite module
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.