1200字范文,内容丰富有趣,写作的好帮手!
1200字范文 > yum -y install php-mysql 版本冲突

yum -y install php-mysql 版本冲突

时间:2024-03-11 22:38:21

相关推荐

yum -y install  php-mysql 版本冲突

yum -y install php-mysql 版本冲突

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: * extras:

* updates: 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]#

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。