dnf/yum shows "Modular dependency problems - nothing provides module(perl:5.26) needed by module freeradius:3.0" on new deployment
Environment
- Red Hat Enterprise Linux 8
- Red Hat Satellite 6.7+
- Red Hat Enterprise Linux 8 Content View with yum repository filters in place
Issue
yum/dnfcommands showModular Dependency Problems
Modular dependency problems:Problem 1: module perl:5.30:8030020200609055348:568f3a16-0.x86_64 conflicts with module(perl:5.26) provided by perl:5.26:820181219174508:9edba152-0.x86_64
- module perl:5.26:820181219174508:9edba152-0.x86_64 conflicts with module(perl:5.30) provided by perl:5.30:8030020200609055348:568f3a16-0.x86_64
- module perl-App-cpanminus:1.7044:820181214184336:3a33b840-0.x86_64 requires module(perl:5.30), but none of the providers can be installed
- conflicting requests
Problem 2: module perl:5.30:8030020200609055348:568f3a16-0.x86_64 conflicts with module(perl:5.26) provided by perl:5.26:820181219174508:9edba152-0.x86_64- module perl:5.26:820181219174508:9edba152-0.x86_64 conflicts with module(perl:5.30) provided by perl:5.30:8030020200609055348:568f3a16-0.x86_64
- module perl-DBD-MySQL:4.046:820181214121012:caf6787c-0.x86_64 requires module(perl:5.30), but none of the providers can be installed
- module freeradius:3.0:8010020190614154208:16b3ab4d-0.x86_64 requires module(perl:5.26), but none of the providers can be installed
- conflicting requests
Resolution
Ensure that a yum repository filter is created that has:
- content type of Module Streams
- include type of Include
- select Include all Module Streams with no errata

Or with hammer commandline:
hammer content-view filter create [...] --original-module-streams yes
Root Cause
When filtering content views containing Red Hat Enterprise Linux 8 content, the filter list should contain both a filter including all packages with no errata and a filter including all module streams with no errata. This is different than Red Hat Enterprise Linux 7 content view filter where module streams were not present. Creating a content view without the include all module streams with no errata will result in a content view that contains only module streams that have errata or are explicitly included by other filters. This can potentially result in a content view with dependent module streams missing.
Diagnostic Steps
Review the filter configuration for all content views including Red Hat Enterprise Linux 8 repositories.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.