Red Hat Satellite upgrade to 6.15 version is failing with error Problem: package ansible-collection-redhat-satellite-4.0.0-2.el8sat.noarch from satellite-6.15-for-rhel-8-x86_64-rpms requires (python3.12-requests if ansible-core >= 2.16.3-2)
Environment
- Red Hat Satellite 6
Issue
-
Upgrading Red Hat Satellite 6.14 to 6.15 fails with below error:
Error: Problem: package ansible-collection-redhat-satellite-4.0.0-2.el8sat.noarch from satellite-6.15-for-rhel-8-x86_64-rpms requires (python3.12-requests if ansible-core >= 2.16.3-2), but none of the providers can be installed - cannot install the best update candidate for package ansible-collection-redhat-satellite-3.14.0-1.el8sat.noarch - problem with installed package ansible-core-2.16.3-2.el8.x86_64 (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages) Scenario [Migration scripts to Satellite 6.15] failed.
Resolution
-
Unset the release version using subscription-manager:
# subscription-manager release --unset # subscription-manager release # Output should be: Release not set -
Rerun the Satellite upgrade.
# satellite-maintain upgrade run --target-version 6.15
For more KB articles/solutions related to Red Hat Satellite 6.x upgrade failures due to dependency errors, please refer to the Resolving Red Hat Satellite 6.x upgrade failures due to dependency issues KB article.
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.
Root Cause
- The subscription-manager release was set which prevented access to newer packages required for the upgrade.
Diagnostic Steps
-
Run
subscription-manager release --showto check if the release version set:# subscription-manager release --show Release: 8.9
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.