[CentOS] YUM (DNF) Possible Confusion Centos 8

Wed Jan 22 16:10:04 UTC 2020
Jonathan Billings <billings at negate.org>

On Tue, Jan 21, 2020 at 08:35:14AM -0800, david wrote:
>   yum list installed
> 
> and the following diagnostics occur:
> -------------------------------
> Modular dependency problems:
> 
>  Problem 1: conflicting requests
>   - nothing provides module(perl:5.26) needed by module
> perl-App-cpanminus:1.7044:8010020191120175858:a9207fc6-0.x86_64
>  Problem 2: conflicting requests
>   - nothing provides module(perl:5.26) needed by module
> perl-DBD-MySQL:4.046:8010020191114030811:073fa5fe-0.x86_64
>  Problem 3: conflicting requests
>   - nothing provides module(perl:5.26) needed by module
> perl-DBD-SQLite:1.58:8010020191114033549:073fa5fe-0.x86_64
>  Problem 4: conflicting requests
>   - nothing provides module(perl:5.26) needed by module
> perl-DBI:1.641:8010020191113222731:16b3ab4d-0.x86_64
>  Problem 5: conflicting requests
>   - nothing provides module(perl:5.26) needed by module
> perl-YAML:1.24:8010020191114031501:a5949e2e-0.x86_64
> Installed Packages
> <long list follows>
> ------------------------------
> 
> By the way, cpanm works ok too.

Do you have the AppStream repo enabled?  I get similar problems if
I've installed Perl from there and then disabled it:

# dnf --disablerepo=AppStream list perl
Last metadata expiration check: 0:02:11 ago on Wed 22 Jan 2020 11:07:31 AM EST.
Modular dependency problems:

 Problem 1: conflicting requests
  - nothing provides module(perl:5.26) needed by module perl-DBD-SQLite:1.58:8010020191114033549:073fa5fe-0.x86_64
 Problem 2: conflicting requests
  - nothing provides module(perl:5.26) needed by module perl-DBI:1.641:8010020191113222731:16b3ab4d-0.x86_64
Installed Packages
perl.x86_64                     4:5.26.3-416.el8                      @AppStream


-- 
Jonathan Billings <billings at negate.org>