Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-31371

Capsule upgrade fails with a package conflict error despite the required repositories being enabled.

XMLWordPrintable

    • 5
    • False
    • rubygem-foreman_maintain-1.13.3
    • Moderate
    • Satellite Rocket Sprint 6, Satellite Rocket Sprint 7
    • sat-rocket
    • None
    • None
    • None
    • To Do

      Description of problem:

      Capsule upgrade fails with a package conflict error despite the required repositories being enabled.

       

      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   66 MB/s |  80 MB     00:01    
      Red Hat Enterprise Linux 8 for x86_64 - AppStre  62 MB/s |  70 MB     00:01    
      Red Hat Satellite Maintenance 6.14 for RHEL 8 x 307 kB/s |  23 kB     00:00    
      Red Hat Satellite Capsule 6.14 for RHEL 8 x86_6 6.4 MB/s | 580 kB     00:00    
      Error: 
       Problem 1: cannot install both rubygem-clamp-1.3.2-1.el8sat.noarch from satellite-maintenance-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: 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
        - cannot install both rubygem-clamp-1.3.2-1.el8sat.noarch from satellite-maintenance-6.14-for-rhel-8-x86_64-rpms and rubygem-clamp-1.1.2-7.el8sat.noarch from @System
        - 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-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: 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
        - cannot install both rubygem-clamp-1.3.2-1.el8sat.noarch from satellite-maintenance-6.14-for-rhel-8-x86_64-rpms and rubygem-clamp-1.1.2-7.el8sat.noarch from @System
        - 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-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.8-1.el8sat.noarch
        - problem with installed package rubygem-hammer_cli_foreman_tasks-0.0.18-1.el8sat.noarch
       Problem 4: 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
        - cannot install both rubygem-clamp-1.3.2-1.el8sat.noarch from satellite-maintenance-6.14-for-rhel-8-x86_64-rpms and rubygem-clamp-1.1.2-7.el8sat.noarch from @System
        - 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 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.8-1.el8sat.noarch
        - problem with installed package rubygem-hammer_cli_katello-1.7.3-1.el8sat.noarch
      (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)
      --------------------------------------------------------------------------------
      Scenario [Migration scripts to Capsule 6.14] failed.

       

      How reproducible:

       

      Is this issue a regression from an earlier version:

       

      Steps to Reproduce:

      1. Install hammer on capsule server > https://access.redhat.com/solutions/3443041

      2. Enable required satellite-utils repository.
      ~~~
      subscription-manager repos --enable satellite-utils-6.13-for-rhel-8-x86_64-rpms satellite-utils-6.14-for-rhel-8-x86_64-rpms
      ~~~
      3. Try to upgrade capsule which will fail with package conflict error.

      4. When we run upgrade command again the command executes without any error message but the capsule is not upgraded.

       

      Actual behavior:
      The capsule server fail to upgrade with package conflict error even if required repositories are enabled.

      Expected behavior:
      The capsule server should upgrade without any error if required repositories are enabled.

      Business Impact / Additional info:

       

              rh-ee-akumari Archana Kumari
              rhn-support-amahindr Aniket Mahindrakar
              Nakul Pathak Nakul Pathak
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: