Upgrade script fails

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
gzaloprgm
Posts: 33
Joined: Mon Aug 06, 2018 8:46 am
Contact:

Upgrade script fails

Post by gzaloprgm »

Hi. I'm trying to upgrade from version 5.5.11 to 5.6.3, but the upgrade script is failing with the following error after the backup:

"No package php54-imap available."
There seems to be an issue with the line 211 of the upgrade script, because the correct package name should be php54-php-imap instead of php54-imap (at least in Centos 6).

Thanks, Gonzalo
User avatar
lmiltchev
Former Nagios Staff
Posts: 13587
Joined: Mon May 23, 2011 12:15 pm

Re: Upgrade script fails

Post by lmiltchev »

What is the output of the following command?

Code: Select all

yum list installed php*common* | grep php | awk -F "-" {'print $1'} | tail -1
Be sure to check out our Knowledgebase for helpful articles and solutions!
gzaloprgm
Posts: 33
Joined: Mon Aug 06, 2018 8:46 am
Contact:

Re: Upgrade script fails

Post by gzaloprgm »

The output of that command was "php54"... The issue is that the package "php54-imap" does not seem to exist in Centos 6 (or maybe my repositories are misconfigured)

To complete the upgrade, I just replaced the ending of that line of the script with tail -1`-php-imap -y
User avatar
lmiltchev
Former Nagios Staff
Posts: 13587
Joined: Mon May 23, 2011 12:15 pm

Re: Upgrade script fails

Post by lmiltchev »

To complete the upgrade, I just replaced the ending of that line of the script with tail -1`-php-imap -y
It seems like you have been able to resolve the issue. Is it OK if we close the topic?
Be sure to check out our Knowledgebase for helpful articles and solutions!
gzaloprgm
Posts: 33
Joined: Mon Aug 06, 2018 8:46 am
Contact:

Re: Upgrade script fails

Post by gzaloprgm »

Sure, you can close it. Thanks
Locked