Forum Stats

  • 3,816,594 Users
  • 2,259,212 Discussions
  • 7,893,516 Comments

Discussions

yum/dnf failing to install latest Perl packages from OL8 AppStream Repository

User_IWC9S
User_IWC9S Member Posts: 11 Green Ribbon

Good day,

for some reason yum (dnf) is failing to install latest Perl 3.50 packages from OL8 AppStream Repository.

For example package

perl-Carp-1.50-439.module+el8.3.0+7729+86a74f64.src.rpm

using a browser is listed in the https://yum.oracle.com/repo/OracleLinux/OL8/appstream/x86_64/index.html

Furthermore the package is displayed if I do "yum info"

=================================

[[email protected] patch]# yum info perl-Carp

Last metadata expiration check: 0:11:57 ago on Fri 25 Mar 2022 08:40:13 AM SAST.

Installed Packages

Name     : perl-Carp

Version   : 1.42

Release   : 396.el8

Architecture : noarch

Size     : 41 k

Source    : perl-Carp-1.42-396.el8.src.rpm

Repository  : @System

From repo  : ol8_baseos_latest

Summary   : Alternative warn and die for modules

URL          : http://search.cpan.org/dist/Carp/

License   : GPL+ or Artistic

Description : The Carp routines are useful in your own modules because they act like

       : die() or warn(), but with a message which is more likely to be useful to a

       : user of your module. In the case of cluck, confess, and longmess that

       : context is a summary of every call in the call-stack. For a shorter message

       : you can use carp or croak which report the error as being from where your

       : module was called. There is no guarantee that that is where the error was,

       : but it is a good educated guess.


Available Packages

Name     : perl-Carp

Version   : 1.50

Release   : 439.module+el8.3.0+7729+86a74f64

Architecture : src

Size     : 39 k

Source    : None

Repository  : yum.oracle.com_repo_OracleLinux_OL8_appstream_x86_64

Summary   : Alternative warn and die for modules

URL          : https://metacpan.org/release/Carp

License   : GPL+ or Artistic

Description : The Carp routines are useful in your own modules because they act like

       : die() or warn(), but with a message which is more likely to be useful to a

       : user of your module. In the case of cluck, confess, and longmess that

       : context is a summary of every call in the call-stack. For a shorter message

       : you can use carp or croak which report the error as being from where your

       : module was called. There is no guarantee that that is where the error was,

       : but it is a good educated guess.

==================================

The "yum upgrade" does nothing:

==================================

[[email protected] patch]# yum upgrade perl-Carp

Last metadata expiration check: 0:15:44 ago on Fri 25 Mar 2022 08:40:13 AM SAST.

Dependencies resolved.

Nothing to do.

Complete!

==================================


The Perl related packages failing to install are listed in the OL8 the errata


Not sure what I'm doing wrong.

Kind regards,

Marin

«1

Comments

  • Sergio-Oracle
    Sergio-Oracle Member Posts: 2,660 Employee
  • User_IWC9S
    User_IWC9S Member Posts: 11 Green Ribbon

    Hi Sergio-Oracle,

    thank you for the advice.

    Unfortunately, the "enable" command is failing on some dependencies.

    The error related to "freeradius" packages is confusing as the package is not installed on the host.

    ===============================================

    [[email protected]~]# dnf module enable perl:5.30

    Last metadata expiration check: 4:08:00 ago on Tue 05 Apr 2022 12:17:34 PM SAST.

    Error: Problems in request:

    Modular dependency problems:


     Problem 1: module perl:5.26:820181219174508:9edba152.x86_64 conflicts with module(perl:5.30) provided by perl:5.30:8030020200609055348:8af31532.x86_64

     - module perl:5.30:8030020200609055348:8af31532.x86_64 conflicts with module(perl:5.26) provided by perl:5.26:820181219174508:9edba152.x86_64

     - module freeradius:3.0:20190512205742:fbe42456.x86_64 requires module(perl:5.26), but none of the providers can be installed

     - conflicting requests

     Problem 2: module perl:5.26:820181219174508:9edba152.x86_64 conflicts with module(perl:5.30) provided by perl:5.30:8040020200923213406:466ea64f.x86_64

     - module perl:5.30:8040020200923213406:466ea64f.x86_64 conflicts with module(perl:5.26) provided by perl:5.26:820181219174508:9edba152.x86_64

     - module freeradius:3.0:8050020211213095058:ab0f257b.x86_64 requires module(perl:5.26), but none of the providers can be installed

     - conflicting requests

    ===============================================

    [[email protected]~]# yum info freeradius

    Last metadata expiration check: 4:10:35 ago on Tue 05 Apr 2022 12:17:34 PM SAST.

    Available Packages

    Name     : freeradius

    Version   : 3.0.20

    Release   : 11.module+el8.5.0+20485+f6543e32

    Architecture : x86_64

    Size     : 1.1 M

    Source    : freeradius-3.0.20-11.module+el8.5.0+20485+f6543e32.src.rpm

    Repository  : ol8_appstream

    Summary   : High-performance and highly configurable free RADIUS server

    URL          : http://www.freeradius.org/

    License   : GPLv2+ and LGPLv2+

    Description : The FreeRADIUS Server Project is a high performance and highly configurable

           : GPL'd free RADIUS server. The server is similar in some respects to

           : Livingston's 2.0 server. While FreeRADIUS started as a variant of the

           : Cistron RADIUS server, they don't share a lot in common any more. It now has

           : many more features than Cistron or Livingston, and is much more configurable.

           : 

           : FreeRADIUS is an Internet authentication daemon, which implements the RADIUS

           : protocol, as defined in RFC 2865 (and others). It allows Network Access

           : Servers (NAS boxes) to perform authentication for dial-up users. There are

           : also RADIUS clients available for Web servers, firewalls, Unix logins, and

           : more. Using RADIUS allows authentication and authorization for a network to

           : be centralized, and minimizes the amount of re-configuration which has to be

           : done when adding or deleting new users.

    ==========================================================

    Kind regards,

  • Sergio-Oracle
    Sergio-Oracle Member Posts: 2,660 Employee

    Try this:

    sudo dnf module reset perl
    sudo dnf module enable perl:5.30
    

    You'll still see dependency problems, but those are expected. You'll still be able to install perl-Carp

    User_IWC9S
  • User_IWC9S
    User_IWC9S Member Posts: 11 Green Ribbon

    Hi Sergio,

    thank you for your recommendations.

    The package "reset" was completed successfully while the "enable" fails with the same "Modular dependency problems" / "conflicting requests".

    ==========================

    [[email protected]~]# dnf module reset perl

    Last metadata expiration check: 2:15:54 ago on Tue 05 Apr 2022 04:34:17 PM SAST.

    Dependencies resolved.

    =========================================================================================================================================================================

     Package                 Architecture              Version                  Repository                Size

    =========================================================================================================================================================================

    Resetting modules:

     perl                                                                                  


    Transaction Summary

    =========================================================================================================================================================================


    Is this ok [y/N]: y

    Complete!

    [[email protected]~]# dnf module enable perl:5.30

    Last metadata expiration check: 2:16:14 ago on Tue 05 Apr 2022 04:34:17 PM SAST.

    Error: Problems in request:

    Modular dependency problems:


     Problem 1: module perl:5.26:820181219174508:9edba152.x86_64 conflicts with module(perl:5.30) provided by perl:5.30:8030020200609055348:8af31532.x86_64

     - module perl:5.30:8030020200609055348:8af31532.x86_64 conflicts with module(perl:5.26) provided by perl:5.26:820181219174508:9edba152.x86_64

     - module freeradius:3.0:20190512205742:fbe42456.x86_64 requires module(perl:5.26), but none of the providers can be installed

     - conflicting requests

     Problem 2: module perl:5.26:820181219174508:9edba152.x86_64 conflicts with module(perl:5.30) provided by perl:5.30:8040020200923213406:466ea64f.x86_64

     - module perl:5.30:8040020200923213406:466ea64f.x86_64 conflicts with module(perl:5.26) provided by perl:5.26:820181219174508:9edba152.x86_64

     - module freeradius:3.0:8050020211213095058:ab0f257b.x86_64 requires module(perl:5.26), but none of the providers can be installed

     - conflicting requests

    ==========================================


    Kind regards,

    Marin

  • Sergio-Oracle
    Sergio-Oracle Member Posts: 2,660 Employee
    $ sudo dnf module enable perl:5.30
    Last metadata expiration check: 0:02:19 ago on Tue 05 Apr 2022 04:26:26 PM UTC.
    Problems in request:
    Modular dependency problems with Defaults:
    
     Problem 1: module perl:5.26:820181219174508:9edba152-0.x86_64 conflicts with module(perl:5.30) provided by perl:5.30:8030020200609055348:8af31532-0.x86_64
     - module perl:5.30:8030020200609055348:8af31532-0.x86_64 conflicts with module(perl:5.26) provided by perl:5.26:820181219174508:9edba152-0.x86_64
     - module freeradius:3.0:20190512205742:fbe42456-0.x86_64 requires module(perl:5.26), but none of the providers can be installed
     - conflicting requests
     Problem 2: module perl:5.26:820181219174508:9edba152-0.x86_64 conflicts with module(perl:5.30) provided by perl:5.30:8040020200923213406:466ea64f-0.x86_64
     - module perl:5.30:8040020200923213406:466ea64f-0.x86_64 conflicts with module(perl:5.26) provided by perl:5.26:820181219174508:9edba152-0.x86_64
     - module freeradius:3.0:8050020211213095058:ab0f257b-0.x86_64 requires module(perl:5.26), but none of the providers can be installed
     - conflicting requests
    Dependencies resolved.
    ===========================================================================================================================
     Package           Architecture        Version            Repository          Size
    ===========================================================================================================================
    Enabling module streams:
     perl                           5.30                               
    
    Transaction Summary
    ===========================================================================================================================
    
    Is this ok [y/N]: y
    Complete!
    

    I see the same thing, but the module still enables. Are you saying you get stuck here?

    - conflicting requests
    


  • User_IWC9S
    User_IWC9S Member Posts: 11 Green Ribbon

    Hi Sergio,

    thank you for your reply!

    Yes, I'm stuck on

    " - conflicting requests"

    line.

    The installation fails there.

    Kind regards,

  • Sergio-Oracle
    Sergio-Oracle Member Posts: 2,660 Employee

    What is the output of:

    dnf module list --enabled
    
  • User_IWC9S
    User_IWC9S Member Posts: 11 Green Ribbon

    Hi Sergio,

    thank you for your update!

    It seems that "python36" is marked "default" only.

    Is it supposed to be marked as "enabled" as well?

    ===============

    Last metadata expiration check: 2:46:37 ago on Thu 07 Apr 2022 05:01:18 PM SAST.

    Oracle Linux 8 Application Stream (x86_64)

    Name        Stream    Profiles Summary                                                                        

    container-tools  ol8 [d][e]  common [ Most recent (rolling) versions of podman, buildah, skopeo, runc, conmon, runc, conmon, CRIU, Udica, etc as well as dependencies such as container-sel

                    d]    inux built and tested together, and updated as frequently as every 12 weeks.

    freeradius     3.0 [d][e]  server [ High-performance and highly configurable free RADIUS server                                              

                    d]    

    llvm-toolset    ol8 [d][e]  common [ LLVM                                                                         

                    d]    

    perl-DBD-SQLite  1.58 [d][e] common [ SQLite DBI driver                                                                   

                    d]    

    perl-DBI      1.641 [d][e] common [ A database access API for Perl                                                            

                    d]    

    perl-IO-Socket-SSL 2.066 [d][e] common [ Perl library for transparent TLS                                                           

                    d]    

    perl-libwww-perl  6.34 [d][e] common [ A Perl interface to the World-Wide Web                                                        

                    d]    

    python36      3.6 [d][e]  build, c Python programming language, version 3.6                                                       

                    ommon [d 

                    ]     

    satellite-5-client 1.0 [d][e]  common [ ULN client packages                                                                  

                    d], gui  

    virt        ol [d][e]  common [ Virtualization module                                                                 

                    d]    


    Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled

    =================

    Kind regards,

  • Sergio-Oracle
    Sergio-Oracle Member Posts: 2,660 Employee

    For the modular dependency issue with Perl, try this:

    dnf erase 'perl*'
    dnf module disable freeradius
    dnf module disable 'perl*'
    dnf module enable perl:5.30
    

    Regarding your Python question. Some modules have a default stream with a default profile. What you are seeing there is that the module python36 has only one default stream, 3.6, which in turn has a default profile, common.

    python36      3.6 [d][e]
    

    This means the python36 module is also enabled. If you run dnf install python36 now, it will be installed from the module above.

    User_IWC9S
  • User_IWC9S
    User_IWC9S Member Posts: 11 Green Ribbon

    Hi Sergio,

    thank you for your update.

    I will have to organise a maintenance slot as the "perl" packages removal might impact some of the running Oracle applications.

    Kind regards,