yum 更新依赖错误
yum update dependency error
我正在做 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).
P.S。 Remi 的 RPM 存储库中的软件包试图促进从其他 3rd 方存储库升级,但缺少一些助手,将在下一个版本中(5.6.19、7.0.4...)
绝对不要运行类似的repos,只会让你痛苦。
您可以使用上述答案中提到的 disablerepo 命令,或手动编辑 /etc/yum 中的 repos 列表。repos.d/*.repo set enabled=0 以禁用 repo。
EPEL 存储库是主流支持构建的最佳选择
我正在做 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).
P.S。 Remi 的 RPM 存储库中的软件包试图促进从其他 3rd 方存储库升级,但缺少一些助手,将在下一个版本中(5.6.19、7.0.4...)
绝对不要运行类似的repos,只会让你痛苦。
您可以使用上述答案中提到的 disablerepo 命令,或手动编辑 /etc/yum 中的 repos 列表。repos.d/*.repo set enabled=0 以禁用 repo。
EPEL 存储库是主流支持构建的最佳选择