php - yum 更新依赖错误

标签 php linux centos updates yum

我正在执行 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/

相关文章:

apache - 如何在现有的 apache 2.2 SSL、centos 上添加 nginx

php - is_page() 显示当前事件页面

php - preg_match_all 等效于 JS?

php - 是否有可能获得已定义 namespace 的列表

PHP 应用程序内存不足

makefile - 收到错误 "recompile with -fPIC"

linux - 到 stderr 的输出改为到 stdout

c - 我不明白为什么编译器给我这个代码的错误

php - 查找/检测/格式化周围文件中使用的 GetText 字符串

linux - 安装 scrapy (openSSL)