【发布时间】:2016-03-27 09:03:42
【问题描述】:
我使用 remi repo 安装了 CentOS 6.7 和 PHP 5.6。我想从 remi 升级到 PHP 7.0,并且我已经更新了 remi repo 以启用 PHP 7.0。我安装了 memcached 3.0.8。
我运行这个命令。
yum --enablerepo=remi,remi-php70 update
但是出现了这个错误
Error: Package: php-pecl-memcache-3.0.8-3.el6.remi.5.6.x86_64 (@remi-php56)
Requires: php(api) = 20131106-64
Removing: php-common-5.6.16-1.el6.remi.x86_64 (@remi-php56)
php(api) = 20131106-64
Updated By: php-common-7.0.1-1.el6.remi.x86_64 (remi-php70)
php(api) = 20151012-64
Available: php-common-5.3.3-40.el6_6.x86_64 (base)
php(api) = 20090626
Available: php-common-5.3.3-46.el6_6.x86_64 (updates)
php(api) = 20090626
Available: php-common-5.4.45-1.el6.remi.x86_64 (remi)
php(api) = 20100412-x86-64
Available: php-common-5.4.45-2.el6.remi.x86_64 (remi)
php(api) = 20100412-x86-64
Available: php-common-7.0.0-3.el6.remi.x86_64 (remi-php70)
php(api) = 20151012-64
Error: Package: php-pecl-memcache-3.0.8-3.el6.remi.5.6.x86_64 (@remi-php56)
Requires: php(zend-abi) = 20131226-64
Removing: php-common-5.6.16-1.el6.remi.x86_64 (@remi-php56)
php(zend-abi) = 20131226-64
Updated By: php-common-7.0.1-1.el6.remi.x86_64 (remi-php70)
php(zend-abi) = 20151012-64
Available: php-common-5.3.3-40.el6_6.x86_64 (base)
php(zend-abi) = 20090626
Available: php-common-5.3.3-46.el6_6.x86_64 (updates)
php(zend-abi) = 20090626
Available: php-common-5.4.45-1.el6.remi.x86_64 (remi)
php(zend-abi) = 20100525-x86-64
Available: php-common-5.4.45-2.el6.remi.x86_64 (remi)
php(zend-abi) = 20100525-x86-64
Available: php-common-7.0.0-3.el6.remi.x86_64 (remi-php70)
php(zend-abi) = 20151012-64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
有什么建议吗?
【问题讨论】: