This bug has been migrated to another issue tracking site. It has been closed here and may no longer be being monitored.

If you would like to get updates for this issue, or to participate in it, you may do so at Red Hat Issue Tracker .
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2187410 - dnf updateinfo should not show update for a package from epel repo which is not installable due to enabled module
Summary: dnf updateinfo should not show update for a package from epel repo which is n...
Keywords:
Status: CLOSED MIGRATED
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: dnf
Version: 8.6
Hardware: x86_64
OS: Linux
high
medium
Target Milestone: rc
: ---
Assignee: Packaging Maintenance Team
QA Contact: swm-qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-04-17 15:12 UTC by Patrik Segedy
Modified: 2023-08-14 10:31 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-08-14 10:30:53 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker   RHEL-1243 0 None None None 2023-08-14 10:30:52 UTC
Red Hat Issue Tracker RHELPLAN-154947 0 None None None 2023-04-17 15:13:49 UTC
Red Hat Issue Tracker SPM-2015 0 None None None 2023-04-17 15:12:43 UTC

Description Patrik Segedy 2023-04-17 15:12:43 UTC
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

Comment 1 Patrik Segedy 2023-04-17 15:52:42 UTC
I missed the step with installation of epel repo, here are updated steps
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 install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
4. $ dnf updateinfo list | grep softhsm
    FEDORA-EPEL-2021-2065a75939 newpackage     softhsm-2.6.1-5.el8.1.x86_64
5. $ 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!
6. $ 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!

Comment 3 Martin Curlej 2023-08-14 10:30:53 UTC
This bug was migrated to our public Jira instance. From september this year we will stop using bugzilla for bug reporting againts RHEL related components.

The link to the jira bug can be found below:

https://issues.redhat.com/browse/RHEL-1243


Note You need to log in before you can comment on or make changes to this bug.