Hello, I have a dedicated server with the following configuration: Plesk Onyx Version 17.0.17 Update #12, Centos 7. I'm trying to upgrade from php 5.6.30 to php 7.1 I get a lot of dependencies error messages:
[root@ns525188 ~]# yum update php
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.its.dal.ca
* epel: mirror.cs.princeton.edu
* extras: mirror.its.dal.ca
* ius: ius.mirror.constant.com
* remi: repo1.ash.innoscale.net
* remi-php55: repo1.ash.innoscale.net
* remi-php56: repo1.ash.innoscale.net
* remi-php70: repo1.ash.innoscale.net
* remi-php71: repo1.ash.innoscale.net
* remi-safe: repo1.ash.innoscale.net
* updates: mirror.its.dal.ca
Resolving Dependencies
--> Running transaction check
---> Package php.x86_64 0:5.6.30-1.el7.remi will be updated
---> Package php.x86_64 0:7.1.1-2.el7.remi will be an update
--> Processing Dependency: php-common(x86-64) = 7.1.1-2.el7.remi for package: php-7.1.1-2.el7.remi.x86_64
--> Processing Dependency: php-cli(x86-64) = 7.1.1-2.el7.remi for package: php-7.1.1-2.el7.remi.x86_64
--> Running transaction check
---> Package php-cli.x86_64 0:5.6.30-1.el7.remi will be updated
---> Package php-cli.x86_64 0:7.1.1-2.el7.remi will be an update
---> Package php-common.x86_64 0:5.6.30-1.el7.remi will be updated
--> Processing Dependency: php(api) = 20131106-64 for package: php-pecl-jsonc-1.3.10-1.el7.remi.5.6.x86_64
--> Processing Dependency: php(api) = 20131106-64 for package: php-pecl-zip-1.13.5-1.el7.remi.5.6.x86_64
--> Processing Dependency: php(api) = 20131106-64 for package: php-pecl-apcu-4.0.11-2.el7.remi.5.6.x86_64
--> Processing Dependency: php(zend-abi) = 20131226-64 for package: php-pecl-jsonc-1.3.10-1.el7.remi.5.6.x86_64
--> Processing Dependency: php(zend-abi) = 20131226-64 for package: php-pecl-zip-1.13.5-1.el7.remi.5.6.x86_64
--> Processing Dependency: php(zend-abi) = 20131226-64 for package: php-pecl-apcu-4.0.11-2.el7.remi.5.6.x86_64
--> Processing Dependency: php-common(x86-64) = 5.6.30-1.el7.remi for package: php-imap-5.6.30-1.el7.remi.x86_64
--> Processing Dependency: php-common(x86-64) = 5.6.30-1.el7.remi for package: php-mbstring-5.6.30-1.el7.remi.x86_64
--> Processing Dependency: php-common(x86-64) = 5.6.30-1.el7.remi for package: php-xml-5.6.30-1.el7.remi.x86_64
--> Processing Dependency: php-common(x86-64) = 5.6.30-1.el7.remi for package: php-fpm-5.6.30-1.el7.remi.x86_64
--> Processing Dependency: php-common(x86-64) = 5.6.30-1.el7.remi for package: php-bcmath-5.6.30-1.el7.remi.x86_64
--> Processing Dependency: php-common(x86-64) = 5.6.30-1.el7.remi for package: php-tidy-5.6.30-1.el7.remi.x86_64
--> Processing Dependency: php-common(x86-64) = 5.6.30-1.el7.remi for package: php-gd-5.6.30-1.el7.remi.x86_64
--> Processing Dependency: php-common(x86-64) = 5.6.30-1.el7.remi for package: php-pdo-5.6.30-1.el7.remi.x86_64
--> Processing Dependency: php-common(x86-64) = 5.6.30-1.el7.remi for package: php-process-5.6.30-1.el7.remi.x86_64
---> Package php-common.x86_64 0:7.1.1-2.el7.remi will be an update
--> Running transaction check
---> Package php-bcmath.x86_64 0:5.6.30-1.el7.remi will be updated
---> Package php-bcmath.x86_64 0:7.1.1-2.el7.remi will be an update
---> Package php-fpm.x86_64 0:5.6.30-1.el7.remi will be updated
---> Package php-fpm.x86_64 0:7.1.1-2.el7.remi will be an update
---> Package php-gd.x86_64 0:5.6.30-1.el7.remi will be updated
---> Package php-gd.x86_64 0:7.1.1-2.el7.remi will be an update
---> Package php-imap.x86_64 0:5.6.30-1.el7.remi will be updated
---> Package php-imap.x86_64 0:7.1.1-2.el7.remi will be an update
---> Package php-json.x86_64 0:7.1.1-2.el7.remi will be obsoleting
---> Package php-mbstring.x86_64 0:5.6.30-1.el7.remi will be updated
---> Package php-mbstring.x86_64 0:7.1.1-2.el7.remi will be an update
---> Package php-pdo.x86_64 0:5.6.30-1.el7.remi will be updated
--> Processing Dependency: php-pdo(x86-64) = 5.6.30-1.el7.remi for package: php-mysqlnd-5.6.30-1.el7.remi.x86_64
---> Package php-pdo.x86_64 0:7.1.1-2.el7.remi will be an update
---> Package php-pecl-apcu.x86_64 0:4.0.11-2.el7.remi.5.6 will be updated
---> Package php-pecl-apcu.x86_64 0:5.1.8-1.el7.remi.7.1 will be an update
--> Processing Dependency: php-pecl-apcu-bc(x86-64) for package: php-pecl-apcu-5.1.8-1.el7.remi.7.1.x86_64
---> Package php-pecl-jsonc.x86_64 0:1.3.10-1.el7.remi.5.6 will be updated
---> Package php-pecl-jsonc.x86_64 0:1.3.10-1.el7.remi.5.6 will be obsoleted
---> Package php-pecl-jsonc.x86_64 0:1.3.10-2.el7.remi.5.6 will be an update
--> Processing Dependency: php(zend-abi) = 20131226-64 for package: php-pecl-jsonc-1.3.10-2.el7.remi.5.6.x86_64
Package php56u-common-5.6.29-1.ius.centos7.x86_64 is obsoleted by php-common-5.6.30-1.el7.remi.x86_64 which is already installed
--> Processing Dependency: php(api) = 20131106-64 for package: php-pecl-jsonc-1.3.10-2.el7.remi.5.6.x86_64
Package php56u-common-5.6.29-1.ius.centos7.x86_64 is obsoleted by php-common-5.6.30-1.el7.remi.x86_64 which is already installed
---> Package php-pecl-zip.x86_64 0:1.13.5-1.el7.remi.5.6 will be updated
---> Package php-pecl-zip.x86_64 0:1.13.5-2.el7.remi.7.1 will be an update
---> Package php-process.x86_64 0:5.6.30-1.el7.remi will be updated
---> Package php-process.x86_64 0:7.1.1-2.el7.remi will be an update
---> Package php-tidy.x86_64 0:5.6.30-1.el7.remi will be updated
---> Package php-tidy.x86_64 0:7.1.1-2.el7.remi will be an update
---> Package php-xml.x86_64 0:5.6.30-1.el7.remi will be updated
---> Package php-xml.x86_64 0:7.1.1-2.el7.remi will be an update
--> Running transaction check
---> Package php-mysqlnd.x86_64 0:5.6.30-1.el7.remi will be updated
--> Processing Dependency: php-mysql for package: psa-php5-configurator-1.7.0-cos7.build1700161026.16.x86_64
Package php-mysql-5.4.45-12.el7.remi.x86_64 is obsoleted by php-mysqlnd-5.6.30-1.el7.remi.x86_64 which is already installed
---> Package php-mysqlnd.x86_64 0:7.1.1-2.el7.remi will be an update
---> Package php-pecl-apcu-bc.x86_64 0:1.0.3-6.el7.remi.7.1 will be installed
---> Package php-pecl-jsonc.x86_64 0:1.3.10-2.el7.remi.5.6 will be an update
--> Processing Dependency: php(zend-abi) = 20131226-64 for package: php-pecl-jsonc-1.3.10-2.el7.remi.5.6.x86_64
Package php56u-common-5.6.29-1.ius.centos7.x86_64 is obsoleted by php-common-5.6.30-1.el7.remi.x86_64 which is already installed
--> Processing Dependency: php(api) = 20131106-64 for package: php-pecl-jsonc-1.3.10-2.el7.remi.5.6.x86_64
Package php56u-common-5.6.29-1.ius.centos7.x86_64 is obsoleted by php-common-5.6.30-1.el7.remi.x86_64 which is already installed
Removing php-pecl-jsonc.x86_64 0:1.3.10-2.el7.remi.5.6 - u due to obsoletes from php-json.x86_64 0:7.1.1-2.el7.remi - u
--> Restarting Dependency Resolution with new changes.
--> Running transaction check
---> Package php-mysqlnd.x86_64 0:5.6.30-1.el7.remi will be updated
--> Processing Dependency: php-mysql for package: psa-php5-configurator-1.7.0-cos7.build1700161026.16.x86_64
Package php-mysql-5.4.45-12.el7.remi.x86_64 is obsoleted by php-mysqlnd-5.6.30-1.el7.remi.x86_64 which is already installed
---> Package php-pecl-jsonc.x86_64 0:1.3.10-2.el7.remi.5.6 will be an update
--> Finished Dependency Resolution
Error: Package: php-pecl-jsonc-1.3.10-2.el7.remi.5.6.x86_64 (remi-php56)
Requires: php(api) = 20131106-64
Removing: php-common-5.6.30-1.el7.remi.x86_64 (@remi-php56)
php(api) = 20131106-64
Updated By: php-common-7.1.1-2.el7.remi.x86_64 (remi-php71)
php(api) = 20160303-64
Available: php-common-5.4.16-42.el7.x86_64 (base)
php(api) = 20100412-64
Available: php-common-5.4.45-11.el7.remi.x86_64 (remi)
php(api) = 20100412-64
Available: php-common-5.4.45-12.el7.remi.x86_64 (remi)
php(api) = 20100412-64
Available: php-common-5.5.38-5.el7.remi.x86_64 (remi-php55)
php(api) = 20121113-64
Available: php-common-5.5.38-6.el7.remi.x86_64 (remi-php55)
php(api) = 20121113-64
Available: php-common-5.6.29-1.el7.remi.x86_64 (remi-php56)
php(api) = 20131106-64
Available: php-common-7.0.14-1.el7.remi.x86_64 (remi-php70)
php(api) = 20151012-64
Available: php-common-7.0.15-1.el7.remi.x86_64 (remi-php70)
php(api) = 20151012-64
Available: php-common-7.1.0-1.el7.remi.x86_64 (remi-php71)
php(api) = 20160303-64
Available: php56u-common-5.6.29-1.ius.centos7.x86_64 (ius)
php(api) = 20131106-64
Available: php70u-common-7.0.14-3.ius.centos7.x86_64 (ius)
php(api) = 20151012-64
Available: php71u-common-7.1.0-3.ius.centos7.x86_64 (ius)
php(api) = 20160303-64
(And many more dependencies errors)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
How can I solve this issue?
Thanks
[root@ns525188 ~]# yum update php
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.its.dal.ca
* epel: mirror.cs.princeton.edu
* extras: mirror.its.dal.ca
* ius: ius.mirror.constant.com
* remi: repo1.ash.innoscale.net
* remi-php55: repo1.ash.innoscale.net
* remi-php56: repo1.ash.innoscale.net
* remi-php70: repo1.ash.innoscale.net
* remi-php71: repo1.ash.innoscale.net
* remi-safe: repo1.ash.innoscale.net
* updates: mirror.its.dal.ca
Resolving Dependencies
--> Running transaction check
---> Package php.x86_64 0:5.6.30-1.el7.remi will be updated
---> Package php.x86_64 0:7.1.1-2.el7.remi will be an update
--> Processing Dependency: php-common(x86-64) = 7.1.1-2.el7.remi for package: php-7.1.1-2.el7.remi.x86_64
--> Processing Dependency: php-cli(x86-64) = 7.1.1-2.el7.remi for package: php-7.1.1-2.el7.remi.x86_64
--> Running transaction check
---> Package php-cli.x86_64 0:5.6.30-1.el7.remi will be updated
---> Package php-cli.x86_64 0:7.1.1-2.el7.remi will be an update
---> Package php-common.x86_64 0:5.6.30-1.el7.remi will be updated
--> Processing Dependency: php(api) = 20131106-64 for package: php-pecl-jsonc-1.3.10-1.el7.remi.5.6.x86_64
--> Processing Dependency: php(api) = 20131106-64 for package: php-pecl-zip-1.13.5-1.el7.remi.5.6.x86_64
--> Processing Dependency: php(api) = 20131106-64 for package: php-pecl-apcu-4.0.11-2.el7.remi.5.6.x86_64
--> Processing Dependency: php(zend-abi) = 20131226-64 for package: php-pecl-jsonc-1.3.10-1.el7.remi.5.6.x86_64
--> Processing Dependency: php(zend-abi) = 20131226-64 for package: php-pecl-zip-1.13.5-1.el7.remi.5.6.x86_64
--> Processing Dependency: php(zend-abi) = 20131226-64 for package: php-pecl-apcu-4.0.11-2.el7.remi.5.6.x86_64
--> Processing Dependency: php-common(x86-64) = 5.6.30-1.el7.remi for package: php-imap-5.6.30-1.el7.remi.x86_64
--> Processing Dependency: php-common(x86-64) = 5.6.30-1.el7.remi for package: php-mbstring-5.6.30-1.el7.remi.x86_64
--> Processing Dependency: php-common(x86-64) = 5.6.30-1.el7.remi for package: php-xml-5.6.30-1.el7.remi.x86_64
--> Processing Dependency: php-common(x86-64) = 5.6.30-1.el7.remi for package: php-fpm-5.6.30-1.el7.remi.x86_64
--> Processing Dependency: php-common(x86-64) = 5.6.30-1.el7.remi for package: php-bcmath-5.6.30-1.el7.remi.x86_64
--> Processing Dependency: php-common(x86-64) = 5.6.30-1.el7.remi for package: php-tidy-5.6.30-1.el7.remi.x86_64
--> Processing Dependency: php-common(x86-64) = 5.6.30-1.el7.remi for package: php-gd-5.6.30-1.el7.remi.x86_64
--> Processing Dependency: php-common(x86-64) = 5.6.30-1.el7.remi for package: php-pdo-5.6.30-1.el7.remi.x86_64
--> Processing Dependency: php-common(x86-64) = 5.6.30-1.el7.remi for package: php-process-5.6.30-1.el7.remi.x86_64
---> Package php-common.x86_64 0:7.1.1-2.el7.remi will be an update
--> Running transaction check
---> Package php-bcmath.x86_64 0:5.6.30-1.el7.remi will be updated
---> Package php-bcmath.x86_64 0:7.1.1-2.el7.remi will be an update
---> Package php-fpm.x86_64 0:5.6.30-1.el7.remi will be updated
---> Package php-fpm.x86_64 0:7.1.1-2.el7.remi will be an update
---> Package php-gd.x86_64 0:5.6.30-1.el7.remi will be updated
---> Package php-gd.x86_64 0:7.1.1-2.el7.remi will be an update
---> Package php-imap.x86_64 0:5.6.30-1.el7.remi will be updated
---> Package php-imap.x86_64 0:7.1.1-2.el7.remi will be an update
---> Package php-json.x86_64 0:7.1.1-2.el7.remi will be obsoleting
---> Package php-mbstring.x86_64 0:5.6.30-1.el7.remi will be updated
---> Package php-mbstring.x86_64 0:7.1.1-2.el7.remi will be an update
---> Package php-pdo.x86_64 0:5.6.30-1.el7.remi will be updated
--> Processing Dependency: php-pdo(x86-64) = 5.6.30-1.el7.remi for package: php-mysqlnd-5.6.30-1.el7.remi.x86_64
---> Package php-pdo.x86_64 0:7.1.1-2.el7.remi will be an update
---> Package php-pecl-apcu.x86_64 0:4.0.11-2.el7.remi.5.6 will be updated
---> Package php-pecl-apcu.x86_64 0:5.1.8-1.el7.remi.7.1 will be an update
--> Processing Dependency: php-pecl-apcu-bc(x86-64) for package: php-pecl-apcu-5.1.8-1.el7.remi.7.1.x86_64
---> Package php-pecl-jsonc.x86_64 0:1.3.10-1.el7.remi.5.6 will be updated
---> Package php-pecl-jsonc.x86_64 0:1.3.10-1.el7.remi.5.6 will be obsoleted
---> Package php-pecl-jsonc.x86_64 0:1.3.10-2.el7.remi.5.6 will be an update
--> Processing Dependency: php(zend-abi) = 20131226-64 for package: php-pecl-jsonc-1.3.10-2.el7.remi.5.6.x86_64
Package php56u-common-5.6.29-1.ius.centos7.x86_64 is obsoleted by php-common-5.6.30-1.el7.remi.x86_64 which is already installed
--> Processing Dependency: php(api) = 20131106-64 for package: php-pecl-jsonc-1.3.10-2.el7.remi.5.6.x86_64
Package php56u-common-5.6.29-1.ius.centos7.x86_64 is obsoleted by php-common-5.6.30-1.el7.remi.x86_64 which is already installed
---> Package php-pecl-zip.x86_64 0:1.13.5-1.el7.remi.5.6 will be updated
---> Package php-pecl-zip.x86_64 0:1.13.5-2.el7.remi.7.1 will be an update
---> Package php-process.x86_64 0:5.6.30-1.el7.remi will be updated
---> Package php-process.x86_64 0:7.1.1-2.el7.remi will be an update
---> Package php-tidy.x86_64 0:5.6.30-1.el7.remi will be updated
---> Package php-tidy.x86_64 0:7.1.1-2.el7.remi will be an update
---> Package php-xml.x86_64 0:5.6.30-1.el7.remi will be updated
---> Package php-xml.x86_64 0:7.1.1-2.el7.remi will be an update
--> Running transaction check
---> Package php-mysqlnd.x86_64 0:5.6.30-1.el7.remi will be updated
--> Processing Dependency: php-mysql for package: psa-php5-configurator-1.7.0-cos7.build1700161026.16.x86_64
Package php-mysql-5.4.45-12.el7.remi.x86_64 is obsoleted by php-mysqlnd-5.6.30-1.el7.remi.x86_64 which is already installed
---> Package php-mysqlnd.x86_64 0:7.1.1-2.el7.remi will be an update
---> Package php-pecl-apcu-bc.x86_64 0:1.0.3-6.el7.remi.7.1 will be installed
---> Package php-pecl-jsonc.x86_64 0:1.3.10-2.el7.remi.5.6 will be an update
--> Processing Dependency: php(zend-abi) = 20131226-64 for package: php-pecl-jsonc-1.3.10-2.el7.remi.5.6.x86_64
Package php56u-common-5.6.29-1.ius.centos7.x86_64 is obsoleted by php-common-5.6.30-1.el7.remi.x86_64 which is already installed
--> Processing Dependency: php(api) = 20131106-64 for package: php-pecl-jsonc-1.3.10-2.el7.remi.5.6.x86_64
Package php56u-common-5.6.29-1.ius.centos7.x86_64 is obsoleted by php-common-5.6.30-1.el7.remi.x86_64 which is already installed
Removing php-pecl-jsonc.x86_64 0:1.3.10-2.el7.remi.5.6 - u due to obsoletes from php-json.x86_64 0:7.1.1-2.el7.remi - u
--> Restarting Dependency Resolution with new changes.
--> Running transaction check
---> Package php-mysqlnd.x86_64 0:5.6.30-1.el7.remi will be updated
--> Processing Dependency: php-mysql for package: psa-php5-configurator-1.7.0-cos7.build1700161026.16.x86_64
Package php-mysql-5.4.45-12.el7.remi.x86_64 is obsoleted by php-mysqlnd-5.6.30-1.el7.remi.x86_64 which is already installed
---> Package php-pecl-jsonc.x86_64 0:1.3.10-2.el7.remi.5.6 will be an update
--> Finished Dependency Resolution
Error: Package: php-pecl-jsonc-1.3.10-2.el7.remi.5.6.x86_64 (remi-php56)
Requires: php(api) = 20131106-64
Removing: php-common-5.6.30-1.el7.remi.x86_64 (@remi-php56)
php(api) = 20131106-64
Updated By: php-common-7.1.1-2.el7.remi.x86_64 (remi-php71)
php(api) = 20160303-64
Available: php-common-5.4.16-42.el7.x86_64 (base)
php(api) = 20100412-64
Available: php-common-5.4.45-11.el7.remi.x86_64 (remi)
php(api) = 20100412-64
Available: php-common-5.4.45-12.el7.remi.x86_64 (remi)
php(api) = 20100412-64
Available: php-common-5.5.38-5.el7.remi.x86_64 (remi-php55)
php(api) = 20121113-64
Available: php-common-5.5.38-6.el7.remi.x86_64 (remi-php55)
php(api) = 20121113-64
Available: php-common-5.6.29-1.el7.remi.x86_64 (remi-php56)
php(api) = 20131106-64
Available: php-common-7.0.14-1.el7.remi.x86_64 (remi-php70)
php(api) = 20151012-64
Available: php-common-7.0.15-1.el7.remi.x86_64 (remi-php70)
php(api) = 20151012-64
Available: php-common-7.1.0-1.el7.remi.x86_64 (remi-php71)
php(api) = 20160303-64
Available: php56u-common-5.6.29-1.ius.centos7.x86_64 (ius)
php(api) = 20131106-64
Available: php70u-common-7.0.14-3.ius.centos7.x86_64 (ius)
php(api) = 20151012-64
Available: php71u-common-7.1.0-3.ius.centos7.x86_64 (ius)
php(api) = 20160303-64
(And many more dependencies errors)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
How can I solve this issue?
Thanks