Red Hat Satellite or capsule upgrade from version 6.15 to 6.16 fails with dependency for 'python38-pytz' package.
Environment
- Red Hat Satellite 6.15
- Red Hat Capsule 6.15
Issue
-
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
-
Remove this package as it is obsolete and causing dependency issue:
# dnf remove python38-pytz -
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 package 'python38-pytz' was installed during Satellite 6.11 installation. This package is not needed on later versions and no upgrade available. Since it is obsolete, it can be removed safely.
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
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.