offline upgrade issue

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
clauskc
Posts: 41
Joined: Tue Dec 22, 2015 7:46 am
Location: Copenhagen

offline upgrade issue

Post by clauskc »

Trying to make a offline upgrade from 5.4.13 to 5.5.2 but fails on dependencies.
Did this several times before but this time fails.

Downloaded the offline tarball from the repo: nagiosxi-5.5.2-1.el6.x86_64.tar.gz (running 6.8 santiago)
Thought the offline install should have all the required packages but failed with the error below, both on upgrade and fullinstall.

---> Package nagiosxi-nxti.x86_64 0:5.5.2-1.el6 will be installed
---> Package nagiosxi-pnp.x86_64 0:5-2.9.el6 will be updated
---> Package nagiosxi-pnp.x86_64 0:5.5.2-1.el6 will be an update
---> Package nagiosxi-shellinabox.x86_64 0:5.5.2-1.el6 will be installed
---> Package nagiosxi-wkhtmltox.x86_64 0:5-2.9.el6 will be updated
---> Package nagiosxi-wkhtmltox.x86_64 0:5.5.2-1.el6 will be an update
---> Package nagiosxi-wmic.x86_64 0:5-2.9.el6 will be updated
---> Package nagiosxi-wmic.x86_64 0:5.5.2-1.el6 will be an update
---> Package perl-Math-Calc-Units.noarch 0:1.07-6.el6 will be installed
---> Package perl-Nagios-Monitoring-Plugin.noarch 0:0.51-1.el6 will be installed
--> Processing Dependency: perl(Config::Tiny) for package: perl-Nagios-Monitoring-Plugin-0.51-1.el6.noarch
---> Package php-mcrypt.x86_64 0:5.3.3-4.el6 will be updated
---> Package php-mcrypt.x86_64 0:5.3.3-5.el6 will be an update
---> Package php-mssql.x86_64 0:5.3.3-4.el6 will be updated
---> Package php-mssql.x86_64 0:5.3.3-5.el6 will be an update
--> Running transaction check
---> Package nagiosxi.x86_64 0:5.5.2-1.el6 will be an update
--> Processing Dependency: php-devel for package: nagiosxi-5.5.2-1.el6.x86_64
---> Package net-snmp-perl.x86_64 1:5.5-60.el6 will be installed
---> Package perl-Nagios-Monitoring-Plugin.noarch 0:0.51-1.el6 will be installed
--> Processing Dependency: perl(Config::Tiny) for package: perl-Nagios-Monitoring-Plugin-0.51-1.el6.noarch
--> Finished Dependency Resolution
Error: Package: perl-Nagios-Monitoring-Plugin-0.51-1.el6.noarch (/perl-Nagios-Monitoring-Plugin-0.51-1.el6.noarch)
Requires: perl(Config::Tiny)
Error: Package: nagiosxi-5.5.2-1.el6.x86_64 (/nagiosxi-5.5.2-1.el6.x86_64)
Requires: php-devel
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: offline upgrade issue

Post by ssax »

From the doc here:

https://assets.nagios.com/downloads/nag ... onment.pdf

Your server must have access to base repositories for both RedHat or CentOS either via a local repository, or
mounted DVD's


It doesn't come with all of the packages from the base repositories. Do you have access to the base repositories as local repositories or mounted as a DVD? If not, you'll need to do one of those to get access to those base packages or install them manually for it to work.

Let me know if you have any questions.

Thank you
Locked