Nagios XI on Centos 8 yum/dnf update failure
Posted: Tue Nov 17, 2020 3:31 pm
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)
[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)