yum -y install php-mysql 版本衝突

yum -y install  php-mysql 版本衝突

[root@itop yum.repos.d]# yum -y install  php-mysqlphp

Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfilehtml

 * base: mirrors.aliyun.com  * extras: mirrors.aliyun.commysql

 * updates: mirrors.aliyun.com Resolving Dependencies There are unfinished transactions remaining.sql

You might consider running yum-complete-transaction, or "yum-complete-transaction --cleanup-only" and "yum history redo last", first to finish them.ide

If those don't work you'll have to try removing/installing packages by hand (maybe package-cleanup can help).post

--> Running transaction check ---> Package php-mysql.x86_64 0:5.4.16-45.el7 will be installed -->this

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  spa

You could try using --skip-broken to work around the problem.net

 You could try running: rpm -Va --nofiles --nodigesthtm

 

由於版本衝突須要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]#

相關文章
相關標籤/搜索