首页 > 数据库技术 > 详细

yum -y install php-mysql 版本冲突

时间:2019-02-20 16:11:10      阅读:760      评论:0      收藏:0      [点我收藏+]

yum -y install  php-mysql 版本冲突

[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]#

yum -y install php-mysql 版本冲突

原文:https://www.cnblogs.com/xuanbjut/p/10407160.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!