---- 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
XI 5.2.1 -> 5.2.2 Upgrade failed.
XI 5.2.1 -> 5.2.2 Upgrade failed.
Figures, test system upgraded no issues, but production is throwing this:
Prod XI: Debian 12 - Nagios XI 2026R1.2
Dev XI: Debian 12 - Nagios XI 2026R1.2
Dev XI: Debian 12 - Nagios XI 2026R1.2
Re: XI 5.2.1 -> 5.2.2 Upgrade failed.
This is an issue with CentOS 5.
Can you try this command?
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-UnitsFormer Nagios Employee.
me.
me.
Re: XI 5.2.1 -> 5.2.2 Upgrade failed.
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.
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
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.
This is caused by package conflicts in vi rpmforge.repo
edit the following file
/etc/yum.repos.d/rpmforge.repo
set
Then perform the upgrade again
edit the following file
/etc/yum.repos.d/rpmforge.repo
set
Code: Select all
enabled = 0Re: XI 5.2.1 -> 5.2.2 Upgrade failed.
That took care of it! Thank you for the quick replyscottwilkerson wrote:This is caused by package conflicts in vi rpmforge.repo
edit the following file
/etc/yum.repos.d/rpmforge.repo
setThen perform the upgrade againCode: Select all
enabled = 0
You may close.
Prod XI: Debian 12 - Nagios XI 2026R1.2
Dev XI: Debian 12 - Nagios XI 2026R1.2
Dev XI: Debian 12 - Nagios XI 2026R1.2
Re: XI 5.2.1 -> 5.2.2 Upgrade failed.
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