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 2025625 - createrepo_c should be able to handle modules information
Summary: createrepo_c should be able to handle modules information
Keywords:
Status: CLOSED DUPLICATE of bug 1868047
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: createrepo_c
Version: 8.3
Hardware: Unspecified
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Jaroslav Mracek
QA Contact: swm-qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-11-22 16:00 UTC by Corey Brown
Modified: 2024-12-20 21:38 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-02-24 07:19:41 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 RHELPLAN-103585 0 None None None 2021-11-22 16:02:47 UTC

Description Corey Brown 2021-11-22 16:00:58 UTC
Description of problem:
Currently createrepo does not handle modules information (modules.yaml) and as a result there are problems with repositories created from RHEL8 packages. Modules.yaml must be handled separately at the moment

Version-Release number of selected component (if applicable):
RHEL 8.3
createrepo_c-0.16.2-2.el8.x86_64.rpm

How reproducible:
everytime

Steps to Reproduce:
1. Reposync RHEL8 repo:

dnf reposync --newest-only --repoid=rhel-8-for-x86_64-appstream-rpms --download-path=/var/www/html/rhel8 --downloadcomps --download-metadata 
createrepo -v /var/www/html/rhel8/rhel-8-for-x86_64-appstream-rpms/ -g comps.xml

2. Enable new repo

3. Try updating packages from the new repo

Actual results:
`dnf update` shows packages conflicts

Expected results:


Additional info:
The problem arises because there is no information about modules in rpms. So createrepo does not see the information about modules and so is not able to pass this information to the system.

Comment 1 Jaroslav Mracek 2021-11-26 07:45:28 UTC
I am not 100% sure but the issue sounds to me related or can be resolved by a new dnf plugin modulesync. See Bug 1868047 - [RFE] A module-granularity synchronization tool (similar to reposync) .

Please can you provide a feedback whether modulesync approach is resolving the issue?

Comment 2 Christian Horn 2022-01-31 08:42:14 UTC
I'm just looking into something related, maybe the same issue.
We had a further fix in rhel8.5GA with bz1801747 getting
solved.  Did your customer rhel8.5 code base?

I also notice that with
https://access.redhat.com/solutions/4888921 we
described how to create own repos including module details,
based on reposync'ed channels.

I see we have nothing as of today for just single RPMs,
and will after discussing the best way in bz1801747
get something together in kbase, maybe extend
https://access.redhat.com/solutions/4907601 .

Comment 4 Red Hat Bugzilla 2023-09-15 01:17:24 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days


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