Php yum更新依赖项错误
我在做一个Php yum更新依赖项错误,php,linux,centos,updates,yum,Php,Linux,Centos,Updates,Yum,我在做一个yum更新 但我有一个错误: Error: Package: php56w-opcache-5.6.18-1.w6.x86_64 (webtatic) Requires: php56w-common(x86-64) = 5.6.18-1.w6 Removing: php56w-common-5.6.17-1.w6.x86_64 (@webtatic) php56w-common(x86-64) = 5.6.17-1.w6
yum更新
但我有一个错误:
Error: Package: php56w-opcache-5.6.18-1.w6.x86_64 (webtatic)
Requires: php56w-common(x86-64) = 5.6.18-1.w6
Removing: php56w-common-5.6.17-1.w6.x86_64 (@webtatic)
php56w-common(x86-64) = 5.6.17-1.w6
Obsoleted By: php-common-5.6.18-1.el6.remi.x86_64 (remi-php56)
Not found
Updated By: php56w-common-5.6.18-1.w6.x86_64 (webtatic)
php56w-common(x86-64) = 5.6.18-1.w6
Error: Package: php56w-mysql-5.6.18-1.w6.x86_64 (webtatic)
Requires: php56w-pdo(x86-64)
Removing: php56w-pdo-5.6.17-1.w6.x86_64 (@webtatic)
php56w-pdo(x86-64) = 5.6.17-1.w6
Obsoleted By: php-pdo-5.6.18-1.el6.remi.x86_64 (remi-php56)
Not found
Updated By: php56w-pdo-5.6.18-1.w6.x86_64 (webtatic)
php56w-pdo(x86-64) = 5.6.18-1.w6
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
我该怎么做才能解决这个问题?
我尝试使用--skip-break,但无法更新。
谢谢。您已经配置了WebStatic和Remi存储库,它们都提供了PHP堆栈。这只会引起各种冲突问题 由于启用了“remi-php56”,请尝试安装php opcache和php mysqlnd(而不是php56w opcache和php56w mysql)
Remi RPM存储库中的p.S.软件包试图促进从其他第三方repository的升级,但缺少一些帮助,将在下一个版本(5.6.19、7.0.4…)中提供绝对不要运行类似的repos,这只会给您带来痛苦 您可以使用上述答案中提到的disablerepo命令,或者在/etc/yum.repos.d/*.repo set enabled=0中手动编辑repo列表以禁用repo
EPEL repo是主流受支持版本的最佳选择尝试使用不同的repo。使用命令
yum repolist
列出所有可用的repo。我建议您将epel-repo
与命令yum--enablerepo=epel-install
一起使用。如果epel不可用,请配置它。谷歌如何在RHEL中配置epel