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

dnf updateinfo should not show update for a package from epel repo which is not installable due to enabled module

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • rhel-8.6.0
    • dnf
    • None
    • Moderate
    • rhel-swm
    • ssg_core_services
    • None
    • QE ack, Dev ack
    • False
    • False
    • Hide

      None

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

      Description of problem:
      When user installs package from module and a newer package exists in epel repo `dnf updateinfo` should not show this package. It is not possible to install package when the module is enabled.

      Version-Release number of selected component (if applicable):
      dnf-4.7.0-11.el8.noarch

      How reproducible:
      Always

      Steps to Reproduce:
      1. dnf module enable idm:DL1
      2. dnf install softhsm-2.6.0-5.module+el8.4.0+10227+076cd560.x86_64
      3. $ dnf updateinfo list | grep softhsm
      FEDORA-EPEL-2021-2065a75939 newpackage softhsm-2.6.1-5.el8.1.x86_64
      4. $ dnf update softhsm
      Updating Subscription Management repositories.
      Last metadata expiration check: 1:31:45 ago on Mon 17 Apr 2023 08:46:17 AM EDT.
      Dependencies resolved.
      Nothing to do.
      Complete!
      5. $ dnf update --advisory FEDORA-EPEL-2021-2065a75939
      Updating Subscription Management repositories.
      Last metadata expiration check: 1:32:25 ago on Mon 17 Apr 2023 08:46:17 AM EDT.
      No security updates needed, but 222 updates available
      Dependencies resolved.
      Nothing to do.
      Complete!

      Actual results:
      Not installable package is shown in `dnf updateinfo`

      Expected results:
      `dnf updateinfo` should have the same behavior as `dnf update` and respect enabled modules

      Additional info:
      The issue affects displayed available errata in Patch app on console.redhat.com

              jmracek@redhat.com Jaroslav Mracek
              rhn-support-psegedy Patrik Segedy (Inactive)
              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: