Resolve dependency error during Red Hat Satellite 6.19 upgrade
Environment
- Red Hat Satellite: 6.18
Issue
- Error occurs during
satellite-maintain upgrade rundue to dependency package conflicts - Messages indicate issues with
python3.12-cryptographyandlibcrypto.so.3(OPENSSL_3.3.0)(64bit)
Error:
Problem 1: cannot install the best update candidate for package python3.12-cryptography-45.0.4-1.el9pc.x86_64 nothing provides libcrypto.so.3(OPENSSL_3.3.0)(64bit) needed by python3.12-cryptography-46.0.6-1.el9pc.x86_64 from satellite-6.19-for-rhel-9-x86_64-rpms
Problem 2: package python3.12-pyOpenSSL-26.0.0-2.el9pc.noarch from satellite-6.19-for-rhel-9-x86_64-rpms requires (python3.12dist(cryptography) < 47 with python3.12dist(cryptography) >= 46), but none of the providers can be installed
- package python3.12-pyOpenSSL-26.0.0-2.el9pc.noarch from satellite-6.19-for-rhel-9-x86_64-rpms requires python3.12-cryptography >= 46.0.0, but none of the providers can be installed
- cannot install the best update candidate for package python3.12-pyOpenSSL-25.1.0-2.el9pc.noarch
- nothing provides libcrypto.so.3(OPENSSL_3.3.0)(64bit) needed by python3.12-cryptography-46.0.6-1.el9pc.x86_64 from satellite-maintenance-6.19-for-rhel-9-x86_64-rpms
- nothing provides libcrypto.so.3(OPENSSL_3.3.0)(64bit) needed by python3.12-cryptography-46.0.6-1.el9pc.x86_64 from satellite-6.19-for-rhel-9-x86_64-rpms
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
Resolution
1.a Unset system release version, if set: subscription-manager release --unset
or
1.b Remove file /etc/dnf/vars/releasever if hardcoded dnf release server version: rm /etc/dnf/vars/releasever
2. Clean DNF cache: dnf clean all
3. Rerun upgrade check: satellite-maintain upgrade check
4. Run upgrade: satellite-maintain upgrade run
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 system had a fixed release version set, causing conflicts during package updates.
Diagnostic Steps
- Verify system release version:
subscription-manager release
Yum/dnf history:
Updating Subscription Management repositories.
This system has release set to 9.6 and it receives updates only for this release.
- Verify if Hardcoded DNF Release Version is present in the system
cat /etc/dnf/vars/releasever
9.6
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.