我运行yum install php-devel
并返回此信息。通常我只是用--skip-broken运行它,但是当我这样做时,它仍然没有做到这一点。
Available: php-common-5.3.3-22.el6.x86_64 (rhel-x86_64-server-6)
php-common(x86-64) = 5.3.3-22.el6
Available: php-common-5.3.3-23.el6_4.x86_64 (rhel-x86_64-server-6)
php-common(x86-64) = 5.3.3-23.el6_4
Available: php-common-5.3.3-26.el6.x86_64 (rhel-x86_64-server-6)
php-common(x86-64) = 5.3.3-26.el6
Available: php54w-common-5.4.29-2.w6.x86_64 (webtatic)
php-common(x86-64) = 5.4.29-2.w6
Available: php54w-common-5.4.30-1.w6.x86_64 (webtatic)
php-common(x86-64) = 5.4.30-1.w6
Available: php55w-common-5.5.13-2.w6.x86_64 (webtatic)
php-common(x86-64) = 5.5.13-2.w6
Installing: php55w-common-5.5.14-1.w6.x86_64 (webtatic)
php-common(x86-64) = 5.5.14-1.w6
You could try using --skip-broken to work around the problem
当使用--skip-broken
运行时,它会在结尾处返回:
由于依赖性问题而跳过软件包:
autoconf-2.63-5.1.el6.noarch from rhel-x86_64-server-6
automake-1.11.1-4.el6.noarch from rhel-x86_64-server-6
pcre-devel-7.8-6.el6.x86_64 from rhel-x86_64-server-6
php-5.3.3-27.el6_5.1.x86_64 from rhel-x86_64-server-6
php-cli-5.3.3-27.el6_5.1.x86_64 from rhel-x86_64-server-6
php-common-5.3.3-27.el6_5.1.x86_64 from rhel-x86_64-server-6
php-mysql-5.3.3-27.el6_5.1.x86_64 from rhel-x86_64-server-6
php-pdo-5.3.3-27.el6_5.1.x86_64 from rhel-x86_64-server-6
php-soap-5.3.3-27.el6_5.1.x86_64 from rhel-x86_64-server-6
php55w-cli-5.5.14-1.w6.x86_64 from webtatic
php55w-common-5.5.14-1.w6.x86_64 from webtatic
php55w-devel-5.5.14-1.w6.x86_64 from webtatic
在安装与php相关的东西时,出现了一些其他类似命令的问题,除了我刚刚没有它们。
我需要安装此功能,以便我尝试这样做。我确实记得升级到PHP 5.4并且由于它需要PHP 5.3而导致整个基础设施崩溃,因此我尽可能快地降级以使所有内容恢复运行,这可能会导致问题。
如果你知道为什么会这样,以及如何在PHP 5.3上保留系统包,请告诉我。
感谢。