mysql 安装问题 mariadb-libs is obsoleted by mysql-community-libs

这篇具有很好参考价值的文章主要介绍了mysql 安装问题 mariadb-libs is obsoleted by mysql-community-libs。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

 问题描述:

安装mysql 5.7 的似乎和遇到问题 mariadb-libs is obsoleted by mysql-community-libs

此问题是centos中包含又类似的依赖库 需要进行删除 后重新安装

[root@ebs-139266 home]# rpm -ivh mysql-community-*.rpm
warning: mysql-community-client-5.7.42-1.el7.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID 3a79bd29: NOKEY
error: Failed dependencies:
	mariadb-libs is obsoleted by mysql-community-libs-5.7.42-1.el7.x86_64
	mariadb-libs is obsoleted by mysql-community-libs-compat-5.7.42-1.el7.x86_64
	perl(JSON) is needed by mysql-community-test-5.7.42-1.el7.x86_64
[root@ebs-139266 home]# yum remove mariadb-libs
Loaded plugins: fastestmirror
Resolving Dependencies
--> Running transaction check
---> Package mariadb-libs.x86_64 1:5.5.68-1.el7 will be erased
--> Processing Dependency: libmysqlclient.so.18()(64bit) for package: 2:postfix-2.10.1-9.el7.x86_64
--> Processing Dependency: libmysqlclient.so.18(libmysqlclient_18)(64bit) for package: 2:postfix-2.10.1-9.el7.x86_64
--> Running transaction check
---> Package postfix.x86_64 2:2.10.1-9.el7 will be erased
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================================================================================================================================================================================================================
 Package                                                             Arch                                                          Version                                                                 Repository                                                    Size
==============================================================================================================================================================================================================================================================================
Removing:
 mariadb-libs                                                        x86_64                                                        1:5.5.68-1.el7                                                          @base                                                        4.4 M
Removing for dependencies:
 postfix                                                             x86_64                                                        2:2.10.1-9.el7                                                          @base                                                         12 M

Transaction Summary
==============================================================================================================================================================================================================================================================================
Remove  1 Package (+1 Dependent package)

Installed size: 17 M
Is this ok [y/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Erasing    : 2:postfix-2.10.1-9.el7.x86_64                                                                                                                                                                                                                              1/2 
  Erasing    : 1:mariadb-libs-5.5.68-1.el7.x86_64                                                                                                                                                                                                                         2/2 
  Verifying  : 1:mariadb-libs-5.5.68-1.el7.x86_64                                                                                                                                                                                                                         1/2 
  Verifying  : 2:postfix-2.10.1-9.el7.x86_64                                                                                                                                                                                                                              2/2 

Removed:
  mariadb-libs.x86_64 1:5.5.68-1.el7                                                                                                                                                                                                                                          

Dependency Removed:
  postfix.x86_64 2:2.10.1-9.el7                                                                                                                                                                                                                                               

Complete!

解决办法:

卸载原来的 yum remove mariadb-libs  重新安装文章来源地址https://www.toymoban.com/news/detail-766857.html

到了这里,关于mysql 安装问题 mariadb-libs is obsoleted by mysql-community-libs的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包