On Thu, Dec 10, 2020 at 11:08 PM James Szinger <jszin...@gmail.com> wrote:
>
> On Thu, 10 Dec 2020 22:10:03 +0100
> Petr Šabata <con...@redhat.com> wrote:
> > Disable the freeradius module; it only has a context for the default
> > perl stream and is blocking the switch.
>
> Still no joy.  By the way, my point here is not to get this working,
> but rather to demonstrate the complexity of modularity and the lack of
> documentation.
>
> Jim

Yes, I get it. And I'm pretty sure perl module switching is covered in
RHEL release docs (I recall reviewing that) as it's a content-specific
problem here. The user interface could always be improved and guide
the user to the correct resolution better in any generic instance of
this situation. Until then, some of these common problems could be
documented upstream, too.

You probably know you have other modules that require not-5.30 streams
of perl enabled then. The message below points at
perl-libwww-perl:6.34.

P

> $ podman run --rm -it registry.centos.org/centos:8 bash
> [root@eb931d6dd4b0 /]# yum -y module disable freeradius
> Failed to set locale, defaulting to C.UTF-8
> CentOS-8 - AppStream                            417 kB/s | 6.2 MB     00:15
> CentOS-8 - Base                                 121 kB/s | 2.3 MB     00:19
> CentOS-8 - Extras                                24 kB/s | 8.1 kB     00:00
> Dependencies resolved.
> ================================================================================
>  Package           Architecture     Version             Repository         
> Size
> ================================================================================
> Disabling modules:
>  freeradius
>
> Transaction Summary
> ================================================================================
>
> Complete!
> [root@eb931d6dd4b0 /]# yum -y module enable perl:5.30 postgresql:12 -y
> Failed to set locale, defaulting to C.UTF-8
> Last metadata expiration check: 0:00:57 ago on Thu Dec 10 21:51:46 2020.
> Problems in request:
> Modular dependency problems with Defaults:
>
>  Problem: conflicting requests
>   - module perl-libwww-perl:6.34:8030020200716155257:7cc0a66d-0.x86_64 
> requires module(perl:5.24), but none of the providers can be installed
>   - module perl-libwww-perl:6.34:8030020200716155257:b967a9a2-0.x86_64 
> requires module(perl:5.26), but none of the providers can be installed
>   - module perl:5.24:8010020191114034134:3af8e029-0.x86_64 conflicts with 
> module(perl:5.30) provided by perl:5.30:8030020200715145239:568f3a16-0.x86_64
>   - module perl:5.30:8030020200715145239:568f3a16-0.x86_64 conflicts with 
> module(perl:5.24) provided by perl:5.24:8010020191114034134:3af8e029-0.x86_64
>   - module perl:5.26:8000020190628020724:55190bc5-0.x86_64 conflicts with 
> module(perl:5.30) provided by perl:5.30:8030020200715145239:568f3a16-0.x86_64
>   - module perl:5.30:8030020200715145239:568f3a16-0.x86_64 conflicts with 
> module(perl:5.26) provided by perl:5.26:8000020190628020724:55190bc5-0.x86_64
> Dependencies resolved.
> ================================================================================
>  Package           Architecture     Version             Repository         
> Size
> ================================================================================
> Enabling module streams:
>  perl                               5.30
>  postgresql                         12
>
> Transaction Summary
> ================================================================================
>
> Complete!
> [root@eb931d6dd4b0 /]# yum -y module install perl-DBD-Pg
> Failed to set locale, defaulting to C.UTF-8
> Last metadata expiration check: 0:01:04 ago on Thu Dec 10 21:51:46 2020.
> Modular dependency problem:
>
>  Problem: conflicting requests
>   - module perl-libwww-perl:6.34:8030020200716155257:7cc0a66d-0.x86_64 
> requires module(perl:5.24), but none of the providers can be installed
>   - module perl-libwww-perl:6.34:8030020200716155257:b967a9a2-0.x86_64 
> requires module(perl:5.26), but none of the providers can be installed
>   - module perl:5.24:8010020191114034134:3af8e029-0.x86_64 conflicts with 
> module(perl:5.30) provided by perl:5.30:8030020200715145239:568f3a16-0.x86_64
>   - module perl:5.30:8030020200715145239:568f3a16-0.x86_64 conflicts with 
> module(perl:5.24) provided by perl:5.24:8010020191114034134:3af8e029-0.x86_64
>   - module perl:5.26:8000020190628020724:55190bc5-0.x86_64 conflicts with 
> module(perl:5.30) provided by perl:5.30:8030020200715145239:568f3a16-0.x86_64
>   - module perl:5.30:8030020200715145239:568f3a16-0.x86_64 conflicts with 
> module(perl:5.26) provided by perl:5.26:8000020190628020724:55190bc5-0.x86_64
> All matches for argument 'perl-DBD-Pg' in module 'perl-DBD-Pg:3.7' are not 
> active
> Error: Problems in request:
> broken groups or modules: perl-DBD-Pg
> Modular dependency problems:
>
>  Problem: conflicting requests
>   - module perl-libwww-perl:6.34:8030020200716155257:7cc0a66d-0.x86_64 
> requires module(perl:5.24), but none of the providers can be installed
>   - module perl-libwww-perl:6.34:8030020200716155257:b967a9a2-0.x86_64 
> requires module(perl:5.26), but none of the providers can be installed
>   - module perl:5.24:8010020191114034134:3af8e029-0.x86_64 conflicts with 
> module(perl:5.30) provided by perl:5.30:8030020200715145239:568f3a16-0.x86_64
>   - module perl:5.30:8030020200715145239:568f3a16-0.x86_64 conflicts with 
> module(perl:5.24) provided by perl:5.24:8010020191114034134:3af8e029-0.x86_64
>   - module perl:5.26:8000020190628020724:55190bc5-0.x86_64 conflicts with 
> module(perl:5.30) provided by perl:5.30:8030020200715145239:568f3a16-0.x86_64
>   - module perl:5.30:8030020200715145239:568f3a16-0.x86_64 conflicts with 
> module(perl:5.26) provided by perl:5.26:8000020190628020724:55190bc5-0.x86_64
> [root@eb931d6dd4b0 /]#
> _______________________________________________
> devel mailing list -- devel@lists.fedoraproject.org
> To unsubscribe send an email to devel-le...@lists.fedoraproject.org
> Fedora Code of Conduct: 
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: 
> https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to