YUM Error: “nothing provides module(perl:5.26)”

YUM displays conflicting requests with modules after installing perl-DBI or perl-DBD-* as shown below.

Problem 1: conflicting requests
- nothing provides module(perl:5.26) needed by module perl-DBD-MySQL:4.046:8010020190322121447:073fa5fe-0.x86_64
Problem 2: conflicting requests
- nothing provides module(perl:5.26) needed by module perl-DBD-SQLite:1.58:8010020190322125518:073fa5fe-0.x86_64
Problem 3: conflicting requests
- nothing provides module(perl:5.26) needed by module perl-DBI:1.641:8010020190322130042:16b3ab4d-0.x86_64

It is impossible to install or enable any other perl stream to enable perl: Module 5.26. Enable perl as follows:

# yum module enable perl:5.26

When the module is activated, the following is displayed:

# yum module enable perl-DBI --assumeno
Dependencies resolved.
==============================================================================================================================
 Package                       Architecture                 Version                       Repository                     Size
==============================================================================================================================
Enabling module streams:
 perl                                                       5.26                                                             
perl-DBI                                                   1.641                                                            

Transaction Summary
==============================================================================================================================

Operation aborted.

However, when you install content out of the module, you do not get the “perl:5.26” module enabled.

# yum install perl-DBI
Dependencies resolved.
==============================================================================================================================
 Package                    Arch       Version                                     Repository                            Size
==============================================================================================================================
Installing:
 perl-DBI                   x86_64     1.641-3.module+el8.1.0+2928+fafc4afc        centos-8-for-x86_64-appstream-rpms     740 k
Installing dependencies:
<snip>
Enabling module streams:
 perl-DBI                              1.641                                                                                 

Transaction Summary
==============================================================================================================================
Install  44 Packages

Total download size: 13 M
Installed size: 38 M
Is this ok [y/N]: n
Operation aborted.

If the above is allowed, the following operations will have unmet modular dependencies, as shown by the.

# yum check
Updating Subscription Management repositories.
Modular dependency problem:

Problem: conflicting requests
- nothing provides module(perl:5.26) needed by module perl-DBI:1.641:8010020190322130042:16b3ab4d-0.x86_64

Leave a Reply