Red Hat Satellite or Capsule Server upgrade failed with an error cannot install the best update candidate for package pulpcore-selinux-1.3.3-1.el8pc.x86_64 or cannot install the best update candidate for package candlepin-selinux-4.1.15-1.el8sat.noarch.
Environment
- Red Hat Satellite 6
- Red Hat Capsule 6
- Red Hat Enterprise Linux 8
Issue
-
Unable to upgrade
Red Hat Satellitetov6.12due to dependency issue. -
Upgrade to
v6.12ofRed Hat Satelliteserver fails with the following error:Error: Problem 1: cannot install the best update candidate for package candlepin-selinux-4.1.14-1.el8sat.noarch - nothing provides selinux-policy >= 3.14.3-108.el8 needed by candlepin-selinux-4.1.18-1.el8sat.noarch Problem 2: package katello-selinux-4.0.2-2.el8sat.noarch requires candlepin-selinux >= 3.1.10, but none of the providers can be installed - package candlepin-selinux-4.1.14-1.el8sat.noarch requires candlepin = 4.1.14-1.el8sat, but none of the providers can be installed - package candlepin-selinux-4.1.15-1.el8sat.noarch requires candlepin = 4.1.15-1.el8sat, but none of the providers can be installed - cannot install both candlepin-4.1.18-1.el8sat.noarch and candlepin-4.1.14-1.el8sat.noarch - cannot install both candlepin-4.1.18-1.el8sat.noarch and candlepin-4.1.15-1.el8sat.noarch - cannot install the best update candidate for package katello-selinux-4.0.2-2.el8sat.noarch - cannot install the best update candidate for package candlepin-4.1.14-1.el8sat.noarch - nothing provides selinux-policy >= 3.14.3-108.el8 needed by candlepin-selinux-4.1.18-1.el8sat.noarch -
Upgrade of
Red Hat Satellite/Capsuleserver fails with the following error:Problem: cannot install the best update candidate for package pulpcore-selinux-1.3.3-1.el8pc.x86_64 - nothing provides selinux-policy >= 3.14.3-128.el8 needed by pulpcore-selinux-2.0.0-1.el8pc.x86_64
Resolution
- Red Hat Engineering team is already aware of this issue and is currently tracking the same in This content is not included.Bugzilla # 2163789.
Workaround
-
Ensure that the post-upgrade tasks are performed on the Satellite server after the in-place upgrade to RHEL 8.
-
Unset the release on
Red Hat Satelliteserver using the following command.# subscription-manager release --unset Release preference has been unset
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
- If the post-upgrade tasks that include running the
subscription-manager release --unsetcommand are not completed on the Satellite, the upgrade to version6.12will fail as the dependency for the candlepin package is not available in the minor version repository for version8.6. - When the post-upgrade tasks that include running the
subscription-manager release --unsetcommand are not performed on theRed Hat Satellite/Capsuleserver after performing thein-place upgrade, the upgrade to version will fail as the dependency for theselinuxpackage is not available in the minor version repository for version8.8.
Diagnostic Steps
-
Verify if
release versionis set onRed Hat Satelliteserver using the below command:# subscription-manager release --show Release: 8.6 # subscription-manager release --show Release: 8.8
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.