一个存储库中有两个具有相同前缀名称的 rpm

一个存储库中有两个具有相同前缀名称的 rpm

我正在使用 CentOS,我有一个本地存储库,我想在其上添加 mysql 服务器和 mysql 集群 rpm,因此我添加了所有必需的 rpm 和所有依赖项。

在客户端添加了我的 repo

列出 repo 中所有带有 MYSQL 的 rpm

[root@s2 ~]# yum list available |grep MySQL
MySQL-Cluster-client-gpl.x86_64        7.3.5-1.el6                     localrepo
MySQL-Cluster-server-gpl.x86_64        7.3.5-1.el6                     localrepo
MySQL-Cluster-shared-compat-gpl.x86_64 7.3.5-1.el6                     localrepo
MySQL-server.x86_64                    5.6.17-1.el6                    localrepo

尝试安装 mysql 服务器

[root@s2 ~]# yum install mysql-server
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
localrepo                                                | 2.9 kB     00:00
Setting up Install Process
Package MySQL-server is obsoleted by MySQL-Cluster-server-gpl, trying to install MySQL-Cluster-server-gpl-7.3.5-1.el6.x86_64 instead
Resolving Dependencies
--> Running transaction check
---> Package MySQL-Cluster-server-gpl.x86_64 0:7.3.5-1.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                      Arch       Version            Repository     Size
================================================================================
Installing:
 MySQL-Cluster-server-gpl     x86_64     7.3.5-1.el6        localrepo     142 M

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

Total download size: 142 M
Installed size: 612 M
Is this ok [y/N]:

yum installmysql cluster server安装mysql server

如何解决这个问题呢?

相关内容