Mysql install failed with dependencies error

mysql

http://dev.mysql.com/downloads/mysql/#downloads 



Issue: When I install mysql on my centos 7 with yum, it complain the following error:

Solution: Just remove the mariadb-libs via the command line first.:   yum -y remove mariadb-libs

you can refer to the post: http://stackoverflow.com/questions/30696902/fails-installing-mysql-on-centos-7.  

yum install mysql-server
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: linux.mirrors.es.net
 * extras: linux.mirrors.es.net
 * updates: linux.mirrors.es.net
Resolving Dependencies
--> Running transaction check
---> Package mariadb-server.x86_64 1:5.5.35-3.el7 will be obsoleted
--> Processing Dependency: mariadb-server for package: akonadi-mysql-1.9.2-4.el7.x86_64
---> Package mysql-community-server.x86_64 0:5.6.25-2.el7 will be obsoleting
--> Processing Dependency: mysql-community-common(x86-64) = 5.6.25-2.el7 for package: mysql-community-server-5.6.25-2.el7.x86_64
--> Processing Dependency: mysql-community-client(x86-64) = 5.6.25-2.el7 for package: mysql-community-server-5.6.25-2.el7.x86_64
--> Running transaction check
---> Package mariadb.x86_64 1:5.5.35-3.el7 will be obsoleted
---> Package mariadb-server.x86_64 1:5.5.35-3.el7 will be updated
---> Package mariadb-server.x86_64 1:5.5.41-2.el7_0 will be an update
--> Processing Dependency: mariadb-libs(x86-64) = 1:5.5.41-2.el7_0 for package: 1:mariadb-server-5.5.41-2.el7_0.x86_64
--> Processing Dependency: mariadb(x86-64) = 1:5.5.41-2.el7_0 for package: 1:mariadb-server-5.5.41-2.el7_0.x86_64
---> Package mysql-community-client.x86_64 0:5.6.25-2.el7 will be obsoleting
---> Package mysql-community-common.x86_64 0:5.6.25-2.el7 will be installed
--> Running transaction check
---> Package mariadb.x86_64 1:5.5.35-3.el7 will be updated
---> Package mariadb.x86_64 1:5.5.41-2.el7_0 will be an update
---> Package mariadb-libs.x86_64 1:5.5.35-3.el7 will be obsoleted
---> Package mariadb-libs.x86_64 1:5.5.35-3.el7 will be updated
---> Package mariadb-libs.x86_64 1:5.5.41-2.el7_0 will be an update
---> Package mysql-community-libs.x86_64 0:5.6.25-2.el7 will be obsoleting
Removing mariadb-server.x86_64 1:5.5.41-2.el7_0 - u due to obsoletes from mysql-community-server.x86_64 0:5.6.25-2.el7 - u
Removing mariadb.x86_64 1:5.5.41-2.el7_0 - u due to obsoletes from mysql-community-client.x86_64 0:5.6.25-2.el7 - u
Removing mariadb-libs.x86_64 1:5.5.41-2.el7_0 - u due to obsoletes from mysql-community-libs.x86_64 0:5.6.25-2.el7 - u
--> Restarting Dependency Resolution with new changes.
--> Running transaction check
---> Package mariadb.x86_64 1:5.5.41-2.el7_0 will be an update
---> Package mariadb-libs.x86_64 1:5.5.41-2.el7_0 will be an update
---> Package mariadb-server.x86_64 1:5.5.41-2.el7_0 will be an update
--> Processing Dependency: mariadb-server for package: akonadi-mysql-1.9.2-4.el7.x86_64
--> Finished Dependency Resolution
Error: Package: akonadi-mysql-1.9.2-4.el7.x86_64 (@anaconda)
           Requires: mariadb-server
           Removing: 1:mariadb-server-5.5.35-3.el7.x86_64 (@anaconda)
               mariadb-server = 1:5.5.35-3.el7
           Obsoleted By: mysql-community-server-5.6.25-2.el7.x86_64 (mysql56-community)
               Not found
           Updated By: 1:mariadb-server-5.5.41-2.el7_0.x86_64 (base)
               mariadb-server = 1:5.5.41-2.el7_0




  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值