[英]trouble in installation of php-devel centos 6
I am installing php-devel
like below 我正在如下安装
php-devel
yum install php-devel
and error like below 和错误如下
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
please help me 请帮我
Try installing EPEL 6 first, 尝试先安装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
after that's done, try running, 完成后,尝试运行,
yum install php
You installed and enabled webtatic and remi repositories at the same time. 您同时安装并启用了webtatic和remi存储库。 For solving this problem for install php* packages, enable one and disable the others.
为了解决安装php *软件包的问题,请启用一个,然后禁用另一个。 For example run
yum install --disablerepo=webtatic php-devel
or go to /etc/yum.repos.d
and disable a repository by editing .repo file. 例如,运行
yum install --disablerepo=webtatic php-devel
或转到/etc/yum.repos.d
并通过编辑.repo文件禁用存储库。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.