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.
Upgrade from 5.5.11 to 5.6.5
-
ivan.lopezm
- Posts: 7
- Joined: Tue Aug 08, 2017 8:35 am
Upgrade from 5.5.11 to 5.6.5
You do not have the required permissions to view the files attached to this post.
-
ivan.lopezm
- Posts: 7
- Joined: Tue Aug 08, 2017 8:35 am
Re: Upgrade from 5.5.11 to 5.6.5
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,
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,
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Upgrade from 5.5.11 to 5.6.5
Glad you got it sorted!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,
Locking thread