How to create module data for local repositories with Red Hat Enterprise Linux 8
Issue
- How to create module metadata based on a small group of packages
- When creating a local repository with
createrepo
and then try to install from that repo, I get this error:
[..]
Total size: 41 M
Installed size: 173 M
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
No available modular metadata for modular package '<packagename>', it cannot be installed on the system
Error: No available modular metadata for modular package
Environment
- Red Hat Enterprise Linux 8
- Local repositories
- createrepo
- yum modules
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.