Offline upgrade of Nagios from 5.4 to 5.7 error
Posted: Tue Aug 04, 2020 10:21 am
This is a 100% fresh Nagios 5.4 server. The only things I did to it prior to trying the offline upgrade were: Configure yum repos, install Nagios 5.4, and restore our configuration.
Code: Select all
Resolving Dependencies
--> Running transaction check
---> Package libidn2.x86_64 0:0.10-2.el7 will be updated
---> Package libidn2.x86_64 0:2.0.4-4.el7 will be an update
---> Package nagiosxi.x86_64 0:5-4.13.el7 will be updated
---> Package nagiosxi.x86_64 0:5.7.1-1.el7 will be an update
--> Processing Dependency: nagiosxi-shellinabox(x86-64) = 5.7.1-1.el7 for package: nagiosxi-5.7.1-1.el7.x86_64
--> Processing Dependency: nagiosxi-nxti(x86-64) = 5.7.1-1.el7 for package: nagiosxi-5.7.1-1.el7.x86_64
--> Processing Dependency: git for package: nagiosxi-5.7.1-1.el7.x86_64
--> Processing Dependency: net-snmp-perl for package: nagiosxi-5.7.1-1.el7.x86_64
--> Processing Dependency: php-devel for package: nagiosxi-5.7.1-1.el7.x86_64
--> Processing Dependency: rsync for package: nagiosxi-5.7.1-1.el7.x86_64
--> Processing Dependency: ipa-gothic-fonts for package: nagiosxi-5.7.1-1.el7.x86_64
--> Processing Dependency: ipa-mincho-fonts for package: nagiosxi-5.7.1-1.el7.x86_64
--> Processing Dependency: ipa-pgothic-fonts for package: nagiosxi-5.7.1-1.el7.x86_64
--> Processing Dependency: ipa-pmincho-fonts for package: nagiosxi-5.7.1-1.el7.x86_64
---> Package nagiosxi-mrtg.x86_64 0:5-4.13.el7 will be updated
---> Package nagiosxi-mrtg.x86_64 0:5.7.1-1.el7 will be an update
---> Package nagiosxi-nagioscore.x86_64 0:5-4.13.el7 will be updated
---> Package nagiosxi-nagioscore.x86_64 0:5.7.1-1.el7 will be an update
---> Package nagiosxi-nagiosplugins.x86_64 0:5-4.13.el7 will be updated
---> Package nagiosxi-nagiosplugins.x86_64 0:5.7.1-1.el7 will be an update
---> Package nagiosxi-nagvis.x86_64 0:5-4.13.el7 will be updated
---> Package nagiosxi-nagvis.x86_64 0:5.7.1-1.el7 will be an update
---> Package nagiosxi-ndoutils.x86_64 0:5-4.13.el7 will be updated
---> Package nagiosxi-ndoutils.x86_64 0:5.7.1-1.el7 will be an update
---> Package nagiosxi-nrds.x86_64 0:5-4.13.el7 will be updated
---> Package nagiosxi-nrds.x86_64 0:5.7.1-1.el7 will be an update
---> Package nagiosxi-nrpe.x86_64 0:5-4.13.el7 will be updated
---> Package nagiosxi-nrpe.x86_64 0:5.7.1-1.el7 will be an update
---> Package nagiosxi-nsca.x86_64 0:5-4.13.el7 will be updated
---> Package nagiosxi-nsca.x86_64 0:5.7.1-1.el7 will be an update
---> Package nagiosxi-pnp.x86_64 0:5-4.13.el7 will be updated
---> Package nagiosxi-pnp.x86_64 0:5.7.1-1.el7 will be an update
---> Package nagiosxi-wkhtmltox.x86_64 0:5-4.13.el7 will be updated
---> Package nagiosxi-wkhtmltox.x86_64 0:5.7.1-1.el7 will be an update
---> Package nagiosxi-wmic.x86_64 0:5-4.13.el7 will be updated
---> Package nagiosxi-wmic.x86_64 0:5.7.1-1.el7 will be an update
---> Package perl-Mail-POP3Client.noarch 0:2.18-6.el7 will be updated
---> Package perl-Mail-POP3Client.noarch 0:2.19-5.el7 will be an update
---> Package php-mcrypt.x86_64 0:5.4.16-4.el7 will be updated
---> Package php-mcrypt.x86_64 0:5.4.16-7.el7 will be an update
---> Package php-mssql.x86_64 0:5.4.16-4.el7 will be updated
---> Package php-mssql.x86_64 0:5.4.16-7.el7 will be an update
--> Running transaction check
---> Package git.x86_64 0:1.8.3.1-23.el7_8 will be installed
--> Processing Dependency: perl-Git = 1.8.3.1-23.el7_8 for package: git-1.8.3.1-23.el7_8.x86_64
--> Processing Dependency: perl(Term::ReadKey) for package: git-1.8.3.1-23.el7_8.x86_64
--> Processing Dependency: perl(Git) for package: git-1.8.3.1-23.el7_8.x86_64
---> Package ipa-gothic-fonts.noarch 0:003.03-5.el7 will be installed
---> Package ipa-mincho-fonts.noarch 0:003.03-5.el7 will be installed
---> Package ipa-pgothic-fonts.noarch 0:003.03-5.el7 will be installed
---> Package ipa-pmincho-fonts.noarch 0:003.03-5.el7 will be installed
---> Package nagiosxi.x86_64 0:5.7.1-1.el7 will be an update
--> Processing Dependency: nagiosxi-shellinabox(x86-64) = 5.7.1-1.el7 for package: nagiosxi-5.7.1-1.el7.x86_64
--> Processing Dependency: nagiosxi-nxti(x86-64) = 5.7.1-1.el7 for package: nagiosxi-5.7.1-1.el7.x86_64
---> Package net-snmp-perl.x86_64 1:5.7.2-48.el7_8.1 will be installed
---> Package php-devel.x86_64 0:5.4.16-48.el7 will be installed
--> Processing Dependency: pcre-devel(x86-64) for package: php-devel-5.4.16-48.el7.x86_64
--> Processing Dependency: automake for package: php-devel-5.4.16-48.el7.x86_64
--> Processing Dependency: autoconf for package: php-devel-5.4.16-48.el7.x86_64
---> Package rsync.x86_64 0:3.1.2-10.el7 will be installed
--> Running transaction check
---> Package autoconf.noarch 0:2.69-11.el7 will be installed
--> Processing Dependency: m4 >= 1.4.14 for package: autoconf-2.69-11.el7.noarch
---> Package automake.noarch 0:1.13.4-3.el7 will be installed
--> Processing Dependency: perl(Thread::Queue) for package: automake-1.13.4-3.el7.noarch
---> Package nagiosxi.x86_64 0:5.7.1-1.el7 will be an update
--> Processing Dependency: nagiosxi-shellinabox(x86-64) = 5.7.1-1.el7 for package: nagiosxi-5.7.1-1.el7.x86_64
--> Processing Dependency: nagiosxi-nxti(x86-64) = 5.7.1-1.el7 for package: nagiosxi-5.7.1-1.el7.x86_64
---> Package pcre-devel.x86_64 0:8.32-17.el7 will be installed
---> Package perl-Git.noarch 0:1.8.3.1-23.el7_8 will be installed
---> Package perl-TermReadKey.x86_64 0:2.30-20.el7 will be installed
--> Running transaction check
---> Package m4.x86_64 0:1.4.16-10.el7 will be installed
---> Package nagiosxi.x86_64 0:5.7.1-1.el7 will be an update
--> Processing Dependency: nagiosxi-shellinabox(x86-64) = 5.7.1-1.el7 for package: nagiosxi-5.7.1-1.el7.x86_64
--> Processing Dependency: nagiosxi-nxti(x86-64) = 5.7.1-1.el7 for package: nagiosxi-5.7.1-1.el7.x86_64
---> Package perl-Thread-Queue.noarch 0:3.02-2.el7 will be installed
--> Finished Dependency Resolution
Error: Package: nagiosxi-5.7.1-1.el7.x86_64 (/nagiosxi-5.7.1-1.el7.x86_64)
Requires: nagiosxi-nxti(x86-64) = 5.7.1-1.el7
Error: Package: nagiosxi-5.7.1-1.el7.x86_64 (/nagiosxi-5.7.1-1.el7.x86_64)
Requires: nagiosxi-shellinabox(x86-64) = 5.7.1-1.el7
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest