Page 1 of 1

Upgrade from 5.5.11 to 5.6.5

Posted: Mon Aug 05, 2019 4:55 am
by ivan.lopezm
Hello,

I am trying to update Nagios from 5.5.11 to 5.6.5 but I cannot do the update because a dependency error appears during the upgrade:

---> Package libc-client.x86_64 0:2007f-16.el7 will be installed
---> Package php73-common.x86_64 0:7.3.7-1.el7.ius will be installed
---> Package python-httplib2.noarch 0:0.9.2-1.el7 will be installed
---> Package python-paramiko.noarch 0:2.1.1-9.el7 will be installed
---> Package python2-jmespath.noarch 0:0.9.0-3.el7 will be installed
---> Package sshpass.x86_64 0:1.06-2.el7 will be installed
--> Processing Conflict: php73-common-7.3.7-1.el7.ius.x86_64 conflicts php-common < 7.3.7-1.el7.ius
--> Finished Dependency Resolution
Error: php73-common conflicts with php-common-5.4.16-46.el7.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

I attach the log file.

I tried to upgrade to the version 5.6.0 first, but, the error apears.

Re: Upgrade from 5.5.11 to 5.6.5

Posted: Mon Aug 05, 2019 6:10 am
by ivan.lopezm
Hi,

I think, the problem is located in this line:

yum install `yum list installed php*common* | grep php | awk -F "-" {'print $1'} | tail -1`-imap -y

I have manually executed the line without errors. After that, the update works correctly.

This post could be closed.

Best,

Re: Upgrade from 5.5.11 to 5.6.5

Posted: Mon Aug 05, 2019 7:15 am
by scottwilkerson
ivan.lopezm wrote:Hi,

I think, the problem is located in this line:

yum install `yum list installed php*common* | grep php | awk -F "-" {'print $1'} | tail -1`-imap -y

I have manually executed the line without errors. After that, the update works correctly.

This post could be closed.

Best,
Glad you got it sorted!

Locking thread