我正在执行 yum update
但我有这个错误:
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-broken,但它不会更新。 谢谢。
最佳答案
您同时配置了 Webtatic 和 Remi 存储库,它们都提供了 PHP 堆栈。这只会引发各种冲突问题。
启用“remi-php56”后尝试安装 php-opcache 和 php-mysqlnd(而不是 php56w-opcache 和 php56w-mysql)。
附言Remi 的 RPM 存储库中的包试图促进从其他 3rd 方存储库升级,但缺少一些助手,将在下一个版本(5.6.19、7.0.4...)
关于php - yum 更新依赖错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35478061/