我已经获得了已经安装了MySQL的RHEL7系统 正在运行,我需要在它上面安装mysql-devel。我跑的时候:
yum install mysql-devel
我明白了:
Transaction check error:
file /usr/bin/mysql_config-64 from install of
mysql-community-devel-5.7.13-1.el7.x86_64 conflicts with file from
package mysql-community-client-5.7.12-1.el7.x86_64
解决此问题的最佳方法是什么?我不想卸载 现有的运行MySQL服务器。我不是系统管理员,我是开发人员 并且该公司没有管理员。
yum --showduplicates list mysql-*
的输出:
$ sudo yum --showduplicates list mysql-*
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
Installed Packages
mysql-community-client.x86_64 5.7.12-1.el7 @mysql57-community
mysql-community-common.x86_64 5.7.12-1.el7 @mysql57-community
mysql-community-libs.x86_64 5.7.12-1.el7 @mysql57-community
mysql-community-libs-compat.x86_64 5.7.12-1.el7 @mysql57-community
mysql-community-server.x86_64 5.7.12-1.el7 @mysql57-community
Available Packages
MySQL-python.x86_64 1.2.3-11.el7 rhel-7-server-rpms
MySQL-zrm.noarch 3.0-6.el7 epel
mysql-community-client.i686 5.7.9-1.el7 mysql57-community
mysql-community-client.x86_64 5.7.9-1.el7 mysql57-community
mysql-community-client.i686 5.7.10-1.el7 mysql57-community
mysql-community-client.x86_64 5.7.10-1.el7 mysql57-community
mysql-community-client.i686 5.7.11-1.el7 mysql57-community
mysql-community-client.x86_64 5.7.11-1.el7 mysql57-community
mysql-community-client.i686 5.7.12-1.el7 mysql57-community
mysql-community-client.x86_64 5.7.12-1.el7 mysql57-community
mysql-community-client.i686 5.7.13-1.el7 mysql57-community
mysql-community-client.x86_64 5.7.13-1.el7 mysql57-community
mysql-community-common.i686 5.7.9-1.el7 mysql57-community
mysql-community-common.x86_64 5.7.9-1.el7 mysql57-community
mysql-community-common.i686 5.7.10-1.el7 mysql57-community
mysql-community-common.x86_64 5.7.10-1.el7 mysql57-community
mysql-community-common.i686 5.7.11-1.el7 mysql57-community
mysql-community-common.x86_64 5.7.11-1.el7 mysql57-community
mysql-community-common.i686 5.7.12-1.el7 mysql57-community
mysql-community-common.x86_64 5.7.12-1.el7 mysql57-community
mysql-community-common.i686 5.7.13-1.el7 mysql57-community
mysql-community-common.x86_64 5.7.13-1.el7 mysql57-community
mysql-community-devel.i686 5.7.9-1.el7 mysql57-community
mysql-community-devel.x86_64 5.7.9-1.el7 mysql57-community
mysql-community-devel.i686 5.7.10-1.el7 mysql57-community
mysql-community-devel.x86_64 5.7.10-1.el7 mysql57-community
mysql-community-devel.i686 5.7.11-1.el7 mysql57-community
mysql-community-devel.x86_64 5.7.11-1.el7 mysql57-community
mysql-community-devel.i686 5.7.12-1.el7 mysql57-community
mysql-community-devel.x86_64 5.7.12-1.el7 mysql57-community
mysql-community-devel.i686 5.7.13-1.el7 mysql57-community
mysql-community-devel.x86_64 5.7.13-1.el7 mysql57-community
mysql-community-embedded.i686 5.7.9-1.el7 mysql57-community
mysql-community-embedded.x86_64 5.7.9-1.el7 mysql57-community
mysql-community-embedded.i686 5.7.10-1.el7 mysql57-community
mysql-community-embedded.x86_64 5.7.10-1.el7 mysql57-community
mysql-community-embedded.i686 5.7.11-1.el7 mysql57-community
mysql-community-embedded.x86_64 5.7.11-1.el7 mysql57-community
mysql-community-embedded.i686 5.7.12-1.el7 mysql57-community
mysql-community-embedded.x86_64 5.7.12-1.el7 mysql57-community
mysql-community-embedded.i686 5.7.13-1.el7 mysql57-community
mysql-community-embedded.x86_64 5.7.13-1.el7 mysql57-community
mysql-community-embedded-compat.i686 5.7.9-1.el7 mysql57-community
mysql-community-embedded-compat.x86_64 5.7.9-1.el7 mysql57-community
mysql-community-embedded-compat.i686 5.7.10-1.el7 mysql57-community
mysql-community-embedded-compat.x86_64 5.7.10-1.el7 mysql57-community
mysql-community-embedded-compat.i686 5.7.11-1.el7 mysql57-community
mysql-community-embedded-compat.x86_64 5.7.11-1.el7 mysql57-community
mysql-community-embedded-compat.i686 5.7.12-1.el7 mysql57-community
mysql-community-embedded-compat.x86_64 5.7.12-1.el7 mysql57-community
mysql-community-embedded-compat.i686 5.7.13-1.el7 mysql57-community
mysql-community-embedded-compat.x86_64 5.7.13-1.el7 mysql57-community
mysql-community-embedded-devel.i686 5.7.9-1.el7 mysql57-community
mysql-community-embedded-devel.x86_64 5.7.9-1.el7 mysql57-community
mysql-community-embedded-devel.i686 5.7.10-1.el7 mysql57-community
mysql-community-embedded-devel.x86_64 5.7.10-1.el7 mysql57-community
mysql-community-embedded-devel.i686 5.7.11-1.el7 mysql57-community
mysql-community-embedded-devel.x86_64 5.7.11-1.el7 mysql57-community
mysql-community-embedded-devel.i686 5.7.12-1.el7 mysql57-community
mysql-community-embedded-devel.x86_64 5.7.12-1.el7 mysql57-community
mysql-community-embedded-devel.i686 5.7.13-1.el7 mysql57-community
mysql-community-embedded-devel.x86_64 5.7.13-1.el7 mysql57-community
mysql-community-libs.i686 5.7.9-1.el7 mysql57-community
mysql-community-libs.x86_64 5.7.9-1.el7 mysql57-community
mysql-community-libs.i686 5.7.10-1.el7 mysql57-community
mysql-community-libs.x86_64 5.7.10-1.el7 mysql57-community
mysql-community-libs.i686 5.7.11-1.el7 mysql57-community
mysql-community-libs.x86_64 5.7.11-1.el7 mysql57-community
mysql-community-libs.i686 5.7.12-1.el7 mysql57-community
mysql-community-libs.x86_64 5.7.12-1.el7 mysql57-community
mysql-community-libs.i686 5.7.13-1.el7 mysql57-community
mysql-community-libs.x86_64 5.7.13-1.el7 mysql57-community
mysql-community-libs-compat.i686 5.7.9-1.el7 mysql57-community
mysql-community-libs-compat.x86_64 5.7.9-1.el7 mysql57-community
mysql-community-libs-compat.i686 5.7.10-1.el7 mysql57-community
mysql-community-libs-compat.x86_64 5.7.10-1.el7 mysql57-community
mysql-community-libs-compat.i686 5.7.11-1.el7 mysql57-community
mysql-community-libs-compat.x86_64 5.7.11-1.el7 mysql57-community
mysql-community-libs-compat.i686 5.7.12-1.el7 mysql57-community
mysql-community-libs-compat.x86_64 5.7.12-1.el7 mysql57-community
mysql-community-libs-compat.i686 5.7.13-1.el7 mysql57-community
mysql-community-libs-compat.x86_64 5.7.13-1.el7 mysql57-community
mysql-community-release.noarch el7-5 mysql-connectors-community
mysql-community-release.noarch el7-5 mysql-tools-community
mysql-community-release.noarch el7-7 mysql57-community
mysql-community-server.x86_64 5.7.9-1.el7 mysql57-community
mysql-community-server.x86_64 5.7.10-1.el7 mysql57-community
mysql-community-server.x86_64 5.7.11-1.el7 mysql57-community
mysql-community-server.x86_64 5.7.12-1.el7 mysql57-community
mysql-community-server.x86_64 5.7.13-1.el7 mysql57-community
mysql-community-test.x86_64 5.7.9-1.el7 mysql57-community
mysql-community-test.x86_64 5.7.10-1.el7 mysql57-community
mysql-community-test.x86_64 5.7.11-1.el7 mysql57-community
mysql-community-test.x86_64 5.7.12-1.el7 mysql57-community
mysql-community-test.x86_64 5.7.13-1.el7 mysql57-community
mysql-connector-java.noarch 1:5.1.25-3.el7 rhel-7-server-rpms
mysql-connector-odbc.x86_64 5.2.5-6.el7 rhel-7-server-rpms
mysql-connector-odbc.x86_64 5.2.6-1.el7 mysql-connectors-community
mysql-connector-odbc.x86_64 5.2.7-1.el7 mysql-connectors-community
mysql-connector-odbc.x86_64 5.3.2-1.el7 mysql-connectors-community
mysql-connector-odbc.x86_64 5.3.4-1.el7 mysql-connectors-community
mysql-connector-odbc.x86_64 5.3.6-1.el7 mysql-connectors-community
mysql-connector-odbc-debuginfo.x86_64 5.3.6-1.el7 mysql-connectors-community
mysql-connector-odbc-setup.x86_64 5.3.6-1.el7 mysql-connectors-community
mysql-connector-python.noarch 1.1.4-1.el7 mysql-connectors-community
mysql-connector-python.noarch 1.1.5-1.el7 mysql-connectors-community
mysql-connector-python.noarch 1.1.6-1.el7 epel
mysql-connector-python.noarch 1.1.6-1.el7 mysql-connectors-community
mysql-connector-python.noarch 1.1.7-1.el7 mysql-connectors-community
mysql-connector-python.noarch 1.2.2-1.el7 mysql-connectors-community
mysql-connector-python.noarch 1.2.3-1.el7 mysql-connectors-community
mysql-connector-python.noarch 2.0.1-1.el7 mysql-connectors-community
mysql-connector-python.noarch 2.0.2-1.el7 mysql-connectors-community
mysql-connector-python.noarch 2.0.3-1.el7 mysql-connectors-community
mysql-connector-python.noarch 2.0.4-1.el7 mysql-connectors-community
mysql-connector-python.x86_64 2.1.3-1.el7 mysql-connectors-community
mysql-connector-python-cext.x86_64 2.1.3-1.el7 mysql-connectors-community
mysql-connector-python-debuginfo.x86_64 2.1.3-1.el7 mysql-connectors-community
mysql-mmm.noarch 2.2.1-14.el7 epel
mysql-mmm-agent.noarch 2.2.1-14.el7 epel
mysql-mmm-monitor.noarch 2.2.1-14.el7 epel
mysql-mmm-tools.noarch 2.2.1-14.el7 epel
mysql-proxy.x86_64 0.8.5-2.el7 epel
mysql-proxy-devel.x86_64 0.8.5-2.el7 epel
mysql-router.x86_64 2.0.2-1.el7 mysql-tools-community
mysql-router.x86_64 2.0.3-1.el7 mysql-tools-community
mysql-router-debuginfo.x86_64 2.0.2-1.el7 mysql-tools-community
mysql-router-debuginfo.x86_64 2.0.3-1.el7 mysql-tools-community
mysql-utilities.noarch 1.3.6-1.el7 epel
mysql-utilities.noarch 1.3.6-1.el7 mysql-tools-community
mysql-utilities.noarch 1.4.3-1.el7 mysql-tools-community
mysql-utilities.noarch 1.4.4-1.el7 mysql-tools-community
mysql-utilities.noarch 1.5.2-1.el7 mysql-tools-community
mysql-utilities.noarch 1.5.3-1.el7 mysql-tools-community
mysql-utilities.noarch 1.5.4-1.el7 mysql-tools-community
mysql-utilities.noarch 1.5.5-1.el7 mysql-tools-community
mysql-utilities.noarch 1.5.6-1.el7 mysql-tools-community
mysql-utilities-extra.noarch 1.4.3-1.el7 mysql-tools-community
mysql-utilities-extra.noarch 1.4.4-1.el7 mysql-tools-community
mysql-utilities-extra.noarch 1.5.2-1.el7 mysql-tools-community
mysql-utilities-extra.noarch 1.5.3-1.el7 mysql-tools-community
mysql-utilities-extra.noarch 1.5.4-1.el7 mysql-tools-community
mysql-utilities-extra.noarch 1.5.5-1.el7 mysql-tools-community
mysql-utilities-extra.noarch 1.5.6-1.el7 mysql-tools-community
mysql-workbench-community.x86_64 6.2.3-1.el7 mysql-tools-community
mysql-workbench-community.x86_64 6.2.4-1.el7 mysql-tools-community
mysql-workbench-community.x86_64 6.2.5-1.el7 mysql-tools-community
mysql-workbench-community.x86_64 6.3.3-1.el7 mysql-tools-community
mysql-workbench-community.x86_64 6.3.4-1.el7 mysql-tools-community
mysql-workbench-community.x86_64 6.3.5-1.el7 mysql-tools-community
mysql-workbench-community.x86_64 6.3.6-1.el7 mysql-tools-community
mysql-workbench-community.x86_64 6.3.6-2.el7 mysql-tools-community
mysql-workbench-community-debuginfo.x86_64 6.3.3-1.el7 mysql-tools-community
mysql-workbench-community-debuginfo.x86_64 6.3.4-1.el7 mysql-tools-community
mysql-workbench-community-debuginfo.x86_64 6.3.5-1.el7 mysql-tools-community
mysql-workbench-community-debuginfo.x86_64 6.3.6-1.el7 mysql-tools-community
mysql-workbench-community-debuginfo.x86_64 6.3.6-2.el7 mysql-tools-community
答案 0 :(得分:2)
看起来你安装了一步过时的mysql。
尝试yum install mysql-community-devel-5.7.12-1.el7