[CentOS] YUM (DNF) Possible Confusion Centos 8

Wed Jan 22 00:07:35 UTC 2020
David G. Miller <dave at davenjudy.org>

On 1/21/20 10:10 AM, david wrote:
> At 08:52 AM 1/21/2020, David G. Miller wrote:
>
>
>> On 1/21/20 9:35 AM, david wrote:
>>> Folks
>>>
>>> In a test Centos 8 installation as a guest of VirtualBox on Windows 
>>> 10, I want to install ffmpeg, and support for exfat. They're not in 
>>> the standard distribution (as far as I know), so I issue as root:
>>>
>>>   yum -y --enablerepo rpmfusion-free-updates install ffmpeg 
>>> fuse-exfat exfat-utils
>>>
>>> and that works just fine.  The ffmpeg functionality works; I 
>>> haven't tested exfat yet.  However, later, as part of maintenance, 
>>> I want to get a list of everything that's installed, so I issue
>>>
>>>   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.
>>>
>>>
>>> My questions are:
>>> What do these diagnostics tell me?  What am I supposed to do about it?
>>>
>>> Thanks for your help
>>>
>>> David
>>>
>>>
>> I think its telling you that perl is NOT installed but the listed 
>> perl modules are installed although it could be looking for 
>> specifically the 5.26 version of perl (since you mentioned the CPAN 
>> works).  What happens if you issue perl -v?  perl gets installed as 
>> a dependency of logwatch as an example so a lot of people don't 
>> realize that they have perl installed whether they want it or not.
>>
>> Cheers,
>> Dave
>>
>> -- 
>> "They that can give up essential liberty to obtain a little temporary 
>> safety deserve neither safety nor liberty."
>>
>> -- Benjamin Franklin
>
>
> Perl is explicitly installed,  "perl -v" identifies v5.26.3, and comes 
> from the standard Centos 8 repositories.  So, I suspect your 
> interpretation doesn't fit the facts.
> David K
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos
Not seeing that here but it appears you are running newer versions of at 
least perl-DBD-MySQL, perl-DBD-SQLite and perl-DBI (snipped from "yum 
list installed" on my CentOS 8 VM after running "yum update"):

perl-DBD-MySQL.x86_64                     4.023-6.el7 @anaconda
perl-DBD-SQLite.x86_64                    1.39-3.el7 @anaconda
perl-DBI.x86_64                           1.627-4.el7 @anaconda

What repo are you pulling the listed packages from?  Is it the same repo 
as for perl?  I'm getting:

root at bend ~]# perl -v

This is perl 5, version 16, subversion 3 (v5.16.3) built for 
x86_64-linux-thread-multi

for perl.  Since you said you're running 5.26.3 but from a standard repo 
which doesn't match what I'm seeing (5.16.3), I'm thinking your 
mismatches are due to the listed modules being built against a newer 
version of perl.

Cheers,
Dave

-- 
"They that can give up essential liberty to obtain a little temporary safety deserve neither safety nor liberty."

-- Benjamin Franklin