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

ant-junit depends on an older version of ant, creating a conflict with dnf update

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Minor Minor
    • None
    • rhel-8.10.z
    • ant
    • None
    • None
    • Low
    • sst_cs_apps
    • ssg_core_services
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None

      Issue:

      "ant-junit-1.10.5-1.module+el8+2598+06babf2e.noarch" depends on "ant-0:1.10.5-1.module+el8+2598+06babf2e.noarch" and "ant-lib-0:1.10.5-1.module+el8+2598+06babf2e.noarch"

      All of the above packages are present in the CodeReady Builder repository. With the release of "ant-1.10.9-1.module+el8.10.0+21307+8cf76afe.noarch" through the AppStream repository, trying to run "dnf update" results in the following error:

      [root@localhost ~]# yum update
      Updating Subscription Management repositories.
      Last metadata expiration check: 0:00:32 ago on Fri 07 Jun 2024 03:45:55 PM CEST.
      Error: 
       Problem 1: package ant-junit-1.10.5-1.module+el8+2598+06babf2e.noarch from @System requires ant = 1.10.5-1.module+el8+2598+06babf2e, but none of the providers can be installed
        - cannot install both ant-1.10.9-1.module+el8.10.0+21307+8cf76afe.noarch from rhel-8-for-x86_64-appstream-rpms and ant-1.10.5-1.module+el8+2598+06babf2e.noarch from @System
        - cannot install both ant-1.10.9-1.module+el8.10.0+21307+8cf76afe.noarch from rhel-8-for-x86_64-appstream-rpms and ant-1.10.5-1.module+el8+2598+06babf2e.noarch from codeready-builder-for-rhel-8-x86_64-rpms
        - cannot install the best update candidate for package ant-junit-1.10.5-1.module+el8+2598+06babf2e.noarch
        - cannot install the best update candidate for package ant-1.10.5-1.module+el8+2598+06babf2e.noarch
       Problem 2: problem with installed package ant-junit-1.10.5-1.module+el8+2598+06babf2e.noarch
        - package ant-junit-1.10.5-1.module+el8+2598+06babf2e.noarch from @System requires mvn(org.apache.ant:ant) = 1.10.5, but none of the providers can be installed
        - package ant-junit-1.10.5-1.module+el8+2598+06babf2e.noarch from codeready-builder-for-rhel-8-x86_64-rpms requires mvn(org.apache.ant:ant) = 1.10.5, but none of the providers can be installed
        - cannot install both ant-lib-1.10.9-1.module+el8.10.0+21307+8cf76afe.noarch from rhel-8-for-x86_64-appstream-rpms and ant-lib-1.10.5-1.module+el8+2598+06babf2e.noarch from @System
        - cannot install both ant-lib-1.10.9-1.module+el8.10.0+21307+8cf76afe.noarch from rhel-8-for-x86_64-appstream-rpms and ant-lib-1.10.5-1.module+el8+2598+06babf2e.noarch from codeready-builder-for-rhel-8-x86_64-rpms
        - cannot install both ant-lib-1.10.9-1.module+el8.10.0+21307+8cf76afe.noarch from rhel-8-for-x86_64-appstream-rpms and ant-lib-1.10.5-1.module+el8+2438+c99a8a1e.noarch from rhel-8-for-x86_64-appstream-rpms
        - cannot install the best update candidate for package ant-lib-1.10.5-1.module+el8+2598+06babf2e.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)

      Steps to reproduce:
      1.- Enable the CodeReady Builder repository

      # subscription-manager repos --enable codeready-builder-for-rhel-8-x86_64-rpms
      

      2.- Install ant-junit:

      # dnf install ant-junit
      

      3.- Attempt to update the system:

      # dnf update
      

      Might be related to RHELPLAN-92994.

            mizdebsk@redhat.com Mikolaj Izdebski
            rhn-support-jeperez Jesus Perez
            Mikolaj Izdebski Mikolaj Izdebski
            bot rhel-cs-apps-subsystem-qe bot rhel-cs-apps-subsystem-qe
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: