Capsule Upgrade Fails With DNF Dependency Problems Around rubygem-hammer_cli
Issue
-
When executing the
satellite-maintain upgrade run --target-version 6.Ycommand, the[packages-updates]step fails. The output is similar to:Download package(s) : [FAIL] Failed executing yum --downloadonly -y --disableplugin=foreman-protector update, exit status 1: Updating Subscription Management repositories. Red Hat Enterprise Linux 8 for x86_64 - BaseOS 62 MB/s | 72 MB 00:01 Red Hat Enterprise Linux 8 for x86_64 - AppStre 53 MB/s | 66 MB 00:01 Red Hat Satellite Capsule 6.14 for RHEL 8 x86_6 1.5 MB/s | 578 kB 00:00 Error: Problem 1: cannot install both rubygem-clamp-1.3.2-1.el8sat.noarch from satellite-capsule-6.14-for-rhel-8-x86_64-rpms and rubygem-clamp-1.1.2-7.el8sat.noarch from @System - package rubygem-hammer_cli-3.5.1-1.el8sat.noarch from @System requires rubygem(clamp) < 1.2.0, but none of the providers can be installed - package rubygem-hammer_cli-3.5.1-1.el8sat.noarch from @System requires (rubygem(clamp) >= 1.1 with rubygem(clamp) < 1.2.0), but none of the providers can be installed - cannot install the best update candidate for package rubygem-clamp-1.1.2-7.el8sat.noarch - problem with installed package rubygem-hammer_cli-3.5.1-1.el8sat.noarch Problem 2: cannot install both rubygem-clamp-1.3.2-1.el8sat.noarch from satellite-capsule-6.14-for-rhel-8-x86_64-rpms and rubygem-clamp-1.1.2-7.el8sat.noarch from @System - package rubygem-hammer_cli-3.5.1-1.el8sat.noarch from @System requires rubygem(clamp) < 1.2.0, but none of the providers can be installed - package rubygem-hammer_cli-3.5.1-1.el8sat.noarch from @System requires (rubygem(clamp) >= 1.1 with rubygem(clamp) < 1.2.0), but none of the providers can be installed - package rubygem-kafo-7.2.0-1.el8sat.noarch from satellite-capsule-6.14-for-rhel-8-x86_64-rpms requires (rubygem(clamp) >= 1.3.1 with rubygem(clamp) < 2), but none of the providers can be installed - package rubygem-hammer_cli_foreman-3.5.1-1.el8sat.noarch from @System requires rubygem(hammer_cli) >= 2.1.0, but none of the providers can be installed - package rubygem-hammer_cli_foreman-3.5.1-1.el8sat.noarch from @System requires rubygem(hammer_cli) >= 3.5.1, but none of the providers can be installed - cannot install the best update candidate for package rubygem-kafo-6.5.0-1.el8sat.noarch - problem with installed package rubygem-hammer_cli_foreman-3.5.1-1.el8sat.noarch Problem 3: cannot install both rubygem-clamp-1.3.2-1.el8sat.noarch from satellite-capsule-6.14-for-rhel-8-x86_64-rpms and rubygem-clamp-1.1.2-7.el8sat.noarch from @System - package rubygem-hammer_cli-3.5.1-1.el8sat.noarch from @System requires rubygem(clamp) < 1.2.0, but none of the providers can be installed - package rubygem-hammer_cli-3.5.1-1.el8sat.noarch from @System requires (rubygem(clamp) >= 1.1 with rubygem(clamp) < 1.2.0), but none of the providers can be installed - package rubygem-kafo-7.2.0-1.el8sat.noarch from satellite-capsule-6.14-for-rhel-8-x86_64-rpms requires (rubygem(clamp) >= 1.3.1 with rubygem(clamp) < 2), but none of the providers can be installed - package rubygem-hammer_cli_foreman-3.5.1-1.el8sat.noarch from @System requires rubygem(hammer_cli) >= 2.1.0, but none of the providers can be installed - package rubygem-hammer_cli_foreman-3.5.1-1.el8sat.noarch from @System requires rubygem(hammer_cli) >= 3.5.1, but none of the providers can be installed - package foreman-installer-1:3.7.0.8-1.el8sat.noarch from satellite-capsule-6.14-for-rhel-8-x86_64-rpms requires rubygem(kafo) >= 7.2.0, but none of the providers can be installed - package rubygem-hammer_cli_foreman_tasks-0.0.18-1.el8sat.noarch from @System requires rubygem(hammer_cli_foreman) > 0.1.1, but none of the providers can be installed - package rubygem-hammer_cli_foreman_tasks-0.0.18-1.el8sat.noarch from @System requires rubygem(hammer_cli_foreman) < 4.0.0, but none of the providers can be installed - package rubygem-hammer_cli_foreman_tasks-0.0.18-1.el8sat.noarch from @System requires (rubygem(hammer_cli_foreman) > 0.1.1 with rubygem(hammer_cli_foreman) < 4.0.0), but none of the providers can be installed - cannot install the best update candidate for package foreman-installer-1:3.5.2.7-1.el8sat.noarch - problem with installed package rubygem-hammer_cli_foreman_tasks-0.0.18-1.el8sat.noarch Problem 4: cannot install both rubygem-clamp-1.3.2-1.el8sat.noarch from satellite-capsule-6.14-for-rhel-8-x86_64-rpms and rubygem-clamp-1.1.2-7.el8sat.noarch from @System - package rubygem-kafo-7.2.0-1.el8sat.noarch from satellite-capsule-6.14-for-rhel-8-x86_64-rpms requires (rubygem(clamp) >= 1.3.1 with rubygem(clamp) < 2), but none of the providers can be installed - package rubygem-hammer_cli-3.5.1-1.el8sat.noarch from @System requires rubygem(clamp) < 1.2.0, but none of the providers can be installed - package rubygem-hammer_cli-3.5.1-1.el8sat.noarch from @System requires (rubygem(clamp) >= 1.1 with rubygem(clamp) < 1.2.0), but none of the providers can be installed - package foreman-installer-1:3.7.0.8-1.el8sat.noarch from satellite-capsule-6.14-for-rhel-8-x86_64-rpms requires rubygem(kafo) >= 7.2.0, but none of the providers can be installed - package rubygem-hammer_cli_foreman-3.5.1-1.el8sat.noarch from @System requires rubygem(hammer_cli) >= 2.1.0, but none of the providers can be installed - package rubygem-hammer_cli_foreman-3.5.1-1.el8sat.noarch from @System requires rubygem(hammer_cli) >= 3.5.1, but none of the providers can be installed - package foreman-installer-katello-1:3.7.0.8-1.el8sat.noarch from satellite-capsule-6.14-for-rhel-8-x86_64-rpms requires foreman-installer = 1:3.7.0.8-1.el8sat, but none of the providers can be installed - package rubygem-hammer_cli_katello-1.7.3-1.el8sat.noarch from @System requires rubygem(hammer_cli_foreman), but none of the providers can be installed - cannot install the best update candidate for package foreman-installer-katello-1:3.5.2.7-1.el8sat.noarch - problem with installed package rubygem-hammer_cli_katello-1.7.3-1.el8sat.noarch 2024-09-12T07:03:57+0000 INFO (try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages) -
(The above errors can also be seen in the capsule's
/var/log/dnf.logfile.)
Environment
- Red Hat Satellite Capsule 6.y
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.