Uploaded image for project: 'RHEL Conversions'
  1. RHEL Conversions
  2. RHELC-1252

subscription-manager-rhsm-certificates installation fails on CentOS 8.5/Alma 8.6/8.8/Rocky 8.6/8.8

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • Testable

      With the workaround introduced in https://github.com/oamg/convert2rhel/pull/991 the installation of subman packages (same conflict between different versions of subscription-manager-rhsm-certificates) fails on systems which are considered pre-registered.

      Affected system: CentOS-8.5

      2:24:50             out: [2023-11-24T07:24:50-0500] DEBUG - Calling command 'yum install -y --setopt=module_platform_id=platform:el8 /usr/share/convert2rhel/subscription-manager/subscription-manager-rhsm-certificates-20220623-1.el8.noarch.rpm /usr/share/convert2rhel/subscription-manager/json-c-0.13.1-3.el8.x86_64.rpm /usr/share/convert2rhel/subscription-manager/python3-syspurpose-1.28.40-1.el8_9.x86_64.rpm'
      12:24:51             out: CRITICAL - Failed to install subscription-manager packages. Check the yum output below for details:
      12:24:51             out: 
      12:24:51             out:  Updating Subscription Management repositories.
      12:24:51             out: Last metadata expiration check: 0:00:10 ago on Fri Nov 24 07:24:40 2023.
      12:24:51             out: Error: 
      12:24:51             out:  Problem 1: problem with installed package python3-subscription-manager-rhsm-1.28.21-3.el8.x86_64
      12:24:51             out:   - package python3-subscription-manager-rhsm-1.28.21-3.el8.x86_64 requires subscription-manager-rhsm-certificates = 1.28.21-3.el8, but none of the providers can be installed
      12:24:51             out:   - cannot install both subscription-manager-rhsm-certificates-20220623-1.el8.noarch and subscription-manager-rhsm-certificates-1.28.21-3.el8.x86_64
      12:24:51             out:   - conflicting requests
      12:24:51             out:  Problem 2: problem with installed package subscription-manager-1.28.21-3.el8.x86_64
      12:24:51             out:   - package subscription-manager-1.28.21-3.el8.x86_64 requires python3-syspurpose = 1.28.21-3.el8, but none of the providers can be installed
      12:24:51             out:   - cannot install both python3-syspurpose-1.28.40-1.el8_9.x86_64 and python3-syspurpose-1.28.21-3.el8.x86_64
      12:24:51             out:   - conflicting requests
      12:24:51             out: (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) 

        There are no Sub-Tasks for this issue.

            mbocek@redhat.com Michal Bocek
            ddiblik@redhat.com Daniel Diblik
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: