AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / server / 问题 / 649204
Accepted
Mahmoud.Eskandari
Mahmoud.Eskandari
Asked: 2014-12-05 08:03:10 +0800 CST2014-12-05 08:03:10 +0800 CST 2014-12-05 08:03:10 +0800 CST

centos6.4上安装mysql 5.6冲突报错

  • 772

当我尝试安装 mysql 5.6 并从 centos 中删除 mysql 5.1 时,
现在没有在我的 VPS 中安装任何 mysql。

yum install mysql-server
Loaded plugins: fastestmirror, refresh-packagekit
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: mirror.fdcservers.net
 * extras: mirror.ubiquityservers.com
 * updates: mirrors.gigenet.com
Resolving Dependencies
--> Running transaction check
---> Package mysql-server.x86_64 0:5.1.73-3.el6_5 will be installed
--> Processing Dependency: mysql = 5.1.73-3.el6_5 for package: mysql-server-5.1.73-3.el6_5.x86_64
--> Running transaction check
---> Package mysql.x86_64 0:5.1.73-3.el6_5 will be installed
--> Processing Conflict: mysql-server-5.1.73-3.el6_5.x86_64 conflicts MySQL-server
--> Finished Dependency Resolution
Error: mysql-server conflicts with MySQL-server-5.6.16-1.el6.x86_64
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
[root@jg58 man1]# yum install mysql
Loaded plugins: fastestmirror, refresh-packagekit
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: mirror.fdcservers.net
 * extras: mirror.ubiquityservers.com
 * updates: mirrors.gigenet.com
Resolving Dependencies
--> Running transaction check
---> Package mysql.x86_64 0:5.1.73-3.el6_5 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package         Arch             Version                  Repository      Size
================================================================================
Installing:
 mysql           x86_64           5.1.73-3.el6_5           base           894 k

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

Total size: 894 k
Installed size: 2.4 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test


Transaction Check Error:
  file /usr/bin/mysql_config from install of mysql-5.1.73-3.el6_5.x86_64 conflicts with file from package MySQL-devel-5.6.16-1.el6.x86_64
  file /usr/share/man/man1/mysql_config.1.gz from install of mysql-5.1.73-3.el6_5.x86_64 conflicts with file from package MySQL-devel-5.6.16-1.el6.x86_64
  file /usr/bin/my_print_defaults from install of mysql-5.1.73-3.el6_5.x86_64 conflicts with file from package MySQL-server-5.6.16-1.el6.x86_64
  file /usr/share/man/man1/my_print_defaults.1.gz from install of mysql-5.1.73-3.el6_5.x86_64 conflicts with file from package MySQL-server-5.6.16-1.el6.x86_64

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

和 mysql ststus 是:

grep -i mysql
MySQL-embedded-5.6.16-1.el6.x86_64
mysql-community-release-el6-5.noarch
MySQL-server-5.6.16-1.el6.x86_64
MySQL-devel-5.6.16-1.el6.x86_64
MySQL-shared-compat-5.6.16-1.el6.x86_64
perl-DBD-MySQL-4.013-3.el6.x86_64
MySQL-shared-5.6.16-1.el6.x86_64
mysql
  • 1 1 个回答
  • 3344 Views

1 个回答

  • Voted
  1. Best Answer
    BE77Y
    2014-12-05T08:07:58+08:002014-12-05T08:07:58+08:00

    您似乎已经根据 yum 的输出安装了 MySQL-devel-5.6 和 MySQL-server-5.6 - 您可以继续使用这些软件包,或者返回到 repo 维护的软件包(正如您似乎正在尝试要做),在通过 yum 重新尝试安装之前手动删除这些软件包。

    如果您希望手动删除上述当前安装的版本,您可以尝试rpm -e MySQL-devel-5.6and rpm -e MySQL-server-5.6,但如果我是您,我会问自己,如果尝试从存储库安装,为什么我已经安装了这些软件版本。

    • 1

相关问题

  • 开源与专有关系 db mgt 系统的优缺点是什么?

  • 在 solaris 10 上为 mysql 设置 max_allowed_pa​​cket

  • 如何移动 MySQL 的数据目录?

  • 通过 VPN 连接什么是远程服务器 IP?

  • mysql崩溃

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve