yum/dnf installation fails for redhat-lsb package getting "none of the providers can be installed" error messages

Solution Verified - Updated -

Issue

  • Unable to install redhat-lsb package when perl:5.30 stream is install and enabled.

  • Example:

# dnf module list perl
Updating Subscription Management repositories.
Last metadata expiration check: 0:08:23 ago on Fri 16 Apr 2021 02:43:10 PM EDT.
Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs)
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                                 
perl                                   5.30 [e]                                  common [d] [i], minimal                                  Practical Extraction and Report Language
  • Installation will fail with errors like below,
# dnf install redhat-lsb
Updating Subscription Management repositories.
Last metadata expiration check: 0:12:22 ago on Fri 16 Apr 2021 02:43:10 PM EDT.
Error: 
 Problem: package redhat-lsb-4.1-47.el8.x86_64 requires redhat-lsb-languages = 4.1-47.el8, but none of the providers can be installed
  - package redhat-lsb-languages-4.1-47.el8.i686 requires perl(Text::Soundex), but none of the providers can be installed
  - package redhat-lsb-languages-4.1-47.el8.x86_64 requires perl(Text::Soundex), but none of the providers can be installed
  - package perl-Text-Soundex-3.05-8.el8.x86_64 requires perl(:MODULE_COMPAT_5.26.2), but none of the providers can be installed
  - conflicting requests
  - package perl-libs-4:5.26.3-416.el8.x86_64 is filtered out by modular filtering
  - package perl-libs-4:5.26.3-416.el8.i686 is filtered out by modular filtering
  - package perl-libs-4:5.26.3-417.el8_3.i686 is filtered out by modular filtering
  - package perl-libs-4:5.26.3-417.el8_3.x86_64 is filtered out by modular filtering
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
  • If try with alternate stream such as perl:5.26 then,
# dnf install redhat-lsb 
Updating Subscription Management repositories.
Last metadata expiration check: 0:20:14 ago on Mon 14 Jun 2021 09:24:12 AM EDT.
Error: 
 Problem: package redhat-lsb-4.1-47.el8.x86_64 requires redhat-lsb-languages = 4.1-47.el8, but none of the providers can be installed
  - package redhat-lsb-languages-4.1-47.el8.i686 requires perl(Text::Soundex), but none of the providers can be installed
  - package redhat-lsb-languages-4.1-47.el8.x86_64 requires perl(Text::Soundex), but none of the providers can be installed
  - package perl-Text-Soundex-3.05-8.el8.x86_64 requires libperl.so.5.26()(64bit), but none of the providers can be installed
  - cannot install both perl-libs-4:5.26.3-416.el8.x86_64 and perl-libs-4:5.30.1-451.module+el8.3.0+6961+31ca2e7a.x86_64
  - cannot install both perl-libs-4:5.26.3-417.el8_3.x86_64 and perl-libs-4:5.30.1-451.module+el8.3.0+6961+31ca2e7a.x86_64
  - package perl-Importer-0.025-6.module+el8.3.0+6718+7f269185.noarch requires perl(:MODULE_COMPAT_5.30.1), but none of the providers can be installed
  - conflicting requests
  - problem with installed package perl-Importer-0.025-6.module+el8.3.0+6718+7f269185.noarch
  - package perl-libs-4:5.30.1-451.module+el8.3.0+6961+31ca2e7a.x86_64 is filtered out by modular filtering
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

Environment

  • Red Hat Enterprise Linux 8

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In