Leapp Upgrade on Red Hat Satellite Capsule 6.16 fails with dependency error package foreman-installer-katello-1:3.12.0.4-1.el8sat.noarch from @System requires katello-certs-tools.
Environment
- Red Hat Satellite Capsule 6.16
- Red Hat Enterprise Linux 8
Issue
-
Leapp upgrade of Red Hat Satellite Capsule 6.16 from RHEL 8.x to RHEL 9.x fails with the following error:
Problem 1: package foreman-installer-katello-1:3.12.0.4-1.el8sat.noarch from @System requires katello-certs-tools, but none of the providers can be installed - package katello-certs-tools-2.10.0-1.el8sat.noarch from @System requires python(abi) = 3.6, but none of the providers can be installed - conflicting requests Problem 2: package python3.11-pulp-rpm-3.26.1-1.el8pc.noarch from @System requires python3.11-createrepo_c >= 1.1.0, but none of the providers can be installed - package python3.11-createrepo_c-1.1.3-1.el8pc.x86_64 from @System requires libdrpm.so.0()(64bit), but none of the providers can be installed - conflicting requests Problem 3: package python3.11-pulpcore-3.49.28-1.el8pc.noarch from @System requires python3.11-cryptography >= 38.0.1, but none of the providers can be installed - python3.11-cryptography-42.0.8-1.el8pc.x86_64 from @System does not belong to a distupgrade repository - conflicting requests
Resolution
Step 1:
-
Ensure the following repositories are enabled and synchronized on the Satellite server
-
Red Hat Satellite Capsule 6.16 for RHEL 9 x86_64 RPMs
satellite-capsule-6.16-for-rhel-9-x86_64-rpms -
Red Hat Satellite Maintenance 6.16 for RHEL 9 x86_64 RPMs
satellite-maintenance-6.16-for-rhel-9-x86_64-rpmsa.
Satellite Web UI → Content → Red Hat repositories → searched for the above required repositories → clicked on '+'b.
Satellite Web UI → Content → Sync status → searched for the above required repositories and click on → Syncronize now.
-
Step 2:
-
Add the repositories to the Content View associated with the host, then publish the content view and promote to the appropriate lifecycle environment associated with the host.
a. `Satellite GUI → Content → Content-views → Select CV → navigate to repositories tab `selected the above required repositories` and added them to the Content view.` b. `Satellite GUI → Content → Content-views → Select CV → Publish a new version`Skip
Step2if Capsule is associated withLibraryand content view asDefault organization view.
For more KB articles/solutions related to Red Hat Satellite 6.x LEAPP Issues, please refer to the Consolidated Troubleshooting Article for Red Hat Satellite 6.x LEAPP Issues
Root Cause
RHEL 9 repositories required for the Red Hat Capsule 6.16 upgrade were not available and enabled.
Diagnostic Steps
-
The below similar error trace is observed while running the leapp preupgrade utility.
============================================================ ERRORS ============================================================ ERROR] Actor: dnf_transaction_check Message: DNF execution failed with non zero exit code. Summary: Stdout: Red Hat Satellite Maintenance 6.16 for RHEL 9 x 101 kB/s | 3.8 kB 00:00 Red Hat Enterprise Linux 9 for x86_64 - AppStre 132 kB/s | 4.5 kB 00:00 Red Hat Enterprise Linux 9 for x86_64 - BaseOS 106 kB/s | 4.1 kB 00:00 Transaction check: Problem 1: package foreman-installer-katello-1:3.12.0.4-1.el8sat.noarch from @System requires katello-certs-tools, but none of the providers can be installed Problem 2: package python3.11-pulp-rpm-3.26.1-1.el8pc.noarch from @System requires python3.11-createrepo_c >= 1.1.0, but none of the providers can be installed Problem 3: package python3.11-pulpcore-3.49.28-1.el8pc.noarch from @System requires python3.11-cryptography >= 38.0.1, but none of the providers can be installed Problem 4: package rubygem-sqlite3-1.4.4-1.el8sat.x86_64 from @System requires libruby.so.2.7()(64bit), but none of the providers can be installed Problem 5: package satellite-common-6.16.2-1.el8sat.noarch from @System requires foreman-bootloaders-redhat, but none of the providers can be installed Problem 6: package rubygem-rkerberos-0.1.5-21.el8sat.x86_64 from @System requires libruby.so.2.7()(64bit), but none of the providers can be installed Problem 7: package rubygem-sqlite3-1.4.4-1.el8sat.x86_64 from @System requires libruby.so.2.7()(64bit), but none of the providers can be installed Problem 8: package foreman-installer-katello-1:3.12.0.4-1.el8sat.noarch from @System requires katello-certs-tools, but none of the providers can be installed Problem 9: cannot install the best update candidate for package python3.11-cryptography-42.0.8-1.el8pc.x86_64 Problem 10: package ruby-libs-2.7.8-139.module+el8.8.0+18745+f1bef313.x86_64 from @System requires libreadline.so.7()(64bit), but none of the providers can be installed Problem 11: package ruby-libs-2.7.8-139.module+el8.8.0+18745+f1bef313.x86_64 from @System requires libreadline.so.7()(64bit), but none of the providers can be installed Problem 12: package ruby-libs-2.7.8-139.module+el8.8.0+18745+f1bef313.x86_64 from @System requires libreadline.so.7()(64bit), but none of the providers can be installed -
Inspect local content overrides:
Use the following command to review which repositories are explicitly enabled or disabled on the system:
cat /var/lib/rhsm/cache/content_overrides.json | json_reformat | grep -i "contentlabel\|value"It records repository enablement overrides specifically, which repositories have been explicitly enabled ("value": "1") or disabled ("value": "0") on the system.
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.