Page 1 of 1
RPM install fails on perl-List-MoreUtils CentOS 8
Posted: Thu Oct 22, 2020 7:12 pm
by dfmco
Nothing provides perl-List-MoreUtils needed by nagiosxi-5.7.4-1.el8.x86_64. I do have EPEL and PowerTools repo enabled. Not sure what I could be missing here.
From the repo page this does not exist in CentOS:
subscription-manager repos --enable codeready-builder-for-rhel-8-x86_64-rpms
I found where perl-List-MoreUtils should be provided by PowerTools but a yum whatprovides perl-List-MoreUtils fails to find it once PowerTools is enabled.
Re: RPM install fails on perl-List-MoreUtils CentOS 8
Posted: Fri Oct 23, 2020 11:25 am
by dchurch
Apparently
this package is in the "PowerTools" CentOS repo, and you can install it thru the following command:
Code: Select all
dnf --enablerepo=PowerTools install perl-List-MoreUtils
Re: RPM install fails on perl-List-MoreUtils CentOS 8
Posted: Fri Oct 23, 2020 2:35 pm
by dflick
Yes, it should be there but it does not find that package. Sorry if I was not clear earlier. I did install PowerTools repo and the package is not found.
Re: RPM install fails on perl-List-MoreUtils CentOS 8
Posted: Fri Oct 23, 2020 4:41 pm
by dchurch
I just attempted this on a base CentOS 8 install.
Code: Select all
# yum whatprovides perl-List-MoreUtils
Last metadata expiration check: 5:34:51 ago on Fri 23 Oct 2020 12:02:10 PM EDT.
Error: No Matches found
# yum config-manager --set-enabled PowerTools
# yum whatprovides perl-List-MoreUtils
CentOS-8 - PowerTools 83 kB/s | 1.9 MB 00:23
Last metadata expiration check: 0:00:01 ago on Fri 23 Oct 2020 05:38:27 PM EDT.
perl-List-MoreUtils-0.428-2.el8.noarch : Provide the stuff missing in List::Util
Repo : PowerTools
Matched from:
Provide : perl-List-MoreUtils = 0.428-2.el8
I'm not sure why this isn't working for you. What steps did you take to enable the PowerTools repo? Can you replicate the steps above?
Re: RPM install fails on perl-List-MoreUtils CentOS 8
Posted: Mon Oct 26, 2020 12:13 am
by dfmco
Did this on a NEW FRESH install and still no go. Must be a bug.
[root@onshore-netmon-pri ~]# dnf -y install
https://dl.fedoraproject.org/pub/epel/e ... noarch.rpm
Last metadata expiration check: 1:56:18 ago on Sun 25 Oct 2020 10:14:45 PM CDT.
epel-release-latest-8.noarch.rpm 135 kB/s | 22 kB 00:00
Package epel-release-8-8.el8.noarch is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[root@onshore-netmon-pri ~]# dnf config-manager --set-enabled PowerTools
Error: No matching repo to modify: PowerTools.
[root@onshore-netmon-pri ~]# yum repolist
repo id repo name
AppStream CentOS-8 - AppStream
BaseOS CentOS-8 - Base
epel Extra Packages for Enterprise Linux 8 - x86_64
epel-modular Extra Packages for Enterprise Linux Modular 8 - x86_64
extras CentOS-8 - Extras
[root@onshore-netmon-pri ~]#
Re: RPM install fails on perl-List-MoreUtils CentOS 8
Posted: Mon Oct 26, 2020 2:31 pm
by dchurch
Try running the following to clear out the repository cache so it can be recreated.
Run this:
Then see if you can install the perl-List-MoreUtils package.
If it still does not install, run the following as root and post the output here.
Code: Select all
dnf repolist
dnf list |grep perl-List-MoreUtils
Re: RPM install fails on perl-List-MoreUtils CentOS 8
Posted: Mon Oct 26, 2020 3:33 pm
by dfmco
I did a dnf upgrade and reboot and it is working now. Seems like a CentOS 8 bug maybe?
Re: RPM install fails on perl-List-MoreUtils CentOS 8
Posted: Tue Oct 27, 2020 10:59 am
by ssax
I do not see you running this command:
Code: Select all
yum config-manager --set-enabled PowerTools
Does "yum repolist" show the PowerTools repo now?