Page 1 of 1

Manual Upgrade with shellinabox conflict error

Posted: Wed Jan 08, 2020 9:23 pm
by igsvm
Hi, I'm having error to manual upgrade nagiosxi from 5.6.6 to 5.6.9,
---> Package php-snmp.x86_64 0:5.3.3-50.el6_10 will be an update
---> Package php-xml.x86_64 0:5.3.3-49.el6 will be updated
---> Package php-xml.x86_64 0:5.3.3-50.el6_10 will be an update
--> Processing Conflict: nagiosxi-shellinabox-5.6.9-1.el6.x86_64 conflicts shellinabox
--> Processing Conflict: nagiosxi-nxti-5.6.9-1.el6.x86_64 conflicts snmptt
--> Finished Dependency Resolution
Error: nagiosxi-shellinabox conflicts with shellinabox-2.20-5.el6.x86_64
Error: nagiosxi-nxti conflicts with snmptt-1.4-0.9.beta2.el6.noarch

You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
any idea how to resolve this?

Re: Manual Upgrade with shellinabox conflict error

Posted: Wed Jan 08, 2020 10:56 pm
by Box293
What is the output of the following command:

Code: Select all

yum repolist

Re: Manual Upgrade with shellinabox conflict error

Posted: Thu Jan 09, 2020 10:38 pm
by igsvm
Box293 wrote:What is the output of the following command:

Code: Select all

yum repolist

Code: Select all

[root@z3aries-n01 nagiosxi]# yum repolist
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.shinjiru.com
 * epel: sg.fedora.ipserverone.com
 * extras: centos.shinjiru.com
 * updates: centos.shinjiru.com
repo id                             repo name                                                            status
base                                CentOS-6 - Base                                                       6,713
cr                                  CentOS-6 - CR                                                             0
epel                                Extra Packages for Enterprise Linux 6 - x86_64                       12,584
extras                              CentOS-6 - Extras                                                        47
nagios-base                         Nagios                                                                  171
nagiosxi-deps                       Nagios XI Dependencies                                                   33
updates                             CentOS-6 - Updates                                                      812
repolist: 20,360

Re: Manual Upgrade with shellinabox conflict error

Posted: Fri Jan 10, 2020 12:21 pm
by benjaminsmith
Hello @igsvm,

Did you previously install those packages on the server for another application? We tested an upgrade on CentOS from 5.6.6 to 5.6.9 without any errors.

We'll need to remove the conflicting packages (yum remove package-name) and then run the upgrade once more. Is this a VM? If so, please take a snapshot before making any changes to your server or if you have set up a test server, test the changes before upgrading the production system.