禁用php71 repo后php71与php70冲突

时间:2017-08-31 14:55:09

标签: php install conflict yum

我正在尝试安装php-zip(PHP 7.0),但遇到了:

Error: php71w-common conflicts with php-common-7.0.23-1.el7.remi.x86_64
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

我'已经...

  • 禁用所有remi-php repos,除了remi-php70。
  • 执行sudo yum clean all
  • 执行sudo yum install php-zipsudo yum install php70-zip以及sudo yum install php70w-zip

所有结果都是:

 Resolving Dependencies
 --> Running transaction check
 ---> Package php71w-common.x86_64 0:7.1.8-2.w7 will be installed
 --> Processing Conflict: php71w-common-7.1.8-2.w7.x86_64 conflicts php-common < 7.1
 --> Finished Dependency Resolution

1 个答案:

答案 0 :(得分:2)

啊,webtatic曾经被使用过,并提出了冲突。我解决了我的问题:

sudo yum-config-manager --disable webtatic webtatic-archive webtatic-testing remi-php54  remi-php71
sudo yum clean all