I'm using Remi repo on my servers, using PHP 5.6.x. I'm updating with this command: yum --enablerepo=remi,remi-php56 update -y
and it's working fine, on all my old servers.
On three of my newest VPS servers, all reinstall or completely new in December, I have a issue. I can't upgrade PHP higher then 5.6.4.
When using my normal command, working fine on my other VPS servers, I only get this on the new ones:
[root@cloudxxx ~]# yum --enablerepo=remi,remi-php56 update -y
Loaded plugins: fastestmirror
Setting up Update Process
Loading mirror speeds from cached hostfile
* base: mirror.prolocation.net
* epel: mirror.nl.leaseweb.net
* extras: mirror.nl.leaseweb.net
* ius: mirror.amsiohosting.net
* remi: remi.schlundtech.de
* remi-php56: remi.schlundtech.de
* updates: mirror.nl.leaseweb.net
Resolving Dependencies
--> Running transaction check
---> Package php.x86_64 0:5.6.4-2.el6.remi will be updated
---> Package php.x86_64 0:5.6.5-1.el6.remi will be an update
---> Package php-cli.x86_64 0:5.6.4-2.el6.remi will be updated
---> Package php-cli.x86_64 0:5.6.5-1.el6.remi will be an update
---> Package php-common.x86_64 0:5.6.4-2.el6.remi will be updated
---> Package php-common.x86_64 0:5.6.5-1.el6.remi will be obsoleting
--> Processing Dependency: php-pecl-zip(x86-64) for package: php-common-
5.6.5-1.el6.remi.x86_64
---> Package php-gd.x86_64 0:5.6.4-2.el6.remi will be updated
---> Package php-gd.x86_64 0:5.6.5-1.el6.remi will be an update
---> Package php-imap.x86_64 0:5.6.4-2.el6.remi will be updated
---> Package php-imap.x86_64 0:5.6.5-1.el6.remi will be an update
---> Package php-mbstring.x86_64 0:5.6.4-2.el6.remi will be updated
---> Package php-mbstring.x86_64 0:5.6.5-1.el6.remi will be an update
---> Package php-mysqlnd.x86_64 0:5.6.4-2.el6.remi will be updated
---> Package php-mysqlnd.x86_64 0:5.6.5-1.el6.remi will be an update
---> Package php-odbc.x86_64 0:5.6.4-2.el6.remi will be updated
---> Package php-odbc.x86_64 0:5.6.5-1.el6.remi will be an update
---> Package php-pdo.x86_64 0:5.6.4-2.el6.remi will be updated
---> Package php-pdo.x86_64 0:5.6.5-1.el6.remi will be an update
---> Package php-pecl-zip.x86_64 0:1.12.4-2.el6.remi.5.6 will be obsoleted
--> Processing Dependency: php-pecl-zip(x86-64) for package: php-common-
5.6.5-1.el6.remi.x86_64
---> Package php-pgsql.x86_64 0:5.6.4-2.el6.remi will be updated
---> Package php-pgsql.x86_64 0:5.6.5-1.el6.remi will be an update
---> Package php-process.x86_64 0:5.6.4-2.el6.remi will be updated
---> Package php-process.x86_64 0:5.6.5-1.el6.remi will be an update
---> Package php-snmp.x86_64 0:5.6.4-2.el6.remi will be updated
---> Package php-snmp.x86_64 0:5.6.5-1.el6.remi will be an update
---> Package php-xml.x86_64 0:5.6.4-2.el6.remi will be updated
---> Package php-xml.x86_64 0:5.6.5-1.el6.remi will be an update
---> Package php-xmlrpc.x86_64 0:5.6.4-2.el6.remi will be updated
---> Package php-xmlrpc.x86_64 0:5.6.5-1.el6.remi will be an update
--> Finished Dependency Resolution
Error: Package: php-common-5.6.5-1.el6.remi.x86_64 (remi-php56)
Requires: php-pecl-zip(x86-64)
Removing: php-pecl-zip-1.12.4-2.el6.remi.5.6.x86_64 (@remi-php56)
php-pecl-zip(x86-64) = 1.12.4-2.el6.remi.5.6
Obsoleted By: php-common-5.6.5-1.el6.remi.x86_64 (remi-php56)
Not found
Available: php-common-5.4.36-1.el6.remi.x86_64 (remi)
php-pecl-zip(x86-64) = 1.11.0
Available: php-common-5.4.37-1.el6.remi.x86_64 (remi)
php-pecl-zip(x86-64) = 1.11.0
Available: php-pecl-zip-1.12.4-1.el6.remi.5.6.x86_64 (remi-php56)
php-pecl-zip(x86-64) = 1.12.4-1.el6.remi.5.6
Removing: php-common-5.6.4-2.el6.remi.x86_64 (@remi-php56)
Not found
Updated By: php-common-5.6.5-1.el6.remi.x86_64 (remi-php56)
Not found
Available: php-common-5.3.3-38.el6.x86_64 (base)
Not found
Available: php-common-5.3.3-40.el6_6.x86_64 (updates)
Not found
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[root@cloudxxx ~]# php -v
PHP 5.6.4 (cli) (built: Dec 17 2014 16:47:40)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2014 Zend Technologies
From one of my old VPS servers:
[root@vpsxxx ~]# php -v
PHP 5.6.5 (cli) (built: Jan 21 2015 17:38:35)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2014 Zend Technologies
I have of course tried using --skip-broken and rpm -Va --nofiles --nodigest, but still the same errors, and no update of PHP to the newest version. How can I fix this?