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

bash 复制代码
[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 重新安装

相关推荐
新知图书39 分钟前
MySQL用户授权、收回权限与查看权限
数据库·mysql·安全
文城5211 小时前
Mysql存储过程(学习自用)
数据库·学习·mysql
沉默的煎蛋1 小时前
MyBatis 注解开发详解
java·数据库·mysql·算法·mybatis
C语言扫地僧1 小时前
MySQL 事务及MVCC机制详解
数据库·mysql
小镇cxy1 小时前
MySQL事物,MVCC机制
数据库·mysql
雾里看山2 小时前
【MySQL】 库的操作
android·数据库·笔记·mysql
꧁瀟洒辵1恛꧂3 小时前
从新手到高手的蜕变:MySQL 视图进阶全攻略
数据库·mysql
doubt。15 小时前
【BUUCTF】[RCTF2015]EasySQL1
网络·数据库·笔记·mysql·安全·web安全
小辛学西嘎嘎15 小时前
MVCC在MySQL中实现无锁的原理
数据库·mysql
咩咩大主教19 小时前
Go语言通过Casbin配合MySQL和Gorm实现RBAC访问控制模型
mysql·golang·鉴权·go语言·rbac·abac·casbin