解决centos7 yum安装MySQL rpm包出现conflict problem

发布时间:2020-07-24 06:33:51

来源:51CTO

阅读:1868

作者:运维天空

[root@localhost mysqlrmp]# rpm -ivh MySQL-server-5.6.37-1.el7.x86_64.rpm

出现如下报错:

Preparing... ################################# [100%]

file /usr/share/mysql/charsets/README from install of MySQL-server-5.6.37-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64

file /usr/share/mysql/czech/errmsg.sys from install of MySQL-server-5.6.37-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64

file /usr/share/mysql/danish/errmsg.sys from install of MySQL-server-5.6.37-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64

file /usr/share/mysql/dutch/errmsg.sys from install of MySQL-server-5.6.37-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64

file /usr/share/mysql/english/errmsg.sys from install of MySQL-server-5.6.37-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64

file /usr/share/mysql/estonian/errmsg.sys from install of MySQL-server-5.6.37-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64

file /usr/share/mysql/french/errmsg.sys from install of MySQL-server-5.6.37-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64

file /usr/share/mysql/german/errmsg.sys from install of MySQL-server-5.6.37-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64

file /usr/share/mysql/greek/errmsg.sys from install of MySQL-server-5.6.37-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64

file /usr/share/mysql/hungarian/errmsg.sys from install of MySQL-server-5.6.37-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64

file /usr/share/mysql/italian/errmsg.sys from install of MySQL-server-5.6.37-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64

file /usr/share/mysql/japanese/errmsg.sys from install of MySQL-server-5.6.37-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64

file /usr/share/mysql/korean/errmsg.sys from install of MySQL-server-5.6.37-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64

file /usr/share/mysql/norwegian-ny/errmsg.sys from install of MySQL-server-5.6.37-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64

file /usr/share/mysql/norwegian/errmsg.sys from install of MySQL-server-5.6.37-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64

file /usr/share/mysql/polish/errmsg.sys from install of MySQL-server-5.6.37-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64

file /usr/share/mysql/portuguese/errmsg.sys from install of MySQL-server-5.6.37-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64

file /usr/share/mysql/romanian/errmsg.sys from install of MySQL-server-5.6.37-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64

file /usr/share/mysql/russian/errmsg.sys from install of MySQL-server-5.6.37-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64

file /usr/share/mysql/serbian/errmsg.sys from install of MySQL-server-5.6.37-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64

file /usr/share/mysql/slovak/errmsg.sys from install of MySQL-server-5.6.37-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64

file /usr/share/mysql/spanish/errmsg.sys from install of MySQL-server-5.6.37-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64

file /usr/share/mysql/swedish/errmsg.sys from install of MySQL-server-5.6.37-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64

file /usr/share/mysql/ukrainian/errmsg.sys from install of MySQL-server-5.6.37-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64

file /usr/share/mysql/charsets/Index.xml from install of MySQL-server-5.6.37-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64

file /usr/share/mysql/charsets/armscii8.xml from install of MySQL-server-5.6.37-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64

file /usr/share/mysql/charsets/ascii.xml from install of MySQL-server-5.6.37-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64

file /usr/share/mysql/charsets/cp1250.xml from install of MySQL-server-5.6.37-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64

file /usr/share/mysql/charsets/cp1251.xml from install of MySQL-server-5.6.37-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64

file /usr/share/mysql/charsets/cp1256.xml from install of MySQL-server-5.6.37-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64

file /usr/share/mysql/charsets/cp1257.xml from install of MySQL-server-5.6.37-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64

file /usr/share/mysql/charsets/cp850.xml from install of MySQL-server-5.6.37-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64

file /usr/share/mysql/charsets/cp852.xml from install of MySQL-server-5.6.37-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64

file /usr/share/mysql/charsets/cp866.xml from install of MySQL-server-5.6.37-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64

file /usr/share/mysql/charsets/dec8.xml from install of MySQL-server-5.6.37-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64

file /usr/share/mysql/charsets/geostd8.xml from install of MySQL-server-5.6.37-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64

file /usr/share/mysql/charsets/greek.xml from install of MySQL-server-5.6.37-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64

file /usr/share/mysql/charsets/hebrew.xml from install of MySQL-server-5.6.37-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64

file /usr/share/mysql/charsets/hp8.xml from install of MySQL-server-5.6.37-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64

file /usr/share/mysql/charsets/keybcs2.xml from install of MySQL-server-5.6.37-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64

file /usr/share/mysql/charsets/koi8r.xml from install of MySQL-server-5.6.37-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64

file /usr/share/mysql/charsets/koi8u.xml from install of MySQL-server-5.6.37-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64

file /usr/share/mysql/charsets/latin1.xml from install of MySQL-server-5.6.37-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64

file /usr/share/mysql/charsets/latin2.xml from install of MySQL-server-5.6.37-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64

file /usr/share/mysql/charsets/latin5.xml from install of MySQL-server-5.6.37-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64

file /usr/share/mysql/charsets/latin7.xml from install of MySQL-server-5.6.37-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64

file /usr/share/mysql/charsets/macce.xml from install of MySQL-server-5.6.37-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64

file /usr/share/mysql/charsets/macroman.xml from install of MySQL-server-5.6.37-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64

file /usr/share/mysql/charsets/swe7.xml from install of MySQL-server-5.6.37-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.44-2.el7.centos.x86_64

解决办法:yum remove mysql-libs

Loaded plugins: fastestmirror

Resolving Dependencies

--> Running transaction check

---> Package mariadb-libs.x86_64 1:5.5.44-2.el7.centos will be erased

--> Processing Dependency: libmysqlclient.so.18()(64bit) for package: 2:postfix-2.10.1-6.el7.x86_64

--> Processing Dependency: libmysqlclient.so.18(libmysqlclient_18)(64bit) for package: 2:postfix-2.10.1-6.el7.x86_64

--> Running transaction check

---> Package postfix.x86_64 2:2.10.1-6.el7 will be erased

--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================================================================================================================================

Package Arch Version Repository Size

Removing:

mariadb-libs x86_64 1:5.5.44-2.el7.centos @anaconda 4.4 M

Removing for dependencies:

postfix x86_64 2:2.10.1-6.el7 @anaconda 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

Warning: RPMDB altered outside of yum.

Erasing : 2:postfix-2.10.1-6.el7.x86_64 1/2

Erasing : 1:mariadb-libs-5.5.44-2.el7.centos.x86_64 2/2

Verifying : 1:mariadb-libs-5.5.44-2.el7.centos.x86_64 1/2

Verifying : 2:postfix-2.10.1-6.el7.x86_64 2/2

Removed:

mariadb-libs.x86_64 1:5.5.44-2.el7.centos

Dependency Removed:

postfix.x86_64 2:2.10.1-6.el7

Complete!

mysql rpm conflict_解决centos7 yum安装MySQL rpm包出现conflict problem相关推荐

  1. CentOS7 —— yum安装mysql

    先检查系统是否安装有mysql 1 2 [root@localhost ~]#yum list installed mysql* [root@localhost ~]#rpm –qa|grep mys ...

  2. 如何通过yum安装mysql数据库_CentOS 7通过yum安装MySQL数据库例子

    在CentOS 7中使用yum list mysql*,没有可以安装的MySQL版本,CentOS 7中默认使用的数据库是MariaDB,关于MariaDB,它是MySQL的一个分支,MySQL被Or ...

  3. rpm方式在centos7中安装mysql

    1.安装MySQL server首先下载好mysql的rpm安装包 使用rpm命令安装: rpm -ivh MySQL-server-5.1.73-1.glibc23.i386.rpm #rpm -i ...

  4. Centos7 yum安装mysql(完整版)

    1.下载mysql 地址:https://dev.mysql.com/downloads/repo/yum/.选择对应版本下载. 2.上传到centos7系统中 3.安装mysql源 yum -y l ...

  5. centos7 yum安装mysql后启动不起来问题

    [root@localhost ~]# systemctl start mysqld       启动失败 Job for mysqld.service failed because the cont ...

  6. yum安装mysql驱动_centos7下使用yum安装mysql

    标签: CentOS7的yum源中默认好像是没有mysql的.为了解决这个问题,我们要先下载mysql的repo源. 1. 下载mysql的repo源 $ wget http://repo.mysql ...

  7. yum mysql 如何启动_CentOS7用yum安装MySQL与启动

    首先CentOS7 已经不支持mysql,因为收费了你懂得,所以内部集成了mariadb,而安装mysql的话会和mariadb的文件冲突,所以需要先卸载掉mariadb,以下为卸载mariadb,安 ...

  8. centos 6.5 yum mysql 5.6_centos 6.5 yum安装 mysql 5.6

    最近切换到很久不用的centos还略有不适应,默认yum只能安装mysql 5.1,需要升级又不想编译.于是有了此文. 具体文档地址: http://dev.mysql.com/doc/mysql-y ...

  9. linux安装mysql步骤用yum_linux 使用yum安装mysql详细步骤

    环境:Centos 6.5 Linux 使用yum命令安装mysql 1. 先检查系统是否装有mysql [root@localhost ~]#yum list installed mysql* [r ...

最新文章

  1. 径向基函数神经网络_基于RBF神经网络的网络安全态势感知预测研究
  2. iOS-UIViewController视图控制器跳转界面的几种常用方法
  3. 流程控制关键字——分支结构
  4. Albert: A lite bert for self-supervised learning of language representations (Albert)
  5. 我在实际工作中用的最多的 git 命令
  6. arthas使用示例:profiler火焰图(CPU)
  7. 安徽阜阳计算机高中学校排名,安徽阜阳排名靠前的三大高中,有争议?2020年高考成绩说话!...
  8. 使用echarts时,鼠标首次移入屏幕会闪动,屏幕会出现滚动条
  9. java 并发测试main方法_java并发编程test之synchronized测试
  10. c# MEF框架(二 MEF的导出(Export)和导入(Import))
  11. php学生分班,学生分班工具下载
  12. 如何把meshlab中的圆环去掉_MeshLab中配准点云
  13. nginx(五)nginx与php的安装配置
  14. 807. 保持城市天际线
  15. 怎么把VC++的注释语句调成其他颜色,只调注释语句
  16. 2010-4-22 星期四 晴转多云
  17. 5.Docker技术入门与实战 --- 访问 Docker 仓库
  18. abb机器人编程指令写字_ABB机器人编程基本知识汇总
  19. SD/SDHC卡下载UBOOT 的注意事项
  20. Dockerfile配置APM监控实现Java容器的性能监控

热门文章

  1. 理解 React Hooks
  2. 六大赚钱定律,让你赚大钱
  3. tomcat 绑定ipv4端口
  4. 如何使用网络库实现应用级消息收发
  5. Shell学习笔记 - 环境变量配置文件(转)
  6. 搭建Python+Eclipse开发环境
  7. iptables做路由转发服务器经典案例
  8. 矩阵求导公式,及MathJax公式编辑
  9. MVC4项目中验证用户登录一个特性就搞定
  10. C# winform 上传文件到服务器