XI 5.2.1 -> 5.2.2 Upgrade failed.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
GldRush98
Posts: 259
Joined: Wed May 25, 2011 10:51 am
Location: Springfield, IL
Contact:

XI 5.2.1 -> 5.2.2 Upgrade failed.

Post by GldRush98 »

Figures, test system upgraded no issues, but production is throwing this:
---- Starting Nagios XI Upgrade ----
Cleaning up temp directory...
Downloading Latest Nagios XI Tarball...
Archive: sourceguardian/ixed4.lin.x86-64.zip
inflating: /usr/lib64/php/modules/ixed.5.1.lin
Sourceguardian extension found for PHP version 5.1
Sourceguardian extension already in php.ini
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
Checking required prereqs...
Please wait...

OLD VERSION: 512
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: centos.chi.host-engine.com
* epel: mirror.steadfast.net
* extras: mirror.cogentco.com
* rpmforge: repoforge.spinellicreations.com
* updates: centos.den.host-engine.com
Excluding Packages in global exclude list
Finished
Setting up Install Process
Package autoconf-2.59-12.noarch already installed and latest version
Package perl-Class-Accessor-0.34-1.el5.rf.noarch already installed and latest version
Package perl-Params-Validate-0.95-1.el5.rf.x86_64 already installed and latest version
Package perl-Config-Tiny-2.12-1.el5.rf.noarch already installed and latest version
Package perl-Math-Calc-Units-1.07-6.el5.noarch already installed and latest version
Package perl-Number-Format-1.73-1.el5.noarch already installed and latest version
Package php-mbstring-5.1.6-45.el5_11.x86_64 already installed and latest version
Package 2:nmap-6.47-1.x86_64 already installed and latest version
Package subversion-1.6.11-12.el5_10.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package automake.noarch 0:1.9.6-3.el5 set to be updated
---> Package perl-Test-Simple.noarch 0:0.98-1.el5.rf set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
perl-Test-Simple noarch 0.98-1.el5.rf rpmforge 122 k
Updating:
automake noarch 1.9.6-3.el5 base 476 k

Transaction Summary
================================================================================
Install 1 Package(s)
Upgrade 1 Package(s)

Total size: 598 k
Total download size: 476 k
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test


Transaction Check Error:
file /usr/share/man/man3/Test::Builder.3pm.gz from install of perl-Test-Simple-0.98-1.el5.rf.noarch conflicts with file from package perl-5.8.8-43.el5_11.x86_64
file /usr/share/man/man3/Test::Builder::Module.3pm.gz from install of perl-Test-Simple-0.98-1.el5.rf.noarch conflicts with file from package perl-5.8.8-43.el5_11.x86_64
file /usr/share/man/man3/Test::Builder::Tester.3pm.gz from install of perl-Test-Simple-0.98-1.el5.rf.noarch conflicts with file from package perl-5.8.8-43.el5_11.x86_64
file /usr/share/man/man3/Test::Builder::Tester::Color.3pm.gz from install of perl-Test-Simple-0.98-1.el5.rf.noarch conflicts with file from package perl-5.8.8-43.el5_11.x86_64
file /usr/share/man/man3/Test::More.3pm.gz from install of perl-Test-Simple-0.98-1.el5.rf.noarch conflicts with file from package perl-5.8.8-43.el5_11.x86_64
file /usr/share/man/man3/Test::Simple.3pm.gz from install of perl-Test-Simple-0.98-1.el5.rf.noarch conflicts with file from package perl-5.8.8-43.el5_11.x86_64
file /usr/share/man/man3/Test::Tutorial.3pm.gz from install of perl-Test-Simple-0.98-1.el5.rf.noarch conflicts with file from package perl-5.8.8-43.el5_11.x86_64

Error Summary
-------------

Finished Transaction Test
Prod XI: Debian 12 - Nagios XI 2026R1.2
Dev XI: Debian 12 - Nagios XI 2026R1.2
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: XI 5.2.1 -> 5.2.2 Upgrade failed.

Post by hsmith »

This is an issue with CentOS 5.

Can you try this command?

Code: Select all

yum install --disablerepo=rpmforge -y 'perl(Test::Simple)' 'perl(Class::Accessor)' perl-Params-Validate perl-Config-Tiny perl-Math-Calc-Units
Former Nagios Employee.
me.
User avatar
GldRush98
Posts: 259
Joined: Wed May 25, 2011 10:51 am
Location: Springfield, IL
Contact:

Re: XI 5.2.1 -> 5.2.2 Upgrade failed.

Post by GldRush98 »

A migration to CentOS 6 is planned, but it's still a ways off I'm afraid... sigh...


I am still getting the same error rerunning the upgrade.
[root@nagios nagiosxi]# yum install --disablerepo=rpmforge -y 'perl(Test::Simple)' 'perl(Class::Accessor)' perl-Params-Validate perl-Config-Tiny perl-Math-Calc-Units
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: centos.chi.host-engine.com
* epel: mirror.steadfast.net
* extras: mirror.solarvps.com
* updates: centos.den.host-engine.com
Excluding Packages in global exclude list
Finished
Setting up Install Process
Package 4:perl-5.8.8-43.el5_11.x86_64 already installed and latest version
Package matching perl-Class-Accessor-0.31-1.el5.noarch already installed. Checking for update.
Package matching perl-Params-Validate-0.88-3.el5.x86_64 already installed. Checking for update.
Package matching perl-Config-Tiny-2.10-1.el5.noarch already installed. Checking for update.
Package perl-Math-Calc-Units-1.07-6.el5.noarch already installed and latest version
Nothing to do
Prod XI: Debian 12 - Nagios XI 2026R1.2
Dev XI: Debian 12 - Nagios XI 2026R1.2
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: XI 5.2.1 -> 5.2.2 Upgrade failed.

Post by scottwilkerson »

This is caused by package conflicts in vi rpmforge.repo

edit the following file
/etc/yum.repos.d/rpmforge.repo

set

Code: Select all

enabled = 0
Then perform the upgrade again
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
GldRush98
Posts: 259
Joined: Wed May 25, 2011 10:51 am
Location: Springfield, IL
Contact:

Re: XI 5.2.1 -> 5.2.2 Upgrade failed.

Post by GldRush98 »

scottwilkerson wrote:This is caused by package conflicts in vi rpmforge.repo

edit the following file
/etc/yum.repos.d/rpmforge.repo

set

Code: Select all

enabled = 0
Then perform the upgrade again
That took care of it! Thank you for the quick reply :D
You may close.
Prod XI: Debian 12 - Nagios XI 2026R1.2
Dev XI: Debian 12 - Nagios XI 2026R1.2
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: XI 5.2.1 -> 5.2.2 Upgrade failed.

Post by rkennedy »

Glad to see this is working. I will now close this thread out, but feel free to open another if you ever need assistance.
Former Nagios Employee
Locked