Nagios XI on Centos 8 yum/dnf update failure

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

Nagios XI on Centos 8 yum/dnf update failure

Post by dfmco »

After installing Nagios, I am no longer able to update via yum or dnf. It looks like a bunch of dependency errors on packages associated with the install. Any ideas on how to fix? NagiosXI is installed vie rpm so that we can manage and deploy with automation.

[onshore-netmon-pri ~]# yum -y upgrade
Last metadata expiration check: 0:28:53 ago on Tue 17 Nov 2020 11:50:14 AM CST.
Error:
Problem 1: package net-snmp-perl-1:5.8-7.el8.2.x86_64 requires net-snmp-agent-libs(x86-64) = 1:5.8-7.el8.2, but none of the providers can be installed
- cannot install both net-snmp-agent-libs-1:5.8-14.el8_2.1.x86_64 and net-snmp-agent-libs-1:5.8-7.el8.2.x86_64
- cannot install both net-snmp-agent-libs-1:5.8-7.el8.2.x86_64 and net-snmp-agent-libs-1:5.8-14.el8_2.1.x86_64
- cannot install the best update candidate for package net-snmp-perl-1:5.8-7.el8.2.x86_64
- cannot install the best update candidate for package net-snmp-agent-libs-1:5.8-7.el8.2.x86_64
Problem 2: package nagiosxi-5.7.4-1.el8.x86_64 requires net-snmp-perl, but none of the providers can be installed
- package net-snmp-perl-1:5.8-7.el8.2.x86_64 requires net-snmp-libs(x86-64) = 1:5.8-7.el8.2, but none of the providers can be installed
- cannot install both net-snmp-libs-1:5.8-14.el8_2.1.x86_64 and net-snmp-libs-1:5.8-7.el8.2.x86_64
- cannot install both net-snmp-libs-1:5.8-7.el8.2.x86_64 and net-snmp-libs-1:5.8-14.el8_2.1.x86_64
- cannot install the best update candidate for package net-snmp-libs-1:5.8-7.el8.2.x86_64
- cannot install the best update candidate for package nagiosxi-5.7.4-1.el8.x86_64
Problem 3: problem with installed package net-snmp-perl-1:5.8-7.el8.2.x86_64
- package net-snmp-perl-1:5.8-7.el8.2.x86_64 requires net-snmp-agent-libs(x86-64) = 1:5.8-7.el8.2, but none of the providers can be installed
- cannot install both net-snmp-agent-libs-1:5.8-14.el8_2.1.x86_64 and net-snmp-agent-libs-1:5.8-7.el8.2.x86_64
- cannot install both net-snmp-agent-libs-1:5.8-7.el8.2.x86_64 and net-snmp-agent-libs-1:5.8-14.el8_2.1.x86_64
- package net-snmp-1:5.8-14.el8_2.1.x86_64 requires net-snmp-agent-libs(x86-64) = 1:5.8-14.el8_2.1, but none of the providers can be installed
- cannot install the best update candidate for package net-snmp-1:5.8-7.el8.2.x86_64
Problem 4: problem with installed package nagiosxi-5.7.4-1.el8.x86_64
- package nagiosxi-5.7.4-1.el8.x86_64 requires net-snmp-perl, but none of the providers can be installed
- package net-snmp-perl-1:5.8-7.el8.2.x86_64 requires net-snmp-libs(x86-64) = 1:5.8-7.el8.2, but none of the providers can be installed
- cannot install both net-snmp-libs-1:5.8-14.el8_2.1.x86_64 and net-snmp-libs-1:5.8-7.el8.2.x86_64
- cannot install both net-snmp-libs-1:5.8-7.el8.2.x86_64 and net-snmp-libs-1:5.8-14.el8_2.1.x86_64
- package net-snmp-utils-1:5.8-14.el8_2.1.x86_64 requires net-snmp-libs(x86-64) = 1:5.8-14.el8_2.1, but none of the providers can be installed
- cannot install the best update candidate for package net-snmp-utils-1:5.8-7.el8.2.x86_64
(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)
dfmco
Posts: 257
Joined: Wed Dec 04, 2013 11:05 am

Re: Nagios XI on Centos 8 yum/dnf update failure

Post by dfmco »

Looks like this is similar to 60711
dchurch
Posts: 858
Joined: Wed Oct 07, 2020 12:46 pm
Location: Yo mama

Re: Nagios XI on Centos 8 yum/dnf update failure

Post by dchurch »

Did you install the nagiosxi package manually from an RPM you downloaded from our offline repo, or did you configure yum to use the nagios repo?

There are some extra steps needed to make the repo work for Cent8. Namely:

Code: Select all

rpm -Uvh https://repo.nagios.com/nagios/8/nagios-repo-8-1.el8.noarch.rpm
yum update
yum install epel-release -y
yum config-manager --enable PowerTools
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: Nagios XI on Centos 8 yum/dnf update failure

Post by dfmco »

We configured Yum to use the Nagios repo. To be clear, the install works and we get a working version of Nagios. I have repeated this process several times. The problem is that we can no longer run a yum update due to packages in the Nagios repo. No amount of flushing or resetting yum or dnf fixes the issue.
dchurch
Posts: 858
Joined: Wed Oct 07, 2020 12:46 pm
Location: Yo mama

Re: Nagios XI on Centos 8 yum/dnf update failure

Post by dchurch »

What are the outputs from the following commands:

Code: Select all

rpm -qa |grep 'nagios\|net-snmp' |sort

Code: Select all

yum info net-snmp-libs

Code: Select all

yum info nagiosxi
It's odd... the Centos 8 Nagios repo should let you upgrade to nagiosxi-5.7.5. Maybe something is broken with how the repo is configured.
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: Nagios XI on Centos 8 yum/dnf update failure

Post by dfmco »

[root@onshore-netmon-pri ~]# rpm -qa |grep 'nagios\|net-snmp' |sort
nagios-repo-8-1.el8.noarch
nagiosxi-5.7.4-1.el8.x86_64
nagiosxi-mrtg-5.7.4-1.el8.x86_64
nagiosxi-nagioscore-5.7.4-1.el8.x86_64
nagiosxi-nagiosplugins-5.7.4-1.el8.x86_64
nagiosxi-nagvis-5.7.4-1.el8.x86_64
nagiosxi-ndoutils-5.7.4-1.el8.x86_64
nagiosxi-nrds-5.7.4-1.el8.x86_64
nagiosxi-nrpe-5.7.4-1.el8.x86_64
nagiosxi-nsca-5.7.4-1.el8.x86_64
nagiosxi-nxti-5.7.4-1.el8.x86_64
nagiosxi-pnp-5.7.4-1.el8.x86_64
nagiosxi-shellinabox-5.7.4-1.el8.x86_64
nagiosxi-wkhtmltox-5.7.4-1.el8.x86_64
nagiosxi-wmic-5.7.4-1.el8.x86_64
net-snmp-5.8-7.el8.2.x86_64
net-snmp-agent-libs-5.8-7.el8.2.x86_64
net-snmp-libs-5.8-7.el8.2.x86_64
net-snmp-perl-5.8-7.el8.2.x86_64
net-snmp-utils-5.8-7.el8.2.x86_64
[root@onshore-netmon-pri ~]# yum info net-snmp-libs
Last metadata expiration check: 0:56:48 ago on Wed 18 Nov 2020 11:51:55 AM CST.
Installed Packages
Name : net-snmp-libs
Epoch : 1
Version : 5.8
Release : 7.el8.2
Architecture : x86_64
Size : 3.1 M
Source : net-snmp-5.8-7.el8.2.src.rpm
Repository : @System
From repo : nagiosxi-deps
Summary : The NET-SNMP runtime client libraries
URL : http://net-snmp.sourceforge.net/
License : BSD
Description : The net-snmp-libs package contains the runtime client libraries for shared
: binaries and applications.

Available Packages
Name : net-snmp-libs
Epoch : 1
Version : 5.8
Release : 14.el8_2.1
Architecture : x86_64
Size : 821 k
Source : net-snmp-5.8-14.el8_2.1.src.rpm
Repository : BaseOS
Summary : The NET-SNMP runtime client libraries
URL : http://net-snmp.sourceforge.net/
License : BSD
Description : The net-snmp-libs package contains the runtime client libraries for shared
: binaries and applications.

Name : net-snmp-libs
Epoch : 1
Version : 5.8
Release : 14.el8_2.1
Architecture : i686
Size : 840 k
Source : net-snmp-5.8-14.el8_2.1.src.rpm
Repository : BaseOS
Summary : The NET-SNMP runtime client libraries
URL : http://net-snmp.sourceforge.net/
License : BSD
Description : The net-snmp-libs package contains the runtime client libraries for shared
: binaries and applications.

[root@onshore-netmon-pri ~]# yum info nagiosxi
Last metadata expiration check: 0:57:01 ago on Wed 18 Nov 2020 11:51:55 AM CST.
Installed Packages
Name : nagiosxi
Version : 5.7.4
Release : 1.el8
Architecture : x86_64
Size : 175 M
Source : nagiosxi-5.7.4-1.el8.src.rpm
Repository : @System
From repo : nagios-base
Summary : Nagios XI IT infrastructure monitoring solution
URL : http://www.nagios.com/
License : Nagios Software License
Description : Nagios XI is the most powerful IT infrastructure monitoring solution on the market. Nagios XI extends on
: proven, enterprise-class Open Source components to deliver the best monitoring solution for today's demanding
: organizational requirements. Designed for scalability and flexibility, XI is designed to make problematic IT
: monitoring tasks simple, while retaining the powerful attributes of its enterprise-class foundation blocks.

Available Packages
Name : nagiosxi
Version : 5.7.5
Release : 1.el8
Architecture : x86_64
Size : 62 M
Source : nagiosxi-5.7.5-1.el8.src.rpm
Repository : nagios-base
Summary : Nagios XI IT infrastructure monitoring solution
URL : http://www.nagios.com/
License : Nagios Software License
Description : Nagios XI is the most powerful IT infrastructure monitoring solution on the market. Nagios XI extends on
: proven, enterprise-class Open Source components to deliver the best monitoring solution for today's demanding
: organizational requirements. Designed for scalability and flexibility, XI is designed to make problematic IT
: monitoring tasks simple, while retaining the powerful attributes of its enterprise-class foundation blocks.
dfmco
Posts: 257
Joined: Wed Dec 04, 2013 11:05 am

Re: Nagios XI on Centos 8 yum/dnf update failure

Post by dfmco »

Additional commands:

[root@onshore-netmon-pri ~]# yum update
Last metadata expiration check: 1:01:30 ago on Wed 18 Nov 2020 11:51:55 AM CST.
Error:
Problem 1: package net-snmp-perl-1:5.8-12.el8.1.x86_64 requires net-snmp-agent-libs(x86-64) = 1:5.8-12.el8.1, but none of the providers can be installed
- cannot install both net-snmp-agent-libs-1:5.8-12.el8.1.x86_64 and net-snmp-agent-libs-1:5.8-14.el8_2.1.x86_64
- cannot install the best update candidate for package net-snmp-perl-1:5.8-7.el8.2.x86_64
- cannot install the best update candidate for package net-snmp-agent-libs-1:5.8-7.el8.2.x86_64
Problem 2: package nagiosxi-5.7.5-1.el8.x86_64 requires net-snmp-perl, but none of the providers can be installed
- package net-snmp-perl-1:5.8-7.el8.2.x86_64 requires net-snmp-libs(x86-64) = 1:5.8-7.el8.2, but none of the providers can be installed
- package net-snmp-perl-1:5.8-12.el8.1.x86_64 requires net-snmp-libs(x86-64) = 1:5.8-12.el8.1, but none of the providers can be installed
- package net-snmp-perl-1:5.8-12.el8.x86_64 requires net-snmp-libs(x86-64) = 1:5.8-12.el8, but none of the providers can be installed
- cannot install both net-snmp-libs-1:5.8-14.el8_2.1.x86_64 and net-snmp-libs-1:5.8-7.el8.2.x86_64
- cannot install both net-snmp-libs-1:5.8-7.el8.2.x86_64 and net-snmp-libs-1:5.8-14.el8_2.1.x86_64
- cannot install both net-snmp-libs-1:5.8-12.el8.1.x86_64 and net-snmp-libs-1:5.8-14.el8_2.1.x86_64
- cannot install both net-snmp-libs-1:5.8-12.el8.x86_64 and net-snmp-libs-1:5.8-14.el8_2.1.x86_64
- cannot install the best update candidate for package net-snmp-libs-1:5.8-7.el8.2.x86_64
- cannot install the best update candidate for package nagiosxi-5.7.4-1.el8.x86_64
Problem 3: package nagiosxi-5.7.5-1.el8.x86_64 requires net-snmp-perl, but none of the providers can be installed
- package net-snmp-perl-1:5.8-7.el8.2.x86_64 requires net-snmp-agent-libs(x86-64) = 1:5.8-7.el8.2, but none of the providers can be installed
- package net-snmp-perl-1:5.8-12.el8.1.x86_64 requires net-snmp-agent-libs(x86-64) = 1:5.8-12.el8.1, but none of the providers can be installed
- package net-snmp-perl-1:5.8-12.el8.x86_64 requires net-snmp-agent-libs(x86-64) = 1:5.8-12.el8, but none of the providers can be installed
- problem with installed package nagiosxi-5.7.4-1.el8.x86_64
- cannot install both net-snmp-agent-libs-1:5.8-14.el8_2.1.x86_64 and net-snmp-agent-libs-1:5.8-7.el8.2.x86_64
- cannot install both net-snmp-agent-libs-1:5.8-7.el8.2.x86_64 and net-snmp-agent-libs-1:5.8-14.el8_2.1.x86_64
- cannot install both net-snmp-agent-libs-1:5.8-12.el8.1.x86_64 and net-snmp-agent-libs-1:5.8-14.el8_2.1.x86_64
- cannot install both net-snmp-agent-libs-1:5.8-12.el8.x86_64 and net-snmp-agent-libs-1:5.8-14.el8_2.1.x86_64
- package nagiosxi-5.7.4-1.el8.x86_64 requires nagiosxi-mrtg(x86-64) = 5.7.4-1.el8, but none of the providers can be installed
- package net-snmp-1:5.8-14.el8_2.1.x86_64 requires net-snmp-agent-libs(x86-64) = 1:5.8-14.el8_2.1, but none of the providers can be installed
- cannot install both nagiosxi-mrtg-5.7.5-1.el8.x86_64 and nagiosxi-mrtg-5.7.4-1.el8.x86_64
- cannot install the best update candidate for package net-snmp-1:5.8-7.el8.2.x86_64
- cannot install the best update candidate for package nagiosxi-mrtg-5.7.4-1.el8.x86_64
Problem 4: problem with installed package net-snmp-perl-1:5.8-7.el8.2.x86_64
- package net-snmp-perl-1:5.8-7.el8.2.x86_64 requires net-snmp-libs(x86-64) = 1:5.8-7.el8.2, but none of the providers can be installed
- package net-snmp-perl-1:5.8-12.el8.1.x86_64 requires net-snmp-libs(x86-64) = 1:5.8-12.el8.1, but none of the providers can be installed
- package net-snmp-perl-1:5.8-12.el8.x86_64 requires net-snmp-libs(x86-64) = 1:5.8-12.el8, but none of the providers can be installed
- cannot install both net-snmp-libs-1:5.8-14.el8_2.1.x86_64 and net-snmp-libs-1:5.8-7.el8.2.x86_64
- cannot install both net-snmp-libs-1:5.8-7.el8.2.x86_64 and net-snmp-libs-1:5.8-14.el8_2.1.x86_64
- cannot install both net-snmp-libs-1:5.8-12.el8.1.x86_64 and net-snmp-libs-1:5.8-14.el8_2.1.x86_64
- cannot install both net-snmp-libs-1:5.8-12.el8.x86_64 and net-snmp-libs-1:5.8-14.el8_2.1.x86_64
- package net-snmp-utils-1:5.8-14.el8_2.1.x86_64 requires net-snmp-libs(x86-64) = 1:5.8-14.el8_2.1, but none of the providers can be installed
- cannot install the best update candidate for package net-snmp-utils-1:5.8-7.el8.2.x86_64
(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)
[root@onshore-netmon-pri ~]# yum update --allowerasing
Last metadata expiration check: 1:01:36 ago on Wed 18 Nov 2020 11:51:55 AM CST.
Error:
Problem: problem with installed package nagiosxi-5.7.4-1.el8.x86_64
- cannot install the best update candidate for package nagiosxi-5.7.4-1.el8.x86_64
- package nagiosxi-5.7.5-1.el8.x86_64 requires net-snmp-perl, but none of the providers can be installed
- package net-snmp-perl-1:5.8-7.el8.2.x86_64 requires net-snmp-agent-libs(x86-64) = 1:5.8-7.el8.2, but none of the providers can be installed
- package net-snmp-perl-1:5.8-12.el8.1.x86_64 requires net-snmp-agent-libs(x86-64) = 1:5.8-12.el8.1, but none of the providers can be installed
- package net-snmp-perl-1:5.8-12.el8.x86_64 requires net-snmp-agent-libs(x86-64) = 1:5.8-12.el8, but none of the providers can be installed
- cannot install both net-snmp-agent-libs-1:5.8-14.el8_2.1.x86_64 and net-snmp-agent-libs-1:5.8-7.el8.2.x86_64
- cannot install both net-snmp-agent-libs-1:5.8-7.el8.2.x86_64 and net-snmp-agent-libs-1:5.8-14.el8_2.1.x86_64
- cannot install both net-snmp-agent-libs-1:5.8-12.el8.1.x86_64 and net-snmp-agent-libs-1:5.8-14.el8_2.1.x86_64
- cannot install both net-snmp-agent-libs-1:5.8-12.el8.x86_64 and net-snmp-agent-libs-1:5.8-14.el8_2.1.x86_64
- problem with installed package net-snmp-agent-libs-1:5.8-7.el8.2.x86_64
- cannot install the best update candidate for package net-snmp-agent-libs-1:5.8-7.el8.2.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
[root@onshore-netmon-pri ~]#
dchurch
Posts: 858
Joined: Wed Oct 07, 2020 12:46 pm
Location: Yo mama

Re: Nagios XI on Centos 8 yum/dnf update failure

Post by dchurch »

Try this:

Code: Select all

yum install -y nagiosxi
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: Nagios XI on Centos 8 yum/dnf update failure

Post by dfmco »

Still no luck:
[root@onshore-netmon-pri ~]# yum install -y nagiosxi
Last metadata expiration check: 1:40:48 ago on Wed 18 Nov 2020 05:52:20 PM CST.
Package nagiosxi-5.7.4-1.el8.x86_64 is already installed.
Dependencies resolved.
============================================================================================================================
Package Architecture Version Repository Size
============================================================================================================================
Upgrading:
nagiosxi x86_64 5.7.5-1.el8 nagios-base 62 M
nagiosxi-mrtg x86_64 5.7.5-1.el8 nagios-base 256 k
nagiosxi-nagioscore x86_64 5.7.5-1.el8 nagios-base 3.9 M
nagiosxi-nagiosplugins x86_64 5.7.5-1.el8 nagios-base 1.8 M
nagiosxi-nagvis x86_64 5.7.5-1.el8 nagios-base 1.6 M
nagiosxi-ndoutils x86_64 5.7.5-1.el8 nagios-base 224 k
nagiosxi-nrds x86_64 5.7.5-1.el8 nagios-base 10 M
nagiosxi-nrpe x86_64 5.7.5-1.el8 nagios-base 88 k
nagiosxi-nsca x86_64 5.7.5-1.el8 nagios-base 51 k
nagiosxi-nxti x86_64 5.7.5-1.el8 nagios-base 60 k
nagiosxi-pnp x86_64 5.7.5-1.el8 nagios-base 35 k
nagiosxi-shellinabox x86_64 5.7.5-1.el8 nagios-base 126 k
nagiosxi-wkhtmltox x86_64 5.7.5-1.el8 nagios-base 24 M
nagiosxi-wmic x86_64 5.7.5-1.el8 nagios-base 4.7 M

Transaction Summary
============================================================================================================================
Upgrade 14 Packages

Total download size: 110 M
Downloading Packages:
(1/14): nagiosxi-mrtg-5.7.5-1.el8.x86_64.rpm 2.4 MB/s | 256 kB 00:00
(2/14): nagiosxi-nagiosplugins-5.7.5-1.el8.x86_64.rpm 23 MB/s | 1.8 MB 00:00
(3/14): nagiosxi-nagvis-5.7.5-1.el8.x86_64.rpm 29 MB/s | 1.6 MB 00:00
(4/14): nagiosxi-ndoutils-5.7.5-1.el8.x86_64.rpm 8.8 MB/s | 224 kB 00:00
(5/14): nagiosxi-nagioscore-5.7.5-1.el8.x86_64.rpm 12 MB/s | 3.9 MB 00:00
(6/14): nagiosxi-nrpe-5.7.5-1.el8.x86_64.rpm 3.8 MB/s | 88 kB 00:00
(7/14): nagiosxi-nsca-5.7.5-1.el8.x86_64.rpm 3.7 MB/s | 51 kB 00:00
(8/14): nagiosxi-nxti-5.7.5-1.el8.x86_64.rpm 5.1 MB/s | 60 kB 00:00
(9/14): nagiosxi-pnp-5.7.5-1.el8.x86_64.rpm 3.0 MB/s | 35 kB 00:00
(10/14): nagiosxi-shellinabox-5.7.5-1.el8.x86_64.rpm 8.9 MB/s | 126 kB 00:00
(11/14): nagiosxi-nrds-5.7.5-1.el8.x86_64.rpm 17 MB/s | 10 MB 00:00
(12/14): nagiosxi-wkhtmltox-5.7.5-1.el8.x86_64.rpm 31 MB/s | 24 MB 00:00
(13/14): nagiosxi-wmic-5.7.5-1.el8.x86_64.rpm 14 MB/s | 4.7 MB 00:00
(14/14): nagiosxi-5.7.5-1.el8.x86_64.rpm 36 MB/s | 62 MB 00:01
----------------------------------------------------------------------------------------------------------------------------
Total 62 MB/s | 110 MB 00:01
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Upgrading : nagiosxi-wmic-5.7.5-1.el8.x86_64 1/28
Upgrading : nagiosxi-wkhtmltox-5.7.5-1.el8.x86_64 2/28
Running scriptlet: nagiosxi-shellinabox-5.7.5-1.el8.x86_64 3/28
Upgrading : nagiosxi-shellinabox-5.7.5-1.el8.x86_64 3/28
Running scriptlet: nagiosxi-shellinabox-5.7.5-1.el8.x86_64 3/28
Running scriptlet: nagiosxi-pnp-5.7.5-1.el8.x86_64 4/28
Upgrading : nagiosxi-pnp-5.7.5-1.el8.x86_64 4/28
Running scriptlet: nagiosxi-pnp-5.7.5-1.el8.x86_64 4/28
Running scriptlet: nagiosxi-nxti-5.7.5-1.el8.x86_64 5/28
Upgrading : nagiosxi-nxti-5.7.5-1.el8.x86_64 5/28
Running scriptlet: nagiosxi-nxti-5.7.5-1.el8.x86_64 5/28
Running scriptlet: nagiosxi-nsca-5.7.5-1.el8.x86_64 6/28
Upgrading : nagiosxi-nsca-5.7.5-1.el8.x86_64 6/28
Running scriptlet: nagiosxi-nsca-5.7.5-1.el8.x86_64 6/28
Running scriptlet: nagiosxi-nrpe-5.7.5-1.el8.x86_64 7/28
Upgrading : nagiosxi-nrpe-5.7.5-1.el8.x86_64 7/28
Running scriptlet: nagiosxi-nrpe-5.7.5-1.el8.x86_64 7/28
Running scriptlet: nagiosxi-nrds-5.7.5-1.el8.x86_64 8/28
Upgrading : nagiosxi-nrds-5.7.5-1.el8.x86_64 8/28
Running scriptlet: nagiosxi-nrds-5.7.5-1.el8.x86_64 8/28
Running scriptlet: nagiosxi-ndoutils-5.7.5-1.el8.x86_64 9/28
Upgrading : nagiosxi-ndoutils-5.7.5-1.el8.x86_64 9/28
Running scriptlet: nagiosxi-ndoutils-5.7.5-1.el8.x86_64 9/28
Upgrading : nagiosxi-nagvis-5.7.5-1.el8.x86_64 10/28
Running scriptlet: nagiosxi-nagiosplugins-5.7.5-1.el8.x86_64 11/28
Upgrading : nagiosxi-nagiosplugins-5.7.5-1.el8.x86_64 11/28
Running scriptlet: nagiosxi-nagiosplugins-5.7.5-1.el8.x86_64 11/28
Running scriptlet: nagiosxi-nagioscore-5.7.5-1.el8.x86_64 12/28
Upgrading : nagiosxi-nagioscore-5.7.5-1.el8.x86_64 12/28
Running scriptlet: nagiosxi-nagioscore-5.7.5-1.el8.x86_64 12/28
Running scriptlet: nagiosxi-mrtg-5.7.5-1.el8.x86_64 13/28
Upgrading : nagiosxi-mrtg-5.7.5-1.el8.x86_64 13/28
Running scriptlet: nagiosxi-mrtg-5.7.5-1.el8.x86_64 13/28
Running scriptlet: nagiosxi-5.7.5-1.el8.x86_64 14/28
Upgrading : nagiosxi-5.7.5-1.el8.x86_64 14/28
Running scriptlet: nagiosxi-5.7.5-1.el8.x86_64 14/28
Cleanup : nagiosxi-5.7.4-1.el8.x86_64 15/28
warning: file /tmp/nagiosxi/nagiosxi/basedir/html/includes/components/statusmap/angularjs/angular-1.3.9/angular.min.js.map: remove failed: No such file or directory
warning: file /tmp/nagiosxi/nagiosxi/basedir/html/includes/components/statusmap/angularjs/angular-1.3.9/angular.min.js: remove failed: No such file or directory
warning: file /tmp/nagiosxi/nagiosxi/basedir/html/includes/components/statusmap/angularjs/angular-1.3.9: remove failed: No such file or directory
warning: file /tmp/nagiosxi/nagiosxi-deps-suse12-5.7.4-1.noarch.rpm: remove failed: No such file or directory
warning: file /tmp/nagiosxi/nagiosxi-deps-suse11-5.7.4-1.noarch.rpm: remove failed: No such file or directory
warning: file /tmp/nagiosxi/nagiosxi-deps-el8-5.7.4-1.noarch.rpm: remove failed: No such file or directory
warning: file /tmp/nagiosxi/nagiosxi-deps-el7-5.7.4-1.noarch.rpm: remove failed: No such file or directory
warning: file /tmp/nagiosxi/nagiosxi-deps-5.7.4-1.noarch.rpm: remove failed: No such file or directory

Cleanup : nagiosxi-mrtg-5.7.4-1.el8.x86_64 16/28
Cleanup : nagiosxi-nagioscore-5.7.4-1.el8.x86_64 17/28
Cleanup : nagiosxi-nagiosplugins-5.7.4-1.el8.x86_64 18/28
Cleanup : nagiosxi-nagvis-5.7.4-1.el8.x86_64 19/28
Cleanup : nagiosxi-ndoutils-5.7.4-1.el8.x86_64 20/28
Cleanup : nagiosxi-nrds-5.7.4-1.el8.x86_64 21/28
Cleanup : nagiosxi-nrpe-5.7.4-1.el8.x86_64 22/28
Cleanup : nagiosxi-nsca-5.7.4-1.el8.x86_64 23/28
Running scriptlet: nagiosxi-nxti-5.7.4-1.el8.x86_64 24/28
Cleanup : nagiosxi-nxti-5.7.4-1.el8.x86_64 24/28
Running scriptlet: nagiosxi-nxti-5.7.4-1.el8.x86_64 24/28
Cleanup : nagiosxi-pnp-5.7.4-1.el8.x86_64 25/28
Running scriptlet: nagiosxi-shellinabox-5.7.4-1.el8.x86_64 26/28
Cleanup : nagiosxi-shellinabox-5.7.4-1.el8.x86_64 26/28
Running scriptlet: nagiosxi-shellinabox-5.7.4-1.el8.x86_64 26/28
Cleanup : nagiosxi-wkhtmltox-5.7.4-1.el8.x86_64 27/28
Cleanup : nagiosxi-wmic-5.7.4-1.el8.x86_64 28/28
Running scriptlet: nagiosxi-wmic-5.7.4-1.el8.x86_64 28/28
Verifying : nagiosxi-5.7.5-1.el8.x86_64 1/28
Verifying : nagiosxi-5.7.4-1.el8.x86_64 2/28
Verifying : nagiosxi-mrtg-5.7.5-1.el8.x86_64 3/28
Verifying : nagiosxi-mrtg-5.7.4-1.el8.x86_64 4/28
Verifying : nagiosxi-nagioscore-5.7.5-1.el8.x86_64 5/28
Verifying : nagiosxi-nagioscore-5.7.4-1.el8.x86_64 6/28
Verifying : nagiosxi-nagiosplugins-5.7.5-1.el8.x86_64 7/28
Verifying : nagiosxi-nagiosplugins-5.7.4-1.el8.x86_64 8/28
Verifying : nagiosxi-nagvis-5.7.5-1.el8.x86_64 9/28
Verifying : nagiosxi-nagvis-5.7.4-1.el8.x86_64 10/28
Verifying : nagiosxi-ndoutils-5.7.5-1.el8.x86_64 11/28
Verifying : nagiosxi-ndoutils-5.7.4-1.el8.x86_64 12/28
Verifying : nagiosxi-nrds-5.7.5-1.el8.x86_64 13/28
Verifying : nagiosxi-nrds-5.7.4-1.el8.x86_64 14/28
Verifying : nagiosxi-nrpe-5.7.5-1.el8.x86_64 15/28
Verifying : nagiosxi-nrpe-5.7.4-1.el8.x86_64 16/28
Verifying : nagiosxi-nsca-5.7.5-1.el8.x86_64 17/28
Verifying : nagiosxi-nsca-5.7.4-1.el8.x86_64 18/28
Verifying : nagiosxi-nxti-5.7.5-1.el8.x86_64 19/28
Verifying : nagiosxi-nxti-5.7.4-1.el8.x86_64 20/28
Verifying : nagiosxi-pnp-5.7.5-1.el8.x86_64 21/28
Verifying : nagiosxi-pnp-5.7.4-1.el8.x86_64 22/28
Verifying : nagiosxi-shellinabox-5.7.5-1.el8.x86_64 23/28
Verifying : nagiosxi-shellinabox-5.7.4-1.el8.x86_64 24/28
Verifying : nagiosxi-wkhtmltox-5.7.5-1.el8.x86_64 25/28
Verifying : nagiosxi-wkhtmltox-5.7.4-1.el8.x86_64 26/28
Verifying : nagiosxi-wmic-5.7.5-1.el8.x86_64 27/28
Verifying : nagiosxi-wmic-5.7.4-1.el8.x86_64 28/28

Upgraded:
nagiosxi-5.7.5-1.el8.x86_64 nagiosxi-mrtg-5.7.5-1.el8.x86_64 nagiosxi-nagioscore-5.7.5-1.el8.x86_64
nagiosxi-nagiosplugins-5.7.5-1.el8.x86_64 nagiosxi-nagvis-5.7.5-1.el8.x86_64 nagiosxi-ndoutils-5.7.5-1.el8.x86_64
nagiosxi-nrds-5.7.5-1.el8.x86_64 nagiosxi-nrpe-5.7.5-1.el8.x86_64 nagiosxi-nsca-5.7.5-1.el8.x86_64
nagiosxi-nxti-5.7.5-1.el8.x86_64 nagiosxi-pnp-5.7.5-1.el8.x86_64 nagiosxi-shellinabox-5.7.5-1.el8.x86_64
nagiosxi-wkhtmltox-5.7.5-1.el8.x86_64 nagiosxi-wmic-5.7.5-1.el8.x86_64

Complete!
[root@onshore-netmon-pri ~]# yum -y update
Last metadata expiration check: 1:41:40 ago on Wed 18 Nov 2020 05:52:20 PM CST.
Error:
Problem 1: package net-snmp-perl-1:5.8-12.el8.1.x86_64 requires net-snmp-agent-libs(x86-64) = 1:5.8-12.el8.1, but none of the providers can be installed
- cannot install both net-snmp-agent-libs-1:5.8-12.el8.1.x86_64 and net-snmp-agent-libs-1:5.8-14.el8_2.1.x86_64
- cannot install the best update candidate for package net-snmp-perl-1:5.8-7.el8.2.x86_64
- cannot install the best update candidate for package net-snmp-agent-libs-1:5.8-7.el8.2.x86_64
Problem 2: package nagiosxi-5.7.5-1.el8.x86_64 requires net-snmp-perl, but none of the providers can be installed
- package net-snmp-perl-1:5.8-7.el8.2.x86_64 requires net-snmp-libs(x86-64) = 1:5.8-7.el8.2, but none of the providers can be installed
- package net-snmp-perl-1:5.8-12.el8.1.x86_64 requires net-snmp-libs(x86-64) = 1:5.8-12.el8.1, but none of the providers can be installed
- package net-snmp-perl-1:5.8-12.el8.x86_64 requires net-snmp-libs(x86-64) = 1:5.8-12.el8, but none of the providers can be installed
- cannot install both net-snmp-libs-1:5.8-14.el8_2.1.x86_64 and net-snmp-libs-1:5.8-7.el8.2.x86_64
- cannot install both net-snmp-libs-1:5.8-7.el8.2.x86_64 and net-snmp-libs-1:5.8-14.el8_2.1.x86_64
- cannot install both net-snmp-libs-1:5.8-12.el8.1.x86_64 and net-snmp-libs-1:5.8-14.el8_2.1.x86_64
- cannot install both net-snmp-libs-1:5.8-12.el8.x86_64 and net-snmp-libs-1:5.8-14.el8_2.1.x86_64
- cannot install the best update candidate for package net-snmp-libs-1:5.8-7.el8.2.x86_64
- cannot install the best update candidate for package nagiosxi-5.7.5-1.el8.x86_64
Problem 3: problem with installed package net-snmp-perl-1:5.8-7.el8.2.x86_64
- package net-snmp-perl-1:5.8-7.el8.2.x86_64 requires net-snmp-agent-libs(x86-64) = 1:5.8-7.el8.2, but none of the providers can be installed
- package net-snmp-perl-1:5.8-12.el8.1.x86_64 requires net-snmp-agent-libs(x86-64) = 1:5.8-12.el8.1, but none of the providers can be installed
- package net-snmp-perl-1:5.8-12.el8.x86_64 requires net-snmp-agent-libs(x86-64) = 1:5.8-12.el8, but none of the providers can be installed
- cannot install both net-snmp-agent-libs-1:5.8-14.el8_2.1.x86_64 and net-snmp-agent-libs-1:5.8-7.el8.2.x86_64
- cannot install both net-snmp-agent-libs-1:5.8-7.el8.2.x86_64 and net-snmp-agent-libs-1:5.8-14.el8_2.1.x86_64
- cannot install both net-snmp-agent-libs-1:5.8-12.el8.1.x86_64 and net-snmp-agent-libs-1:5.8-14.el8_2.1.x86_64
- cannot install both net-snmp-agent-libs-1:5.8-12.el8.x86_64 and net-snmp-agent-libs-1:5.8-14.el8_2.1.x86_64
- package net-snmp-1:5.8-14.el8_2.1.x86_64 requires net-snmp-agent-libs(x86-64) = 1:5.8-14.el8_2.1, but none of the providers can be installed
- cannot install the best update candidate for package net-snmp-1:5.8-7.el8.2.x86_64
Problem 4: problem with installed package nagiosxi-5.7.5-1.el8.x86_64
- package nagiosxi-5.7.5-1.el8.x86_64 requires net-snmp-perl, but none of the providers can be installed
- package net-snmp-perl-1:5.8-7.el8.2.x86_64 requires net-snmp-libs(x86-64) = 1:5.8-7.el8.2, but none of the providers can be installed
- package net-snmp-perl-1:5.8-12.el8.1.x86_64 requires net-snmp-libs(x86-64) = 1:5.8-12.el8.1, but none of the providers can be installed
- package net-snmp-perl-1:5.8-12.el8.x86_64 requires net-snmp-libs(x86-64) = 1:5.8-12.el8, but none of the providers can be installed
- cannot install both net-snmp-libs-1:5.8-14.el8_2.1.x86_64 and net-snmp-libs-1:5.8-7.el8.2.x86_64
- cannot install both net-snmp-libs-1:5.8-7.el8.2.x86_64 and net-snmp-libs-1:5.8-14.el8_2.1.x86_64
- cannot install both net-snmp-libs-1:5.8-12.el8.1.x86_64 and net-snmp-libs-1:5.8-14.el8_2.1.x86_64
- cannot install both net-snmp-libs-1:5.8-12.el8.x86_64 and net-snmp-libs-1:5.8-14.el8_2.1.x86_64
- package net-snmp-utils-1:5.8-14.el8_2.1.x86_64 requires net-snmp-libs(x86-64) = 1:5.8-14.el8_2.1, but none of the providers can be installed
- cannot install the best update candidate for package net-snmp-utils-1:5.8-7.el8.2.x86_64
(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)
[root@onshore-netmon-pri ~]#
dchurch
Posts: 858
Joined: Wed Oct 07, 2020 12:46 pm
Location: Yo mama

Re: Nagios XI on Centos 8 yum/dnf update failure

Post by dchurch »

Apparently the exact same version of those packages are being provided by CentOS-Base and nagios-base repos. If we exclude it from the CentOS 8 repos, it should come from the nagios repo for CentOS 8.

Run the following commands:

Code: Select all

sed -i.bak "/gpgkey.*=.*/a exclude=net-snmp*" /etc/yum.repos.d/*{AppStream,Base}.repo*
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.
Locked