I attempted to upgrade to the latest version of NagiosXI via the Web UI, but it failed. I then attempted to do so manually, but received the below error. It appears to be trying to install a 7 version of the packages. Is there a way to bypass this?
Nagios XI Upgrade Log
==========================
DATE: Tue Feb 19 13:33:45 EST 2019
DISTRO INFO:
CentOS
6.10
x86_64
Archive: sourceguardian/ixed4.lin.x86-64.zip
inflating: /usr/lib64/php/modules/ixed.5.3.lin
Sourceguardian extension found for PHP version 5.3
Sourceguardian extension already in php.ini
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
Checking required prereqs...
Please wait...
OLD VERSION: 5509
Loaded plugins: fastestmirror
Setting up Update Process
Loading mirror speeds from cached hostfile
* base: centos.mirror.lstn.net
* epel: mirror.math.princeton.edu
* extras: centos.mirror.lstn.net
* updates: centos.mirror.lstn.net
No Packages marked for Update
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: centos.mirror.lstn.net
* epel: mirror.math.princeton.edu
* extras: centos.mirror.lstn.net
* updates: centos.mirror.lstn.net
Package perl-Test-Simple-0.92-144.el6.x86_64 already installed and latest version
Package perl-Params-Validate-0.92-3.el6.x86_64 already installed and latest version
Package perl-Config-Tiny-2.12-7.1.el6.noarch already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package perl-Class-Accessor.noarch 0:0.31-6.1.el6 will be updated
---> Package perl-Class-Accessor.noarch 0:0.34-12.el7 will be an update
--> Processing Dependency: perl(:MODULE_COMPAT_5.16.3) for package: perl-Class-Accessor-0.34-12.el7.noarch
---> Package perl-Math-Calc-Units.noarch 0:1.07-6.el6 will be updated
---> Package perl-Math-Calc-Units.noarch 0:1.07-9.el7 will be an update
--> Processing Dependency: perl(:MODULE_COMPAT_5.16.3) for package: perl-Math-Calc-Units-1.07-9.el7.noarch
---> Package perl-Number-Format.noarch 0:1.73-3.el6 will be updated
---> Package perl-Number-Format.noarch 0:1.73-14.el7 will be an update
--> Processing Dependency: perl(:MODULE_COMPAT_5.16.3) for package: perl-Number-Format-1.73-14.el7.noarch
--> Finished Dependency Resolution
Error: Package: perl-Class-Accessor-0.34-12.el7.noarch (epel)
Requires: perl(:MODULE_COMPAT_5.16.3)
Error: Package: perl-Math-Calc-Units-1.07-9.el7.noarch (epel)
Requires: perl(:MODULE_COMPAT_5.16.3)
Error: Package: perl-Number-Format-1.73-14.el7.noarch (epel)
Requires: perl(:MODULE_COMPAT_5.16.3)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
We've tested the upgrade to 5.5.10 and it's working correctly. The server is trying to fetch el7 packages, so there maybe an issue with the repo settings.
1. What version are you upgrading from?
2. Run the following and post the output for us to review.