在安装了 percona 服务器这么多次没有问题之后,我似乎找到了一个独特的服务器。
# yum list installed | grep -i perc
percona-release.noarch 0.1-10 @percona-release-noarch
如您所见,我只安装了 repo。当我去安装 PXC5.7 时,我得到了这个:
# yum install Percona-XtraDB-Cluster-server-57
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.atlanticmetro.net
* epel: fedora-epel.mirrors.tds.net
* extras: mirror.atlanticmetro.net
* updates: mirror.atlanticmetro.net
percona-release-sources | 2.9 kB 00:00:00
percona-release-sources/7/primary_db | 82 kB 00:00:00
Resolving Dependencies
--> Running transaction check
---> Package Percona-XtraDB-Cluster-server-57.x86_64 0:5.7.23-31.31.2.el7 will be installed
--> Processing Dependency: Percona-XtraDB-Cluster-client-57 = 5.7.23-31.31.2.el7 for package: Percona-XtraDB-Cluster-server-57-5.7.23-31.31.2.el7.x86_64
--> Processing Dependency: Percona-XtraDB-Cluster-shared-57 = 5.7.23-31.31.2.el7 for package: Percona-XtraDB-Cluster-server-57-5.7.23-31.31.2.el7.x86_64
--> Processing Dependency: percona-xtrabackup-24 >= 2.4.12 for package: Percona-XtraDB-Cluster-server-57-5.7.23-31.31.2.el7.x86_64
--> Processing Dependency: perl-DBD-MySQL for package: Percona-XtraDB-Cluster-server-57-5.7.23-31.31.2.el7.x86_64
--> Processing Dependency: qpress for package: Percona-XtraDB-Cluster-server-57-5.7.23-31.31.2.el7.x86_64
--> Running transaction check
---> Package Percona-XtraDB-Cluster-client-57.x86_64 0:5.7.23-31.31.2.el7 will be installed
---> Package Percona-XtraDB-Cluster-shared-57.x86_64 0:5.7.23-31.31.2.el7 will be installed
---> Package percona-xtrabackup-24.x86_64 0:2.4.12-1.el7 will be installed
---> Package perl-DBD-MySQL.x86_64 0:4.023-6.el7 will be installed
--> Processing Dependency: libmysqlclient.so.18(libmysqlclient_18)(64bit) for package: perl-DBD-MySQL-4.023-6.el7.x86_64
--> Processing Dependency: libmysqlclient.so.18()(64bit) for package: perl-DBD-MySQL-4.023-6.el7.x86_64
---> Package qpress.x86_64 0:11-1.el7 will be installed
--> Running transaction check
---> Package Percona-Server-shared-56.x86_64 0:5.6.42-rel84.2.el7 will be installed
--> Processing Conflict: Percona-XtraDB-Cluster-shared-57-5.7.23-31.31.2.el7.x86_64 conflicts Percona-Server-shared-56
--> Finished Dependency Resolution
Error: Percona-XtraDB-Cluster-shared-57 conflicts with Percona-Server-shared-56-5.6.42-rel84.2.el7.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
运行建议的命令不会产生任何结果。我试过安装 PXC56,它工作正常。然后,我将yum remove
这些包裹再试一次,只是为了得到同样的东西。我还尝试安装它提到的与之冲突的特定软件包
yum install https://repo.percona.com/centos/7/RPMS/x86_64/Percona-Server-shared-56-5.6.42-rel84.2.el7.x86_64.rpm
它会安装好,yum remove 工作,尝试安装 PXC57,得到同样的冲突。我什至试过用rpm -e
至尝试使用 yum-utils 删除它。我以前从来没有遇到过这个问题。
更新:
我已将其缩小为perl-DBD-MySQL
问题包。
# yum install perl-DBD-MySQL
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.atlanticmetro.net
* epel: fedora-epel.mirrors.tds.net
* extras: mirror.atlanticmetro.net
* updates: mirror.atlanticmetro.net
Resolving Dependencies
--> Running transaction check
---> Package perl-DBD-MySQL.x86_64 0:4.023-6.el7 will be installed
--> Processing Dependency: libmysqlclient.so.18(libmysqlclient_18)(64bit) for package: perl-DBD-MySQL-4.023-6.el7.x86_64
--> Processing Dependency: libmysqlclient.so.18()(64bit) for package: perl-DBD-MySQL-4.023-6.el7.x86_64
--> Running transaction check
---> Package Percona-Server-shared-56.x86_64 0:5.6.42-rel84.2.el7 will be installed
--> Processing Conflict: Percona-XtraDB-Cluster-shared-57-5.7.23-31.31.2.el7.x86_64 conflicts Percona-Server-shared-56
--> Finished Dependency Resolution
Error: Percona-XtraDB-Cluster-shared-57 conflicts with Percona-Server-shared-56-5.6.42-rel84.2.el7.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
虽然还是不知道怎么解决