Description of problem: I am trying install RT4 on RHEL 8.1, which requires perl-XML-RSS, and it fails to find a perl(DateTime::Format::Mail) provider. The perl module was through CPAN, and it still fails. Extra Packages for Enterprise Linux Modular 8 - x86_64 144 kB/s | 18 kB 00:00 Extra Packages for Enterprise Linux Modular 8 - x86_64 - Debug 97 kB/s | 63 kB 00:00 Extra Packages for Enterprise Linux Modular 8 - x86_64 - Source 17 kB/s | 7.5 kB 00:00 Extra Packages for Enterprise Linux 8 - Playground - x86_64 2.7 MB/s | 4.9 MB 00:01 Extra Packages for Enterprise Linux 8 - Playground - x86_64 - Debug 2.6 MB/s | 2.5 MB 00:00 Extra Packages for Enterprise Linux 8 - Playground - x86_64 - Source 688 kB/s | 861 kB 00:01 Extra Packages for Enterprise Linux Modular 8 - Testing - x86_64 221 kB/s | 116 kB 00:00 Extra Packages for Enterprise Linux Modular 8 - Testing - x86_64 - Debug 86 kB/s | 63 kB 00:00 Extra Packages for Enterprise Linux Modular 8 - Testing - x86_64 - Source 757 B/s | 257 B 00:00 Extra Packages for Enterprise Linux 8 - Testing - x86_64 1.9 MB/s | 1.6 MB 00:00 Extra Packages for Enterprise Linux 8 - Testing - x86_64 - Debug 680 kB/s | 607 kB 00:00 Extra Packages for Enterprise Linux 8 - Testing - x86_64 - Source 542 kB/s | 218 kB 00:00 Extra Packages for Enterprise Linux 8 - x86_64 65 kB/s | 14 kB 00:00 Extra Packages for Enterprise Linux 8 - x86_64 - Debug 910 kB/s | 2.8 MB 00:03 Extra Packages for Enterprise Linux 8 - x86_64 - Source 2.0 MB/s | 1.3 MB 00:00 Red Hat Satellite Tools 6.5 for RHEL 8 x86_64 (RPMs) 35 kB/s | 2.1 kB 00:00 Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs) 42 kB/s | 2.4 kB 00:00 Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs) 47 kB/s | 2.8 kB 00:00 Red Hat CodeReady Linux Builder for RHEL 8 x86_64 (RPMs) 35 kB/s | 2.1 kB 00:00 Error: Problem: cannot install the best candidate for the job - nothing provides perl(DateTime::Format::Mail) needed by perl-XML-RSS-1.61-1.epel8.playground.noarch (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages) cpan[1]> install DateTime::Format::Mail Reading '/root/.cpan/Metadata' Database was generated on Wed, 08 Apr 2020 14:56:03 GMT DateTime::Format::Mail is up to date (0.403). Version-Release number of selected component (if applicable): EPEL8, perl-XML-RSS-1.61-1.el8.noarch How reproducible: Steps to Reproduce: 1. run yum/dnf install perl-XML-RSS 2. 3. Actual results: Error: Problem: cannot install the best candidate for the job - nothing provides perl(DateTime::Format::Mail) needed by perl-XML-RSS-1.61-1.epel8.playground.noarch Expected results: The package installs successfully Additional info:
(In reply to wroblewj from comment #0) > Description of problem: > I am trying install RT4 on RHEL 8.1, which requires perl-XML-RSS, and it > fails to find a perl(DateTime::Format::Mail) provider. You can find the perl-DateTime-Format-Mail rpm in the Powertools repository. EPEL depends on that repository being enabled. https://fedoraproject.org/wiki/EPEL#Quickstart > The perl module was through CPAN, and it still fails. Installing from CPAN does not update the rpm database. Hence, the requirement is still not satisfied (from rpm's point of view) and the installation still fails.
Where does that repo come from? I cannot enable it on RHEL 8. This returns when trying to enable it: Error: No matching repo to modify: PowerTools. Red Hat CodeReady Linux Builder for RHEL 8 x86_64 is enabled, though.
In CentOS, it's defined in /etc/yum.repos.d/CentOS-PowerTools.repo which is provided by the centos-repos package. I've no idea what provides it in RHEL.
It (perl-DateTime-Format-Mail-0.403-6.el8) should be in codeready-builder-for-rhel-8-x86_64-rpms according to the list in Fedora Infrastructure: https://infrastructure.fedoraproject.org/repo/json/pkg_el8.json
Can you try downloading the perl-DateTime-Format-Mail rpm and check that it actually provide 'perl(DateTime::Format::Mail)'? The one in CentOS does so I'd be surprised if it didn't. dnf download perl-DateTime-Format-Mail rpm -qp --provides perl-DateTime-Format-Mail*.rpm
Thanks, Paul, that did the trick. I didn't sync the repo after adding the subscription in Satellite. I'm guessing that's why I wasn't able to find that RPM.