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

Installing latest rh-sso7-keycloak-server and eap7-wildfly-modules packages break any new transaction due to "obsoletes" information

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • rhel-8.7.0
    • libsolv
    • None
    • Important
    • rhel-sst-cs-software-management
    • ssg_core_services
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • If docs needed, set a value
    • None

      Description of problem:

      Package "rh-sso7-keycloak-server-18.0.6-1.redhat_00001.1.el8sso.noarch" obsoletes some ancient "eap7-wildfly-modules" releases:
      -------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------

      1. rpm -q --obsoletes rh-sso7-keycloak-server-18.0.6-1.redhat_00001.1.el8sso.noarch
        eap7-wildfly-modules <= 0:7.3
                    • 8< ---------------- 8< ---------------- 8< ---------------- 8< --------

      Trying to install both rh-sso7-keycloak-server-18.0.6-1.redhat_00001.1.el8sso.noarch and eap7-wildfly-modules-7.4.10-6.GA_redhat_00002.1.el8eap (latest, not obsoleted at all) on the system, the eap7-wildfly-modules-7.4.10-6.GA_redhat_00002.1.el8eap cannot be installed, unless full release is explicitly specified:

      1. The following doesn't install "eap7-wildfly-modules" at all

      -------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------

      1. yum install rh-sso7-keycloak-server eap7-wildfly-modules
                    • 8< ---------------- 8< ---------------- 8< ---------------- 8< --------

      2. The following installs "eap7-wildfly-modules"

      -------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------

      1. yum install rh-sso7-keycloak-server eap7-wildfly-modules-7.4.10-6.GA_redhat_00002.1.el8eap
                    • 8< ---------------- 8< ---------------- 8< ---------------- 8< --------

      I understand this is somehow expected because libsolv doesn't check the obsoleted part ("0:7.3") by default. Please correct me if I'm wrong.

      Still this is an issue, because after installing the packages (using "2." method), any new "yum update" transaction will fail:

      -------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------

      1. yum update
        [...]
        Error:
        Problem: cannot install both rh-sso7-keycloak-server-18.0.0-2.redhat_00001.1.el8sso.noarch and rh-sso7-keycloak-server-18.0.6-1.redhat_00001.1.el8sso.noarch
      • cannot install the best update candidate for package rh-sso7-keycloak-server-18.0.6-1.redhat_00001.1.el8sso.noarch
      • cannot install the best update candidate for package eap7-wildfly-modules-7.4.10-6.GA_redhat_00002.1.el8eap.noarch
                    • 8< ---------------- 8< ---------------- 8< ---------------- 8< --------

      Version-Release number of selected component (if applicable):

      libsolv-0.7.20-4.el8_7.x86_64

      How reproducible:

      Always

      Steps to Reproduce:
      1. Install both packages, "eap7-wildfly-modules" being fully specified

      -------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------

      1. yum install rh-sso7-keycloak-server eap7-wildfly-modules-7.4.10-6.GA_redhat_00002.1.el8eap
                    • 8< ---------------- 8< ---------------- 8< ---------------- 8< --------

      2. Try updating the system

      -------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------

      1. yum update
                    • 8< ---------------- 8< ---------------- 8< ---------------- 8< --------

      Actual results:

      -------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------
      Error:
      Problem: cannot install both rh-sso7-keycloak-server-18.0.0-2.redhat_00001.1.el8sso.noarch and rh-sso7-keycloak-server-18.0.6-1.redhat_00001.1.el8sso.noarch

      • cannot install the best update candidate for package rh-sso7-keycloak-server-18.0.6-1.redhat_00001.1.el8sso.noarch
      • cannot install the best update candidate for package eap7-wildfly-modules-7.4.10-6.GA_redhat_00002.1.el8eap.noarch
                    • 8< ---------------- 8< ---------------- 8< ---------------- 8< --------

      Expected results:

      No error

              mblaha@redhat.com Marek Blaha
              rhn-support-rmetrich Renaud Métrich
              packaging-team-maint packaging-team-maint
              Software Management QE Software Management QE
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: