RPM install fails on perl-List-MoreUtils CentOS 8

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
dfmco
Posts: 257
Joined: Wed Dec 04, 2013 11:05 am

RPM install fails on perl-List-MoreUtils CentOS 8

Post 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.
Last edited by dfmco on Fri Oct 23, 2020 1:20 pm, edited 1 time in total.
dchurch
Posts: 858
Joined: Wed Oct 07, 2020 12:46 pm
Location: Yo mama

Re: RPM install fails on perl-List-MoreUtils CentOS 8

Post 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
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.

Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
dflick
Posts: 72
Joined: Tue Nov 12, 2013 3:16 pm

Re: RPM install fails on perl-List-MoreUtils CentOS 8

Post 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.
dchurch
Posts: 858
Joined: Wed Oct 07, 2020 12:46 pm
Location: Yo mama

Re: RPM install fails on perl-List-MoreUtils CentOS 8

Post 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?
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.

Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
dfmco
Posts: 257
Joined: Wed Dec 04, 2013 11:05 am

Re: RPM install fails on perl-List-MoreUtils CentOS 8

Post 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 ~]#
dchurch
Posts: 858
Joined: Wed Oct 07, 2020 12:46 pm
Location: Yo mama

Re: RPM install fails on perl-List-MoreUtils CentOS 8

Post by dchurch »

Try running the following to clear out the repository cache so it can be recreated.
Run this:

Code: Select all

dnf clean all
Then see if you can install the perl-List-MoreUtils package.

Code: Select all

dnf install perl-List-MoreUtils
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
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.

Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
dfmco
Posts: 257
Joined: Wed Dec 04, 2013 11:05 am

Re: RPM install fails on perl-List-MoreUtils CentOS 8

Post by dfmco »

I did a dnf upgrade and reboot and it is working now. Seems like a CentOS 8 bug maybe?
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: RPM install fails on perl-List-MoreUtils CentOS 8

Post 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?
Locked