您的位置:首页 > 运维架构 > Linux

Linux上安装MySQL时出现不兼容的解决办法

2015-11-12 15:43 429 查看

Linux上安装MySQL时出现不兼容的解决办法

在linux 上安装mysql rpm的时候,安装不成功

MySQL-client-5.5.36-1.linux2.6.x86_64.rpm MySQL-server-5.5.36-1.linux2.6.x86_64.rpm

[root@bogon develop]# rpm -ivh MySQL-server-5.5.36-1.linux2.6.x86_64.rpm

准备中… ################################# [100%]

file /usr/share/mysql/charsets/README from install of MySQL-server-5.5.36-1.linux2.6.x86_64 conflicts with file from package mariadb-libs-1:5.5.41-2.el7_0.x86_64

file /usr/share/mysql/charsets/Index.xml from install of MySQL-server-5.5.36-1.linux2.6.x86_64 conflicts with file from package mariadb-libs-1:5.5.41-2.el7_0.x86_64

file /usr/share/mysql/charsets/armscii8.xml from install of MySQL-server-5.5.36-1.linux2.6.x86_64 conflicts with file from package mariadb-libs-1:5.5.41-2.el7_0.x86_64

file /usr/share/mysql/charsets/ascii.xml from install of MySQL-server-5.5.36-1.linux2.6.x86_64 conflicts with file from package mariadb-libs-1:5.5.41-2.el7_0.x86_64

file /usr/share/mysql/charsets/cp1250.xml from install of MySQL-server-5.5.36-1.linux2.6.x86_64 conflicts with file from package mariadb-libs-1:5.5.41-2.el7_0.x86_64

file /usr/share/mysql/charsets/cp1251.xml from install of MySQL-server-5.5.36-1.linux2.6.x86_64 conflicts with file from package mariadb-libs-1:5.5.41-2.el7_0.x86_64

file /usr/share/mysql/charsets/cp1256.xml from install of MySQL-server-5.5.36-1.linux2.6.x86_64 conflicts with file from package mariadb-libs-1:5.5.41-2.el7_0.x86_64

file /usr/share/mysql/charsets/cp1257.xml from install of MySQL-server-5.5.36-1.linux2.6.x86_64 conflicts with file from package mariadb-libs-1:5.5.41-2.el7_0.x86_64

解决办法:

[root@bogon develop]# yum remove mysql-libs

已加载插件:fastestmirror, langpacks

正在解决依赖关系

–> 正在检查事务

—> 软件包 mariadb-libs.x86_64.1.5.5.41-2.el7_0 将被 删除

–> 正在处理依赖关系 libmysqlclient.so.18()(64bit),它被软件包 perl-DBD-MySQL-4.023-5.el7.x86_64 需要

–> 正在处理依赖关系 libmysqlclient.so.18()(64bit),它被软件包 1:qt-mysql-4.8.5-8.el7.x86_64 需要

–> 正在处理依赖关系 libmysqlclient.so.18()(64bit),它被软件包 2:postfix-2.10.1-6.el7.x86_64 需要

–> 正在处理依赖关系 libmysqlclient.so.18()(64bit),它被软件包 1:mariadb-devel-5.5.41-2.el7_0.x86_64 需要

–> 正在处理依赖关系 libmysqlclient.so.18()(64bit),它被软件包 qt3-MySQL-3.3.8b-51.el7.x86_64 需要

–> 正在处理依赖关系 libmysqlclient.so.18(libmysqlclient_18)(64bit),它被软件包 perl-DBD-MySQL-4.023-5.el7.x86_64 需要

–> 正在处理依赖关系 libmysqlclient.so.18(libmysqlclient_18)(64bit),它被软件包 1:qt-mysql-4.8.5-8.el7.x86_64 需要

–> 正在处理依赖关系 libmysqlclient.so.18(libmysqlclient_18)(64bit),它被软件包 2:postfix-2.10.1-6.el7.x86_64 需要

–> 正在处理依赖关系 libmysqlclient.so.18(libmysqlclient_18)(64bit),它被软件包 qt3-MySQL-3.3.8b-51.el7.x86_64 需要

–> 正在处理依赖关系 mariadb-libs(x86-64) = 1:5.5.41-2.el7_0,它被软件包 1:mariadb-devel-5.5.41-2.el7_0.x86_64 需要

–> 正在处理依赖关系 mariadb-libs(x86-64) = 1:5.5.41-2.el7_0,它被软件包 1:mariadb-server-5.5.41-2.el7_0.x86_64 需要

–> 正在处理依赖关系 mariadb-libs(x86-64) = 1:5.5.41-2.el7_0,它被软件包 1:mariadb-5.5.41-2.el7_0.x86_64 需要

–> 正在检查事务

—> 软件包 mariadb.x86_64.1.5.5.41-2.el7_0 将被 删除

—> 软件包 mariadb-devel.x86_64.1.5.5.41-2.el7_0 将被 删除

—> 软件包 mariadb-server.x86_64.1.5.5.41-2.el7_0 将被 删除

–> 正在处理依赖关系 mariadb-server,它被软件包 akonadi-mysql-1.9.2-4.el7.x86_64 需要

—> 软件包 perl-DBD-MySQL.x86_64.0.4.023-5.el7 将被 删除

—> 软件包 postfix.x86_64.2.2.10.1-6.el7 将被 删除

—> 软件包 qt-mysql.x86_64.1.4.8.5-8.el7 将被 删除

—> 软件包 qt3-MySQL.x86_64.0.3.3.8b-51.el7 将被 删除

–> 正在检查事务

—> 软件包 akonadi-mysql.x86_64.0.1.9.2-4.el7 将被 删除

–> 正在处理依赖关系 /usr/sbin/sendmail,它被软件包 redhat-lsb-core-4.1-27.el7.centos.1.x86_64 需要

–> 正在使用新的信息重新解决依赖关系

–> 正在检查事务

—> 软件包 redhat-lsb-core.x86_64.0.4.1-27.el7.centos.1 将被 删除

–> 正在处理依赖关系 redhat-lsb-core(x86-64) = 4.1-27.el7.centos.1,它被软件包 redhat-lsb-languages-4.1-27.el7.centos.1.x86_64 需要

–> 正在处理依赖关系 redhat-lsb-core(x86-64) = 4.1-27.el7.centos.1,它被软件包 redhat-lsb-cxx-4.1-27.el7.centos.1.x86_64 需要

–> 正在处理依赖关系 redhat-lsb-core(x86-64) = 4.1-27.el7.centos.1,它被软件包 redhat-lsb-4.1-27.el7.centos.1.x86_64 需要

–> 正在处理依赖关系 redhat-lsb-core(x86-64) = 4.1-27.el7.centos.1,它被软件包 redhat-lsb-printing-4.1-27.el7.centos.1.x86_64 需要

–> 正在处理依赖关系 redhat-lsb-core(x86-64) = 4.1-27.el7.centos.1,它被软件包 redhat-lsb-desktop-4.1-27.el7.centos.1.x86_64 需要

–> 正在检查事务

—> 软件包 redhat-lsb.x86_64.0.4.1-27.el7.centos.1 将被 删除

—> 软件包 redhat-lsb-cxx.x86_64.0.4.1-27.el7.centos.1 将被 删除

—> 软件包 redhat-lsb-desktop.x86_64.0.4.1-27.el7.centos.1 将被 删除

—> 软件包 redhat-lsb-languages.x86_64.0.4.1-27.el7.centos.1 将被 删除

—> 软件包 redhat-lsb-printing.x86_64.0.4.1-27.el7.centos.1 将被 删除

–> 解决依赖关系完成

依赖关系解决

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

Package 架构 版本 源 大小

正在删除:

mariadb-libs x86_64 1:5.5.41-2.el7_0 @anaconda 4.4 M

为依赖而移除:

akonadi-mysql x86_64 1.9.2-4.el7 @anaconda 9.6 k

mariadb x86_64 1:5.5.41-2.el7_0 @anaconda 49 M

mariadb-devel x86_64 1:5.5.41-2.el7_0 @anaconda 3.3 M

mariadb-server x86_64 1:5.5.41-2.el7_0 @anaconda 56 M

perl-DBD-MySQL x86_64 4.023-5.el7 @anaconda 323 k

postfix x86_64 2:2.10.1-6.el7 @anaconda 12 M

qt-mysql x86_64 1:4.8.5-8.el7 @anaconda 74 k

qt3-MySQL x86_64 3.3.8b-51.el7 @anaconda 56 k

redhat-lsb x86_64 4.1-27.el7.centos.1 @anaconda 0.0

redhat-lsb-core x86_64 4.1-27.el7.centos.1 @anaconda 45 k

redhat-lsb-cxx x86_64 4.1-27.el7.centos.1 @anaconda 0.0

redhat-lsb-desktop x86_64 4.1-27.el7.centos.1 @anaconda 0.0

redhat-lsb-languages x86_64 4.1-27.el7.centos.1 @anaconda 814

redhat-lsb-printing x86_64 4.1-27.el7.centos.1 @anaconda 0.0

事务概要

移除 1 软件包 (+14 依赖软件包)

安装大小:124 M

是否继续?[y/N]:n

Exiting on user command

您的事务已保存,请执行:

yum load-transaction /tmp/yum_save_tx.2015-11-11.10-21.50l9JU.yumtx 重新执行该事务

[root@bogon develop]# rpm -ivh MySQL-server-5.5.36-1.linux2.6.x86_64.rpm

准备中… ################################# [100%]

file /usr/share/mysql/charsets/README from install of MySQL-server-5.5.36-1.linux2.6.x86_64 conflicts with file from package mariadb-libs-1:5.5.41-2.el7_0.x86_64

file /usr/share/mysql/charsets/Index.xml from install of MySQL-server-5.5.36-1.linux2.6.x86_64 conflicts with file from package mariadb-libs-1:5.5.41-2.el7_0.x86_64
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: