Upgrade 5.7.1 to 5.8.5 manual process fails
Posted: Fri Jul 23, 2021 2:14 pm
I have a CentOS 7 VM installation with 5.7.1 and I need to preform an offline installation and build an Ansible playbook to answer yes to all the questions, because this system is not accessible to the internet. We just give our customer a playbook and the onsite guy just hits runs and everything is required to just work. That is the end result, but I'm running into issues with the basic install.
I have the 5.8.5 tar.gz file and following the directions (https://assets.nagios.com/downloads/nag ... ctions.pdf), I unarchive it and then run the ./upgrade file.
But, if I run the following:
It install fine. The problem is that at the customer site it will not have internet access.
I have the 5.8.5 tar.gz file and following the directions (https://assets.nagios.com/downloads/nag ... ctions.pdf), I unarchive it and then run the ./upgrade file.
Code: Select all
[root@r2-nagios nagiosxi]# ./upgrade
package nagiosxi-shellinabox is not installed
Loaded plugins: fastestmirror
Examining nagiosxi-shellinabox-5.8.5-1.el7.x86_64.rpm: nagiosxi-shellinabox-5.8.5-1.el7.x86_64
Marking nagiosxi-shellinabox-5.8.5-1.el7.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package nagiosxi-shellinabox.x86_64 0:5.8.5-1.el7 will be installed
--> Processing Conflict: nagiosxi-shellinabox-5.8.5-1.el7.x86_64 conflicts nagiosxi-deps-el7
Loading mirror speeds from cached hostfile
* base: mirror.jaleco.com
* extras: mirror.ette.biz
* updates: mirror.es.its.nyu.edu
--> Processing Conflict: nagiosxi-shellinabox-5.8.5-1.el7.x86_64 conflicts shellinabox
--> Finished Dependency Resolution
Error: nagiosxi-shellinabox conflicts with shellinabox-2.20-5.el7.x86_64
Error: nagiosxi-shellinabox conflicts with nagiosxi-deps-el7-5.7.1-1.noarch
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[root@r2-nagios nagiosxi]# Code: Select all
wget -O upgrade.sh https://assets.nagios.com/downloads/nagiosxi/upgrade.sh
sh ./upgrade.sh