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:
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.
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?
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 .