"nothing provides module(perl:5.26)" message.

Issues related to applications and software problems and general support
Post Reply
hack3rcon
Posts: 757
Joined: 2014/11/24 11:04:37

"nothing provides module(perl:5.26)" message.

Post by hack3rcon » 2020/08/22 16:57:52

Hello,
What does below messages mean?

Code: Select all

Modular dependency problems:

 Problem 1: conflicting requests
  - nothing provides module(perl:5.26) needed by module perl-DBD-MySQL:4.046:801                                            0020191114030811:073fa5fe-0.x86_64
 Problem 2: conflicting requests
  - nothing provides module(perl:5.26) needed by module perl-DBD-SQLite:1.58:801                                            0020191114033549:073fa5fe-0.x86_64
 Problem 3: conflicting requests
  - nothing provides module(perl:5.26) needed by module perl-DBI:1.641:801002019                                            1113222731:16b3ab4d-0.x86_64
CentOS repository is:

Code: Select all

$ cat /etc/yum.repos.d/
CentOS-AppStream.repo      CentOS-Media.repo
CentOS-Base.repo           CentOS-PowerTools.repo
CentOS-centosplus.repo     CentOS-Sources.repo
CentOS-CR.repo             CentOS-Vault.repo
CentOS-Debuginfo.repo      epel-modular.repo
CentOS-Devel.repo          epel-playground.repo
CentOS-Extras.repo         epel.repo
CentOS-fasttrack.repo      epel-testing-modular.repo
CentOS-HA.repo             epel-testing.repo
And:

Code: Select all

$ cat /etc/yum.repos.d/CentOS-Sources.repo
# CentOS-Sources.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client.  You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#

[BaseOS-source]
name=CentOS-$releasever - BaseOS Sources
baseurl=http://vault.centos.org/$contentdir/$releasever/BaseOS/Source/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial

#AppStream
[AppStream-source]
name=CentOS-$releasever - AppStream Sources
baseurl=http://vault.centos.org/$contentdir/$releasever/AppStream/Source/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial

#additional packages that may be useful
[extras-source]
name=CentOS-$releasever - Extras Sources
baseurl=http://vault.centos.org/$contentdir/$releasever/extras/Source/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial

#additional packages that extend functionality of existing packages
[centosplus-source]
name=CentOS-$releasever - Plus Sources
baseurl=http://vault.centos.org/$contentdir/$releasever/centosplus/Source/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
Which one made conflict?

Thank you.

PryMar56
Posts: 17
Joined: 2020/04/20 14:56:31

Re: "nothing provides module(perl:5.26)" message.

Post by PryMar56 » 2020/08/22 18:42:00

Hello,

perl 5.26 is available from AppStream which should be enabled by default.

>dnf info perl:5.24

above will show if you installed 5.24, showing [a] for active.

The only thing I can think of blocking perl 5.26 is that 5.24 is already installed.

The minimal package for 5.24 is called `perl`, while the minimal for 5.26 is called `perl-interpreter`/

cheers,
PryMar56

PryMar56
Posts: 17
Joined: 2020/04/20 14:56:31

Re: "nothing provides module(perl:5.26)" message.

Post by PryMar56 » 2020/08/22 18:43:16

correction:
> dnf module info perl:5.24

hack3rcon
Posts: 757
Joined: 2014/11/24 11:04:37

Re: "nothing provides module(perl:5.26)" message.

Post by hack3rcon » 2020/08/23 07:16:04

PryMar56 wrote:
2020/08/22 18:43:16
correction:
> dnf module info perl:5.24
It show me:

Code: Select all

# dnf module info perl:5.24
Last metadata expiration check: 1:01:56 ago on Sun 23 Aug 2020 10:45:00 AM +0430.
Name             : perl
Stream           : 5.24
Version          : 8010020191114034134
Context          : 3af8e029
Architecture     : x86_64
Profiles         : common [d], minimal
Default profiles : common
Repo             : AppStream
Summary          : Practical Extraction and Report Language
Description      : Perl is a high-level programming language with roots in C, sed, awk and shell scripting. Perl is good at handling processes and files, and is especially good at handling text. Perl's hallmarks are practicality and efficiency. While it is used to do a lot of different things, Perl's most common applications are system administration utilities and web programming.

dexterbg
Posts: 2
Joined: 2020/04/30 12:06:56

Re: "nothing provides module(perl:5.26)" message.

Post by dexterbg » 2020/10/18 07:45:02

This seems to be a bug in the dnf module handling: although according to the docs a "[d]efault" module should be used for package dependency checks, it apparently isn't (at least in this case).

Solution: set the perl:5.26 module "enabled" explicitly:

Code: Select all

dnf module enable -y perl
Log:

Code: Select all

[root@ns33 ~]# dnf module list perl
Last metadata expiration check: 0:32:40 ago on Sun Oct 18 09:16:06 2020.
CentOS-8 - AppStream
Name   Stream     Profiles             Summary                                  
perl   5.24       common [d], minimal  Practical Extraction and Report Language 
perl   5.26 [d]   common [d], minimal  Practical Extraction and Report Language 

Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled
[root@ns33 ~]# dnf check
Modular dependency problems:

 Problem 1: conflicting requests
  - nothing provides module(perl:5.26) needed by module perl-DBD-MySQL:4.046:8010020191114030811: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
[root@ns33 ~]# dnf module enable -y perl
Last metadata expiration check: 0:33:07 ago on Sun Oct 18 09:16:06 2020.
Dependencies resolved.
================================================================================
 Package           Architecture     Version             Repository         Size
================================================================================
Enabling module streams:
 perl                               5.26                                       

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

Complete!
[root@ns33 ~]# dnf module list perl
Last metadata expiration check: 0:33:14 ago on Sun Oct 18 09:16:06 2020.
CentOS-8 - AppStream
Name  Stream       Profiles             Summary                                 
perl  5.24         common [d], minimal  Practical Extraction and Report Language
perl  5.26 [d][e]  common [d], minimal  Practical Extraction and Report Language

Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled
[root@ns33 ~]# dnf check
[root@ns33 ~]# 

Post Reply