【发布时间】:2021-02-10 18:06:24
【问题描述】:
我正在运行 Centos 6 服务器。在尝试安装 php 7.2 失败后,我遇到了依赖问题(尝试 yum update php): 那么重装php最好最安全的方法是什么?
--> Running transaction check
---> Package libwebp.x86_64 0:0.4.3-3.el6 will be installed
---> Package php56w-common.x86_64 0:5.6.40-1.w6 will be obsoleted
--> Processing Dependency: php56w-common(x86-64) = 5.6.40-1.w6 for package: php56w-phpdbg-5.6.40-
1.w6.x86_64
--> Finished Dependency Resolution
Error: Package: php56w-phpdbg-5.6.40-1.w6.x86_64 (@webtatic)
Requires: php56w-common(x86-64) = 5.6.40-1.w6
Removing: php56w-common-5.6.40-1.w6.x86_64 (@webtatic)
php56w-common(x86-64) = 5.6.40-1.w6
Obsoleted By: php-common-7.2.34-1.el6.remi.x86_64 (remi-php72)
Not found
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
【问题讨论】:
标签: php dependencies centos6