安装mysql时出现yum事务检查错误
我正在尝试在Centos 5服务器上安装mysql 5.6,但无论我遵循哪种说明,最终都会出现一个yum事务错误 我尝试过将Mysql 5.1升级到5.6,也尝试过简单地将Mysql完全删除并重新安装,但都不起作用 例如,如果我运行yum-remove-mysql-mysql-* 它确认没有安装mysql软件包 我从MySQL网站下载了Linux 5的rpm 然后我执行了一个yum-localinstall-mysql-community-release-el5-5.noarch.rpm,但这表示不会更新已安装的软件包 我尝试删除mysql-community-release-el5-5和我意外安装的el6,但使用yum-remove,它们都表示参数PACKAGENAMEHERE不匹配 所以我尝试rpm-uvhmysql-community-release-el5-5.noarch.rpm,它说它已经安装好了 所以我运行了rpm-e mysql社区版来删除它,然后再次执行上一步,但它没有说已经安装了,所以现在可能已经再次安装了它 然后我运行yum安装mysql社区服务器,在这里我得到了事务检查错误:安装mysql时出现yum事务检查错误,mysql,linux,yum,centos5,Mysql,Linux,Yum,Centos5,我正在尝试在Centos 5服务器上安装mysql 5.6,但无论我遵循哪种说明,最终都会出现一个yum事务错误 我尝试过将Mysql 5.1升级到5.6,也尝试过简单地将Mysql完全删除并重新安装,但都不起作用 例如,如果我运行yum-remove-mysql-mysql-* 它确认没有安装mysql软件包 我从MySQL网站下载了Linux 5的rpm 然后我执行了一个yum-localinstall-mysql-community-release-el5-5.noarch.rpm,但这表
yum install mysql-community-server
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* addons: centos.serverspace.co.uk
* base: mirror.sov.uk.goscomb.net
* contrib: centos.serverspace.co.uk
* epel: mirrors.coreix.net
* extras: mirrors.coreix.net
* rpmforge: mirror.nl.leaseweb.net
* rpmforge-extras: mirror.nl.leaseweb.net
* updates: centos.serverspace.co.uk
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package mysql-community-server.i386 0:5.6.25-2.el5 set to be updated
--> Processing Dependency: mysql-community-common = 5.6.25-2.el5 for package: mysql-community-server
--> Processing Dependency: mysql-community-client = 5.6.25-2.el5 for package: mysql-community-server
--> Running transaction check
---> Package mysql-community-client.i386 0:5.6.25-2.el5 set to be updated
--> Processing Dependency: mysql-community-libs = 5.6.25-2.el5 for package: mysql-community-client
---> Package mysql-community-common.i386 0:5.6.25-2.el5 set to be updated
--> Processing Dependency: mysql = 5.6.25-2.el5 for package: mysql-community-common
--> Running transaction check
---> Package mysql.i386 0:5.6.25-2.el5 set to be updated
--> Processing Dependency: mysql-community-libs-compat = 5.6.25-2.el5 for package: mysql
---> Package mysql-community-libs.i386 0:5.6.25-2.el5 set to be updated
--> Running transaction check
---> Package mysql-community-libs-compat.i386 0:5.6.25-2.el5 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================================
Package Arch Version Repository Size
================================================================================================
Installing:
mysql-community-server i386 5.6.25-2.el5 mysql56-community 83 M
Installing for dependencies:
mysql i386 5.6.25-2.el5 mysql56-community 38 k
mysql-community-client i386 5.6.25-2.el5 mysql56-community 22 M
mysql-community-common i386 5.6.25-2.el5 mysql56-community 692 k
mysql-community-libs i386 5.6.25-2.el5 mysql56-community 2.3 M
mysql-community-libs-compat i386 5.6.25-2.el5 mysql56-community 2.0 M
Transaction Summary
================================================================================================
Install 6 Package(s)
Upgrade 0 Package(s)
Total size: 110 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Check Error:
file /usr/lib/mysql/libmysqlclient.so.15.0.0 from install of mysql-community-libs-compat-5.6.25-2.el5.i386 conflicts with file from package mysqlclient15-5.0.91-1.jason.1.i386
file /usr/lib/mysql/libmysqlclient_r.so.15.0.0 from install of mysql-community-libs-compat-5.6.25-2.el5.i386 conflicts with file from package mysqlclient15-5.0.91-1.jason.1.i386
Error Summary
在执行此操作之前,我甚至尝试过完全删除/usr/lib/mysql目录,但这种情况仍然存在
谁能帮我解决这个问题
谢谢。现在就解决了这个问题,通常是我一问这个问题就解决了 运行rpm-qaMySQL\*向我展示了mysqlclient.jason这个东西,我可以用rpm-e删除它,然后让我安装它