簡體   English   中英

php-devel centos 6安裝中的麻煩

[英]trouble in installation of php-devel centos 6

我正在如下安裝php-devel

yum install php-devel

和錯誤如下

Package: 1:php56w-pear-1.10.1-1.w6.noarch (@webtatic)
           Requires: php56w-ftp
           Removing: php56w-common-5.6.20-1.w6.x86_64 (@webtatic)
               php56w-ftp
           Obsoleted By: php-common-5.6.20-1.el6.remi.x86_64 (remi-php56)
               Not found
           Available: php56w-common-5.6.19-1.w6.x86_64 (webtatic)
               php56w-ftp
Error: Package: 1:php56w-pear-1.10.1-1.w6.noarch (@webtatic)
           Requires: php56w-xml
           Removing: php56w-xml-5.6.20-1.w6.x86_64 (@webtatic)
               php56w-xml = 5.6.20-1.w6
           Obsoleted By: php-xml-5.6.20-1.el6.remi.x86_64 (remi-php56)
               Not found
           Available: php56w-xml-5.6.19-1.w6.x86_64 (webtatic)
               php56w-xml = 5.6.19-1.w6
Error: Package: 1:php56w-pear-1.10.1-1.w6.noarch (@webtatic)
           Requires: php56w-bz2
           Removing: php56w-common-5.6.20-1.w6.x86_64 (@webtatic)
               php56w-bz2
           Obsoleted By: php-common-5.6.20-1.el6.remi.x86_64 (remi-php56)
               Not found
           Available: php56w-common-5.6.19-1.w6.x86_64 (webtatic)
               php56w-bz2
Error: Package: 1:php56w-pear-1.10.1-1.w6.noarch (@webtatic)
           Requires: php56w-cli
           Removing: php56w-cli-5.6.20-1.w6.x86_64 (@webtatic)
               php56w-cli = 5.6.20-1.w6
           Obsoleted By: php-cli-5.6.20-1.el6.remi.x86_64 (remi-php56)
               Not found
           Available: php56w-cli-5.6.19-1.w6.x86_64 (webtatic)
               php56w-cli = 5.6.19-1.w6
Error: Package: 1:php56w-pear-1.10.1-1.w6.noarch (@webtatic)
           Requires: php56w-pcre
           Removing: php56w-common-5.6.20-1.w6.x86_64 (@webtatic)
               php56w-pcre
           Obsoleted By: php-common-5.6.20-1.el6.remi.x86_64 (remi-php56)
               Not found
           Available: php56w-common-5.6.19-1.w6.x86_64 (webtatic)
               php56w-pcre
Error: Package: 1:php56w-pear-1.10.1-1.w6.noarch (@webtatic)
           Requires: php56w-posix
           Removing: php56w-process-5.6.20-1.w6.x86_64 (@webtatic)
               php56w-posix
           Obsoleted By: php-process-5.6.20-1.el6.remi.x86_64 (remi-php56)
               Not found
           Available: php56w-process-5.6.19-1.w6.x86_64 (webtatic)
               php56w-posix
Error: Package: 1:php56w-pear-1.10.1-1.w6.noarch (@webtatic)
           Requires: php56w-tokenizer
           Removing: php56w-common-5.6.20-1.w6.x86_64 (@webtatic)
               php56w-tokenizer
           Obsoleted By: php-common-5.6.20-1.el6.remi.x86_64 (remi-php56)
               Not found
           Available: php56w-common-5.6.19-1.w6.x86_64 (webtatic)
               php56w-tokenizer
Error: Package: 1:php56w-pear-1.10.1-1.w6.noarch (@webtatic)
           Requires: php56w-zlib
           Removing: php56w-common-5.6.20-1.w6.x86_64 (@webtatic)
               php56w-zlib
           Obsoleted By: php-common-5.6.20-1.el6.remi.x86_64 (remi-php56)
               Not found
           Available: php56w-common-5.6.19-1.w6.x86_64 (webtatic)
               php56w-zlib
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

請幫我

嘗試先安裝EPEL 6,

wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
yum install epel-release-latest-6.noarch.rpm
rm -rf epel-release-latest-6.noarch.rpm

完成后,嘗試運行,

yum install php

您同時安裝並啟用了webtatic和remi存儲庫。 為了解決安裝php *軟件包的問題,​​請啟用一個,然后禁用另一個。 例如,運行yum install --disablerepo=webtatic php-devel或轉到/etc/yum.repos.d並通過編輯.repo文件禁用存儲庫。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM