Red Hat Satellite or capsule upgrade from version 6.15 to 6.16 fails with dependency for 'python38-*' packages.
Environment
- Red Hat Satellite 6.15
- Red Hat Capsule 6.15
Issue
-
When attempting to upgrade Satellite from version 6.15 to 6.16 on systems built with version 6.11 or earlier, a dependency conflict occurs. The upgrade process fails due to outdated packages
python38-pytz, python38-cffi, and python38-babelthat are no longer required in version 6.16 but are not automatically removed during the upgrade. -
Red Hat Satellite or capsule upgrade to 6.16 fails with:
Problem 1: python38-pytz-2019.3-4.module+el8.9.0+19598+4a60c7b7.noarch from rhel-8-for-x86_64-appstream-rpms Problem 2: problem with installed package python38-babel-2.7.0-11.module+el8.9.0+19598+4a60c7b7.noarch
Resolution
-
Manually remove the conflicting packages (python38-pytz, python38-cffi, and python38-babel) on RHEL, use the following command:
# dnf remove python38-pytz python38-cffi python38-babel -
Re-run the installer:
# satellite-maintain upgrade run
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 upgrade process for Satellite from version 6.15 to 6.16 does not automatically remove legacy packages (python38-pytz, python38-cffi, and python38-babel) that are no longer needed in version 6.16. These packages cause dependency conflicts during the upgrade.
- This issue is being reviewed by engineering in the following issue:
This content is not included.Satellite 6.15 to 6.16 upgrade failing with python38 package dependencies
Diagnostic Steps
-
The Red Hat Satellite or capsule 6.15 upgrade to 6.16 fails with:
python38-pytz-2019.3-4.module+el8.9.0+19598+4a60c7b7.noarch from rhel-8-for-x86_64-appstream-rpms - cannot install the best update candidate for package python38-babel-2.7.0-11.module+el8.9.0+19598+4a60c7b7.noarch - cannot install the best update candidate for package python38-aiodns-3.0.0-2.el8pc.noarch Problem 2: problem with installed package python38-babel-2.7.0-11.module+el8.9.0+19598+4a60c7b7.noarch - package python38-babel-2.7.0-11.module+el8.9.0+19598+4a60c7b7.noarch from @System requires python38-pytz, but none of the providers can be installed - package python38-babel-2.7.0-11.module+el8.9.0+19598+4a60c7b7.noarch from rhel-8-for-x86_64-appstream-rpms requires python38-pytz, but none of the providers can be installed - package satellite-common-6.16.0.1-1.el8sat.noarch from satellite-6.16-for-rhel-8-x86_64-rpms obsoletes python38-pytz < 2021.3-2 provided by python38-pytz-2021.3-1.el8pc.noarch from @System - package satellite-common-6.16.0.1-1.el8sat.noarch from satellite-6.16-for-rhel-8-x86_64-rpms obsoletes python38-pytz < 2021.3-2 provided by python38-pytz-2019.3-3.module+el8.2.0+5234+f98739b6.noarch from rhel-8-for-x86_64-appstream-rpms - package satellite-common-6.16.0.1-1.el8sat.noarch from satellite-6.16-for-rhel-8-x86_64-rpms obsoletes python38-pytz < 2021.3-2 provided by python38-pytz-2019.3-3.module+el8.4.0+8888+89bc7e79.noarch from rhel-8-for-x86_64-appstream-rpms - package satellite-common-6.16.0.1-1.el8sat.noarch from satellite-6.16-for-rhel-8-x86_64-rpms obsoletes python38-pytz < 2021.3-2 provided by python38-pytz-2019.3-4.module+el8.9.0+19598+4a60c7b7.noarch from rhel-8-for-x86_64-appstream-rpms - cannot install the best update candidate for package python38-aiofiles-0.7.0-2.el8pc.noarch -
Package came from older version of Satellite 6.11 repository:
python38-pytz.noarch 2021.3-1.el8pc @satellite-6.11-for-rhel-8-x86_64-rpms -
Check if the conflicting packages are installed on the Satellite server:
# rpm -q python38-pytz python38-cffi python38-babel
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.