Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-28361

[PES] Leapp upgrade fails with package conflicts from RHEL shippes BaseOS and Apptream repos.

    • None
    • Important
    • rhel-sst-upgrades
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • None
    • None
    • x86_64
    • None

      What were you trying to do that didn't work?

      Please provide the package NVR for which bug is seen:

      How reproducible:

      1] Install RHEL 7 system

      2] install packages

      pki-kra

      pki-server

      pki-tools

      pki-ca

      pki-base

       

      Steps to reproduce

      1. Install RHEL 7
      2. yum install  {{pki-kra
        pki-server
        pki-tools
        pki-ca
        pki-base}}
      3.  leapp upgrade --debug

      Expected results :-

      clean upgrade , every package is RHEL shipped. Or Leapp shall handle this more gracefully providing some workaround.

      Actual results

       \n\n Problem 1: problem with installed package tomcat-7.0.76-16.el7_9.noarch\n  - cannot install the best update candidate for package tomcat-7.0.76-16.el7_9.noarch\n  - package idm-pki-server-10.14.3-1.module+el8.8.0+18059+6d4394a9.noarch from rhel-8-for-x86_64-appstream-rpms requires pki-servlet-engine, but none of the providers can be installed\n  - package tomcat-1:9.0.62-27.el8_9.3.noarch from rhel-8-for-x86_64-appstream-rpms conflicts with pki-servlet-engine <= 1:9.0.50 provided by pki-servlet-engine-1:9.0.7-16.module+el8.1.0+3366+6dfb954c.noarch from rhel-8-for-x86_64-appstream-rpms\n  - package tomcat-1:9.0.62-27.el8_9.3.noarch from rhel-8-for-x86_64-appstream-rpms conflicts with pki-servlet-engine <= 1:9.0.50 provided by pki-servlet-engine-1:9.0.30-1.module+el8.3.0+6730+8f9c6254.noarch from rhel-8-for-x86_64-appstream-rpms\n  - package tomcat-1:9.0.62-27.el8_9.3.noarch from rhel-8-for-x86_64-appstream-rpms conflicts with pki-servlet-engine <= 1:9.0.50 provided by pki-servlet-engine-1:9.0.30-3.module+el8.5.0+11388+9e95fe00.noarch from rhel-8-for-x86_64-appstream-rpms\n  - package tomcat-1:9.0.62-27.el8_9.3.noarch from rhel-8-for-x86_64-appstream-rpms conflicts with pki-servlet-engine <= 1:9.0.50 provided by pki-servlet-engine-1:9.0.50-1.module+el8.7.0+15761+f86c9a56.noarch from rhel-8-for-x86_64-appstream-rpms\n  - cannot install the best candidate for the job\n  - tomcat-7.0.76-16.el7_9.noarch from @System  does not belong to a distupgrade repository\n Problem 2: problem with installed package tomcatjss-7.2.5-1.el7.noarch\n  - cannot install the best update candidate for package tomcatjss-7.2.5-1.el7.noarch\n  - package tomcatjss-7.4.1-1.module+el8.1.0+3370+6d076660.noarch from rhel-8-for-x86_64-appstream-rpms requires pki-servlet-engine >= 1:9.0.7, but none of the providers can be installed\n  - package tomcatjss-7.4.1-2.module+el8.2.0+4573+c3c38c7b.noarch from rhel-8-for-x86_64-appstream-rpms requires pki-servlet-engine >= 1:9.0.7, but none of the providers can be installed\n  - package tomcatjss-7.4.1-2.module+el8.2.0+6294+b7db4606.noarch from rhel-8-for-x86_64-appstream-rpms requires pki-servlet-engine >= 1:9.0.7, but none of the providers can be installed\n  - package tomcatjss-7.5.0-1.module+el8.3.0+7355+c59bcbd9.noarch from rhel-8-for-x86_64-appstream-rpms requires pki-servlet-engine >= 1:9.0.7, but none of the providers can be installed\n  - package tomcatjss-7.6.1-1.module+el8.4.0+8778+d07929ff.noarch from rhel-8-for-x86_64-appstream-rpms requires pki-servlet-engine >= 1:9.0.7, but none of the providers can be installed\n  - package tomcatjss-7.7.0-1.module+el8.5.0+11983+6ba118b4.noarch from rhel-8-for-x86_64-appstream-rpms requires pki-servlet-engine >= 1:9.0.7, but none of the providers can be installed\n  - package tomcatjss-7.7.1-1.module+el8.6.0+13291+248751b1.noarch from rhel-8-for-x86_64-appstream-rpms requires pki-servlet-engine >= 1:9.0.7, but none of the providers can be installed\n  - package tomcat-lib-1:9.0.62-27.el8_9.3.noarch from rhel-8-for-x86_64-appstream-rpms conflicts with pki-servlet-engine <= 1:9.0.50 provided by pki-servlet-engine-1:9.0.7-16.module+el8.1.0+3366+6dfb954c.noarch from rhel-8-for-x86_64-appstream-rpms\n  - package tomcat-lib-1:9.0.62-27.el8_9.3.noarch from rhel-8-for-x86_64-appstream-rpms conflicts with pki-servlet-engine <= 1:9.0.50 provided by pki-servlet-engine-1:9.0.30-1.module+el8.3.0+6730+8f9c6254.noarch from rhel-8-for-x86_64-appstream-rpms\n  - package tomcat-lib-1:9.0.62-27.el8_9.3.noarch from rhel-8-for-x86_64-appstream-rpms conflicts with pki-servlet-engine <= 1:9.0.50 provided by pki-servlet-engine-1:9.0.30-3.module+el8.5.0+11388+9e95fe00.noarch from rhel-8-for-x86_64-appstream-rpms\n  - package tomcat-lib-1:9.0.62-27.el8_9.3.noarch from rhel-8-for-x86_64-appstream-rpms conflicts with pki-servlet-engine <= 1:9.0.50 provided by pki-servlet-engine-1:9.0.50-1.module+el8.7.0+15761+f86c9a56.noarch from rhel-8-for-x86_64-appstream-rpms\n  - problem with installed package tomcat-lib-7.0.76-16.el7_9.noarch\n  - cannot install the best update candidate for package tomcat-lib-7.0.76-16.el7_9.noarch\n  - cannot install both tomcat-lib-1:9.0.62-27.el8_9.3.noarch from rhel-8-for-x86_64-appstream-rpms and tomcat-lib-1:9.0.62-5.el8.noarch from rhel-8-for-x86_64-appstream-rpms\n  - cannot install both tomcat-lib-1:9.0.62-27.el8_9.3.noarch from rhel-8-for-x86_64-appstream-rpms and tomcat-lib-1:9.0.62-5.el8_8.2.noarch from rhel-8-for-x86_64-appstream-rpms\n  - cannot install both tomcat-lib-1:9.0.62-27.el8_9.3.noarch from rhel-8-for-x86_64-appstream-rpms and tomcat-lib-1:9.0.62-27.el8_9.noarch from rhel-8-for-x86_64-appstream-rpms\n  - cannot install both tomcat-lib-1:9.0.62-27.el8_9.3.noarch from rhel-8-for-x86_64-appstream-rpms and tomcat-lib-1:9.0.62-27.el8_9.2.noarch from rhel-8-for-x86_64-appstream-rpms\n  - tomcatjss-7.2.5-1.el7.noarch from @System  does not belong to a distupgrade repository\n  - tomcat-lib-7.0.76-16.el7_9.noarch
      

      from chpconsultant 

       

      Workaround is to add the below in `/etc/leapp/transaction/to_remove`.

      
      pki-kra
      pki-server
      pki-tools
      pki-ca
      pki-base
      
      tomcatjss
      tomcat-servlet
      tomcat
      
      

      The customer is not willing to remove the packages mentioned in `/etc/leapp/transaction/to_remove` and looking for clean upgrade.

       The `pki-server` is replaced with `idm-pki-server` and  `idm-pki-server` dependency on `tomcatjss`

              leapp-notifications leapp-notifications
              rhn-support-snavale Sagar Navale
              leapp-notifications leapp-notifications
              RHEL Upgrades QE Team RHEL Upgrades QE Team
              Miriam Portman Miriam Portman
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: