Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Description of problem:
Dnf updateinfo list updates for packages in default modules, even if those modules are not enabled. Therefore the update is not installable.
Version-Release number of selected component (if applicable):
dnf-4.2.17-7.el8_2.noarch
How reproducible:
always
Steps to Reproduce:
1. Enable idm:client module
# dnf module enable idm:client
# dnf module list --enabled
Updating Subscription Management repositories.
Last metadata expiration check: 0:45:11 ago on Wed 19 Aug 2020 07:08:13 AM EDT.
Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs)
Name Stream Profiles Summary
idm client [d][e] common [d] RHEL IdM long term support client module
satellite-5-client 1.0 [d][e] common [d], gui Red Hat Satellite 5 client packages
virt rhel [d][e] common [d] Virtualization module
Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled
2. dnf install ipa-client-4.7.1-11.module+el8+2843+a16c4825.x86_64
3. # dnf updateinfo list | grep ipa-client
RHBA-2019:3463 bugfix ipa-client-4.8.0-10.module+el8.1.0+4107+4a66eb87.x86_64
RHEA-2020:1640 enhancement ipa-client-4.8.4-7.module+el8.2.0+6046+aaa49f96.x86_64
RHEA-2020:1640 enhancement ipa-client-4.8.4-7.module+el8.2.0+6047+59605870.x86_64
RHBA-2019:3463 bugfix ipa-client-common-4.8.0-10.module+el8.1.0+4107+4a66eb87.noarch
RHEA-2020:1640 enhancement ipa-client-common-4.8.4-7.module+el8.2.0+6046+aaa49f96.noarch
RHEA-2020:1640 enhancement ipa-client-common-4.8.4-7.module+el8.2.0+6047+59605870.noarch
4. ipa-client-4.8.4-7.module+el8.2.0+6046+aaa49f96.x86_64 is not installable as it comes from default non-enabled idm:DL1 module
# dnf install ipa-client-4.8.4-7.module+el8.2.0+6046+aaa49f96.x86_64
Updating Subscription Management repositories.
Last metadata expiration check: 0:48:55 ago on Wed 19 Aug 2020 07:08:13 AM EDT.
All matches were filtered out by modular filtering for argument: ipa-client-4.8.4-7.module+el8.2.0+6046+aaa49f96.x86_64
Error: Unable to find a match: ipa-client-4.8.4-7.module+el8.2.0+6046+aaa49f96.x86_64
# dnf module provides ipa-client-4.8.4-7.module+el8.2.0+6046+aaa49f96.x86_64
Updating Subscription Management repositories.
Last metadata expiration check: 0:49:39 ago on Wed 19 Aug 2020 07:08:13 AM EDT.
ipa-client-4.8.4-7.module+el8.2.0+6046+aaa49f96.x86_64
Module : idm:DL1:8020020200318161616:2ef9514c:x86_64
Profiles : client common
Repo : rhel-8-for-x86_64-appstream-rpms
Summary : The Red Hat Enterprise Linux Identity Management system module
Actual results:
dnf updateinfo suggests update from not enabled module and the suggested update is not installable
Expected results:
dnf updateinfo list should list updates only from enabled modules
Additional info:
The problem is not with default modules but with the way we (don't) handle multiple collections in updateinfo xml file.
*** This bug has been marked as a duplicate of bug 1804234 ***