Bug 2183091

Summary: dnf repoclosure complains about modules not in checked repo
Product: Red Hat Enterprise Linux 8 Reporter: Lubomír Sedlář <lsedlar>
Component: dnf-plugins-coreAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED MIGRATED QA Contact: swm-qe
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.7CC: amatej, james.antill, mcurlej, sbonazzo
Target Milestone: rcKeywords: MigratedToJIRA, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-08-28 11:57:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Lubomír Sedlář 2023-03-30 11:53:14 UTC
Description of problem:
dnf repoclosure command prints dependency errors about modules enabled on the host, but that are not present in the repo it is asked to check

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

How reproducible:
100%

Steps to Reproduce:
1. dnf download redhat-release
2. createrepo_c .
3. dnf repoclosure --repofrompath r,file://$(pwd) --repo r --check r --arch x86_64 --arch noarch --forcearch x86_64

Actual results:
Modular dependency problems:

 Problem 1: conflicting requests
  - nothing provides module(platform:el8) needed by module httpd:2.4:8070020230131172653:bd1311ed.x86_64
 Problem 2: conflicting requests
  - nothing provides module(platform:el8) needed by module idm:client:8070020221205125533:1eba159a.x86_64
 Problem 3: conflicting requests
  - nothing provides module(platform:el8) needed by module llvm-toolset:rhel8:8070020220810182122:3b9f49c4.x86_64
 Problem 4: conflicting requests
  - nothing provides module(platform:el8) needed by module perl:5.26:820181219174508:9edba152.x86_64
 Problem 5: conflicting requests
  - nothing provides module(platform:el8) needed by module perl-IO-Socket-SSL:2.066:8060020211122104554:bc93984d.x86_64
 Problem 6: conflicting requests
  - nothing provides module(platform:el8) needed by module perl-libwww-perl:6.34:8060020210901111951:9168a43d.x86_64
 Problem 7: conflicting requests
  - nothing provides module(platform:el8) needed by module postgresql:10:8070020221124143148:bd1311ed.x86_64
 Problem 8: conflicting requests
  - nothing provides module(platform:el8) needed by module python36:3.6:8050020210811103506:982725ab.x86_64
 Problem 9: conflicting requests
  - nothing provides module(platform:el8) needed by module virt:rhel:8070020230105112251:bd1311ed.x86_64


Expected results:
No errors are printed

Comment 1 RHEL Program Management 2023-08-28 11:52:14 UTC
Issue migration from Bugzilla to Jira is in process at this time. This will be the last message in Jira copied from the Bugzilla bug.

Comment 2 RHEL Program Management 2023-08-28 11:57:17 UTC
This BZ has been automatically migrated to the issues.redhat.com Red Hat Issue Tracker. All future work related to this report will be managed there.

To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "RHEL-" followed by an integer.  You can also find this issue by visiting https://issues.redhat.com/issues/?jql= and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like:

"Bugzilla Bug" = 1234567

In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues.