yum -y install PHP-MysqL 版本冲突
2018年09月02日 19:16:59 乐于技术分享 阅读数:640[root@itop yum.repos.d]# yum -y install PHP-MysqL
Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile
* base: mirrors.aliyun.com * extras: mirrors.aliyun.com
* updates: mirrors.aliyun.com Resolving Dependencies There are unfinished transactions remaining.
You might consider running yum-complete-transaction, or "yum-complete-transaction --cleanup-only" and "yum history redo last", first to finish them.
If those don't work you'll have to try removing/installing packages by hand (maybe package-cleanup can help).
--> Running transaction check ---> Package PHP-MysqL.x86_64 0:5.4.16-45.el7 will be installed -->
Processing Conflict: PHP-MysqL-5.4.16-45.el7.x86_64 conflicts PHP-MysqLnd --> Finished Dependency Resolution Error: PHP-MysqL conflicts with PHP-MysqLnd-5.4.16-45.el7.x86_64
You Could try using --skip-broken to work around the problem
You Could try running: rpm -Va --nofiles --nodigest
因为版本冲突需要yum remove
解决如下:
[root@itop yum.repos.d]# yum remove PHP-MysqLnd-5.4.16-45.el7.x86_64
======== Remove 1 Package Installed size: 462 k Is this ok [y/N]: y
PHP-MysqL.x86_64 0:5.4.16-45.el7 Complete!
[root@itop yum.repos.d]#
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。