yum install mysql-server.x86_64 – 事务检查错误

前端之家收集整理的这篇文章主要介绍了yum install mysql-server.x86_64 – 事务检查错误前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我认为yum在安装 MySQL 5.1时遇到问题,因为已经有一个预先存在的MysqL 5.5安装.

我想干净地删除MysqL 5.5(我在使用PHPPython时遇到了5.5问题).

删除了与MysqL 5.5相关的每个文件夹和文件

yum remove MysqL-server
rm -i /usr/bin/mysq*
rm -R /var/lib/MysqL/ /usr/share/MysqL/ /usr/lib64/MysqL/ /usr/include/MysqL/

我输入find / -name MysqL,我得到了

/usr/lib64/perl5/auto/DBD/MysqL
/usr/lib64/perl5/DBD/MysqL

现在,当我尝试yum install MysqL-server.x86_64时,我收到以下错误

Loaded plugins: downloadonly,fastestmirror,refresh-packagekit,security
Loading mirror speeds from cached hostfile
 * base: mirror.team-cymru.org
 * epel: mirror.hiwaay.net
 * extras: centos.digitalcompass.net
 * updates: centos.digitalcompass.net
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package MysqL-server.x86_64 0:5.1.61-1.el6_2.1 will be installed
--> Processing Dependency: MysqL = 5.1.61-1.el6_2.1 for package: MysqL-server-5.1.61-1.el6_2.1.x86_64
--> Running transaction check
---> Package MysqL.x86_64 0:5.1.61-1.el6_2.1 will be installed
--> Processing Dependency: MysqL-libs = 5.1.61-1.el6_2.1 for package: MysqL-5.1.61-1.el6_2.1.x86_64
--> Running transaction check
---> Package MysqL-libs.x86_64 0:5.1.52-1.el6_0.1 will be updated
---> Package MysqL-libs.x86_64 0:5.1.61-1.el6_2.1 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================================================================================================================================================================================================================
 Package                                                             Arch                                                          Version                                                                 Repository                                                      Size
================================================================================================================================================================================================================================================================================
Installing:
 MysqL-server                                                        x86_64                                                        5.1.61-1.el6_2.1                                                        updates                                                        8.1 M
Installing for dependencies:
 MysqL                                                               x86_64                                                        5.1.61-1.el6_2.1                                                        updates                                                        881 k
Updating for dependencies:
 MysqL-libs                                                          x86_64                                                        5.1.61-1.el6_2.1                                                        updates                                                        1.2 M

Transaction Summary
================================================================================================================================================================================================================================================================================
Install       2 Package(s)
Upgrade       1 Package(s)

Total size: 10 M
Total download size: 9.0 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): MysqL-5.1.61-1.el6_2.1.x86_64.rpm                                                                                                                                                                                                                 | 881 kB     00:00     
(2/2): MysqL-server-5.1.61-1.el6_2.1.x86_64.rpm                                                                                                                                                                                                          | 8.1 MB     00:02     
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                                                                                           3.0 MB/s | 9.0 MB     00:02     
Running rpm_check_debug
Running Transaction Test


Transaction Check Error:
  file /usr/bin/MysqL from install of MysqL-5.1.61-1.el6_2.1.x86_64 conflicts with file from package MysqL-client-5.5.20-1.linux2.6.x86_64
  file /usr/bin/msql2MysqL from install of MysqL-5.1.61-1.el6_2.1.x86_64 conflicts with file from package MysqL-client-5.5.20-1.linux2.6.x86_64
  file /usr/bin/MysqL_find_rows from install of MysqL-5.1.61-1.el6_2.1.x86_64 conflicts with file from package MysqL-client-5.5.20-1.linux2.6.x86_64
  file /usr/bin/MysqL_waitpid from install of MysqL-5.1.61-1.el6_2.1.x86_64 conflicts with file from package MysqL-client-5.5.20-1.linux2.6.x86_64
  file /usr/bin/MysqLaccess from install of MysqL-5.1.61-1.el6_2.1.x86_64 conflicts with file from package MysqL-client-5.5.20-1.linux2.6.x86_64
  file /usr/bin/MysqLadmin from install of MysqL-5.1.61-1.el6_2.1.x86_64 conflicts with file from package MysqL-client-5.5.20-1.linux2.6.x86_64
  file /usr/bin/MysqLbinlog from install of MysqL-5.1.61-1.el6_2.1.x86_64 conflicts with file from package MysqL-client-5.5.20-1.linux2.6.x86_64
  file /usr/bin/MysqLcheck from install of MysqL-5.1.61-1.el6_2.1.x86_64 conflicts with file from package MysqL-client-5.5.20-1.linux2.6.x86_64
  file /usr/bin/MysqLdump from install of MysqL-5.1.61-1.el6_2.1.x86_64 conflicts with file from package MysqL-client-5.5.20-1.linux2.6.x86_64
  file /usr/bin/MysqLimport from install of MysqL-5.1.61-1.el6_2.1.x86_64 conflicts with file from package MysqL-client-5.5.20-1.linux2.6.x86_64
  file /usr/bin/MysqLshow from install of MysqL-5.1.61-1.el6_2.1.x86_64 conflicts with file from package MysqL-client-5.5.20-1.linux2.6.x86_64
  file /usr/bin/MysqLslap from install of MysqL-5.1.61-1.el6_2.1.x86_64 conflicts with file from package MysqL-client-5.5.20-1.linux2.6.x86_64
  file /usr/share/man/man1/MysqL.1.gz from install of MysqL-5.1.61-1.el6_2.1.x86_64 conflicts with file from package MysqL-client-5.5.20-1.linux2.6.x86_64
  file /usr/share/man/man1/MysqL_find_rows.1.gz from install of MysqL-5.1.61-1.el6_2.1.x86_64 conflicts with file from package MysqL-client-5.5.20-1.linux2.6.x86_64
  file /usr/share/man/man1/MysqL_waitpid.1.gz from install of MysqL-5.1.61-1.el6_2.1.x86_64 conflicts with file from package MysqL-client-5.5.20-1.linux2.6.x86_64
  file /usr/share/man/man1/MysqLaccess.1.gz from install of MysqL-5.1.61-1.el6_2.1.x86_64 conflicts with file from package MysqL-client-5.5.20-1.linux2.6.x86_64
  file /usr/share/man/man1/MysqLadmin.1.gz from install of MysqL-5.1.61-1.el6_2.1.x86_64 conflicts with file from package MysqL-client-5.5.20-1.linux2.6.x86_64
  file /usr/share/man/man1/MysqLdump.1.gz from install of MysqL-5.1.61-1.el6_2.1.x86_64 conflicts with file from package MysqL-client-5.5.20-1.linux2.6.x86_64
  file /usr/share/man/man1/MysqLshow.1.gz from install of MysqL-5.1.61-1.el6_2.1.x86_64 conflicts with file from package MysqL-client-5.5.20-1.linux2.6.x86_64
  file /usr/share/man/man1/MysqLslap.1.gz from install of MysqL-5.1.61-1.el6_2.1.x86_64 conflicts with file from package MysqL-client-5.5.20-1.linux2.6.x86_64
  file /usr/share/man/man1/msql2MysqL.1.gz from install of MysqL-server-5.1.61-1.el6_2.1.x86_64 conflicts with file from package MysqL-client-5.5.20-1.linux2.6.x86_64
  file /usr/share/man/man1/MysqLbinlog.1.gz from install of MysqL-server-5.1.61-1.el6_2.1.x86_64 conflicts with file from package MysqL-client-5.5.20-1.linux2.6.x86_64
  file /usr/share/man/man1/MysqLcheck.1.gz from install of MysqL-server-5.1.61-1.el6_2.1.x86_64 conflicts with file from package MysqL-client-5.5.20-1.linux2.6.x86_64
  file /usr/share/man/man1/MysqLimport.1.gz from install of MysqL-server-5.1.61-1.el6_2.1.x86_64 conflicts with file from package MysqL-client-5.5.20-1.linux2.6.x86_64
  file /usr/bin/MysqL_config from install of MysqL-5.1.61-1.el6_2.1.x86_64 conflicts with file from package MysqL-devel-5.5.20-1.linux2.6.x86_64
  file /usr/share/man/man1/MysqL_config.1.gz from install of MysqL-5.1.61-1.el6_2.1.x86_64 conflicts with file from package MysqL-devel-5.5.20-1.linux2.6.x86_64

Error Summary
-------------

删除了名为MysqL的每个文件文件夹,是否需要删除MysqL-client-5.5.20-1.linux2.6.x86_64包?如果是这样,我该怎么做?

是的,您将要删除MysqL 5.5客户端,以消除冲突.尝试
rpm -e MysqL-client-5.5.20-1.linux2.6.x86_64
rpm -e MysqL-devel-5.5.20-1.linux2.6.x86_64
原文链接:https://www.f2er.com/bash/385464.html

猜你在找的Bash相关文章