Bug 1963049
| Summary: | Broken dependencies for Perl 5.26 in UBI8 repositories because of modular perl-*-4:5.30.1-451.module+el8.3.0+6961+31ca2e7a packages | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | tarkan.nein <tarkan.nein> |
| Component: | perl | Assignee: | perl-maint-list |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | RHEL CS Apps Subsystem QE <rhel-cs-apps-subsystem-qe> |
| Severity: | urgent | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 8.4 | CC: | antgarci, ben.schrooten, hhorak, jbreitwe, jplesnik, lanak, levent.demiroers, michael.bruenker, mnunes, nico.van.roijen, ppisar, redhat, rmanes, shubh.vashisht, venkataramana.m |
| Target Milestone: | beta | Flags: | pm-rhel:
mirror+
|
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-06-07 07:37:04 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
tarkan.nein@adorsys.com
2021-05-21 09:32:58 UTC
A possible workaround is to use module stream version 5:30: microdnf module enable perl:5.30 Same issue here as well. I have tried multiple work arounds. [root@bd74dcdbda15 /]# yum install perl -y Last metadata expiration check: 0:00:47 ago on Fri May 21 16:08:35 2021. Error: Problem: cannot install both perl-libs-4:5.30.1-451.module+el8.3.0+6961+31ca2e7a.x86_64 and perl-libs-4:5.26.3-419.el8.x86_64 - package perl-Scalar-List-Utils-3:1.49-2.el8.x86_64 requires libperl.so.5.26()(64bit), but none of the providers can be installed - package perl-4:5.30.1-451.module+el8.3.0+6961+31ca2e7a.x86_64 requires perl(:MODULE_COMPAT_5.30.1), but none of the providers can be installed - package perl-4:5.30.1-451.module+el8.3.0+6961+31ca2e7a.x86_64 requires perl-Scalar-List-Utils, but none of the providers can be installed - cannot install the best candidate for the job - package perl-Scalar-List-Utils-3:1.53-439.module+el8.3.0+6718+7f269185.x86_64 is filtered out by modular filtering - package perl-libs-4:5.30.1-452.module+el8.4.0+8990+01326e37.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) I was able to get around it using your DNF trick and installing perl with dnf instead of yum. (In reply to Ben from comment #3) > I was able to get around it using your DNF trick and installing perl with > dnf instead of yum. Unfortunately on another project we cant get 5.26 to load anymore and 5.3 is breaking it. I am also seeing the same issue while installing perl in a ubi-minimal derived image. ---- FROM registry.access.redhat.com/ubi8/ubi-minimal:latest RUN microdnf update && microdnf install perl && microdnf clean all ---- I tried to install 5.3 as suggested in one of the comments above and that goes through. ---- FROM registry.access.redhat.com/ubi8/ubi-minimal:latest RUN microdnf update && microdnf module enable perl:5.30 && microdnf install perl && microdnf clean all ---- If your package manger reports that modular metadata are missing for perl:5.26 stream, then the problem is probably in a repository your system is using. To check out what's wrong with your repository, we need to know which repository (URL) you use. "dnf repolist -v" should tell you it and you should share with us the URL. In my experience it's very often caused by a misconfigured Satellite mirror. I.e. not a bug in Red Hat repository, but in a user's own mirror. We are building a container image with the 'registry.access.redhat.com/ubi8/ubi-minimal:latest' base image. And the repolist with 'microdnf repolist' is as follows... repo id repo name ubi-8-appstream Red Hat Universal Base Image 8 (RPMs) - AppStream ubi-8-baseos Red Hat Universal Base Image 8 (RPMs) - BaseOS ubi-8-codeready-builder Red Hat Universal Base Image 8 (RPMs) - CodeReady Builder The relevant URLs for the above repos per /etc/yum.repos.d/ are... ubi-8-appstream https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi8/8/x86_64/appstream/os ubi-8-baseos https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi8/8/x86_64/baseos/os ubi-8-codeready-builder https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi8/8/x86_64/codeready-builder/os So looks to me the perl:5.26 metadata is broken in https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi8/8/x86_64/appstream/os/Packages/p/ Thanks. It seems this repository is missing modular metadata for the previous perl:5.30 module build perl:5.30:8030020200609055348, but it presents its RPM packages. We will forward this bug report to UBI repository maintainers to fix it. is this issue fixed and pushed? Perl team can't solve it. The metadata in UBI repository has to be fixed, the ticket for it was created. can we please increase the priority of this fix. we are not able to build and release our components. Please increase priority of this fix, this is a blocking issue for IBM SPP containers team. A workaround is masking the offending RPM packages in a package manager by appending this one long line to /etc/dnf/dnf.conf: exclude=perl-4:5.30.1-451.module+el8.3.0+6961+31ca2e7a perl-Attribute-Handlers-0:1.01-451.module+el8.3.0+6961+31ca2e7a perl-Devel-Peek-0:1.28-451.module+el8.3.0+6961+31ca2e7a perl-Devel-Peek-debuginfo-0:1.28-451.module+el8.3.0+6961+31ca2e7a perl-Devel-SelfStubber-0:1.06-451.module+el8.3.0+6961+31ca2e7a perl-Errno-0:1.30-451.module+el8.3.0+6961+31ca2e7a perl-ExtUtils-Embed-0:1.35-451.module+el8.3.0+6961+31ca2e7a perl-ExtUtils-Miniperl-0:1.09-451.module+el8.3.0+6961+31ca2e7a perl-IO-0:1.40-451.module+el8.3.0+6961+31ca2e7a perl-IO-Zlib-1:1.10-451.module+el8.3.0+6961+31ca2e7a perl-IO-debuginfo-0:1.40-451.module+el8.3.0+6961+31ca2e7a perl-Locale-Maketext-Simple-1:0.21-451.module+el8.3.0+6961+31ca2e7a perl-Math-Complex-0:1.59-451.module+el8.3.0+6961+31ca2e7a perl-Memoize-0:1.03-451.module+el8.3.0+6961+31ca2e7a perl-Module-Loaded-1:0.08-451.module+el8.3.0+6961+31ca2e7a perl-Net-Ping-0:2.71-451.module+el8.3.0+6961+31ca2e7a perl-Pod-Html-0:1.24-451.module+el8.3.0+6961+31ca2e7a perl-SelfLoader-0:1.25-451.module+el8.3.0+6961+31ca2e7a perl-Test-0:1.31-451.module+el8.3.0+6961+31ca2e7a perl-Time-Piece-0:1.33-451.module+el8.3.0+6961+31ca2e7a perl-Time-Piece-debuginfo-0:1.33-451.module+el8.3.0+6961+31ca2e7a perl-debuginfo-4:5.30.1-451.module+el8.3.0+6961+31ca2e7a perl-debugsource-4:5.30.1-451.module+el8.3.0+6961+31ca2e7a perl-devel-4:5.30.1-451.module+el8.3.0+6961+31ca2e7a perl-interpreter-4:5.30.1-451.module+el8.3.0+6961+31ca2e7a perl-interpreter-debuginfo-4:5.30.1-451.module+el8.3.0+6961+31ca2e7a perl-libnetcfg-4:5.30.1-451.module+el8.3.0+6961+31ca2e7a perl-libs-4:5.30.1-451.module+el8.3.0+6961+31ca2e7a perl-libs-debuginfo-4:5.30.1-451.module+el8.3.0+6961+31ca2e7a perl-macros-4:5.30.1-451.module+el8.3.0+6961+31ca2e7a perl-open-0:1.11-451.module+el8.3.0+6961+31ca2e7a perl-tests-4:5.30.1-451.module+el8.3.0+6961+31ca2e7a perl-utils-0:5.30.1-451.module+el8.3.0+6961+31ca2e7a This Bug affects several Images of course and there seem to exist different bugreports already (e.g. https://bugzilla.redhat.com/show_bug.cgi?id=1963153) We experience this problem in ubi8/openjdk Images and implemented "--nobest" as an option for all our microdnf calls to be able to build again. *** Bug 1963153 has been marked as a duplicate of this bug. *** This is a blocking issue for IBM Cloud Pak teams as well, please consider for priority A root cause was identified and our release engineering team is fixing a tool which creates UBI repositories to correctly couple modular packages with modular metadata. Our release engineering team developed a fix and will regenerate the broken repository. The changes are expected to become visible on our mirrors the next day. Unfortunately the fix doesn't seem to work the way it should (from my point of view). While the perl-libs error doesn't come up any longer, there now seems a new sideeffect with rpm-libs: When trying to update ubi8/openjdk image the following error is thrown: Problem: cannot install both rpm-libs-4.14.3-13.el8.x86_64 and rpm-libs-4.14.3-4.el8.x86_64 - package rpm-plugin-systemd-inhibit-4.14.3-4.el8.x86_64 requires rpm-libs(x86-64) = 4.14.3-4.el8, but none of the providers can be installed - cannot install the best update candidate for package rpm-libs-4.14.3-4.el8.x86_64 - problem with installed package rpm-plugin-systemd-inhibit-4.14.3-4.el8.x86_64 The modular perl:5.30 issue is resolved now. (In reply to michael.bruenker from comment #21) > Unfortunately the fix doesn't seem to work the way it should (from my point > of view). While the perl-libs error doesn't come up any longer, there now > seems a new sideeffect with rpm-libs: > When trying to update ubi8/openjdk image the following error is thrown: > > Problem: cannot install both rpm-libs-4.14.3-13.el8.x86_64 and > rpm-libs-4.14.3-4.el8.x86_64 > - package rpm-plugin-systemd-inhibit-4.14.3-4.el8.x86_64 requires > rpm-libs(x86-64) = 4.14.3-4.el8, but none of the providers can be installed > - cannot install the best update candidate for package > rpm-libs-4.14.3-4.el8.x86_64 > - problem with installed package > rpm-plugin-systemd-inhibit-4.14.3-4.el8.x86_64 That's a different issue. For an unknown reason, UBI8 baseos repository is missing rpm-plugin-systemd-inhibit-4.14.3-13.el8.x86_64 package while having rpm-libs-4.14.3-13.el8.x86_64. It actually does not contain any rpm-plugin-systemd-inhibit package. Maybe it has never contained it. I have no idea. I recommend you reporting it to Red Hat support <https://access.redhat.com/support> where you will be helped with triaging your issue (e.g. there is no "ubi8/openjdk" image <https://catalog.redhat.com/software/containers/search?q=openjdk>). |