请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

参考官网在线安装报错

[vagrant@localhost ~]$ sudo yum install http://www.percona.com/downloads/percona-release/redhat/0.1-6/percona-release-0.1-6.noarch.rpm
Failed to set locale, defaulting to C
Loaded plugins: fastestmirror
percona-release-0.1-6.noarch.rpm | 14 kB 00:00:00
Examining /var/tmp/yum-root-Gj9d5o/percona-release-0.1-6.noarch.rpm: percona-release-0.1-6.noarch
Marking /var/tmp/yum-root-Gj9d5o/percona-release-0.1-6.noarch.rpm as an update to percona-release-0.1-3.noarch
Resolving Dependencies
–> Running transaction check
—> Package percona-release.noarch 0:0.1-3 will be updated
—> Package percona-release.noarch 0:0.1-6 will be an update
–> Finished Dependency Resolution

Dependencies Resolved

============================================================================================================================================================================================================
Package Arch Version Repository Size

Updating:
percona-release noarch 0.1-6 /percona-release-0.1-6.noarch 16 k

Transaction Summary

Upgrade 1 Package

Total size: 16 k
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Updating : percona-release-0.1-6.noarch 1/2
Cleanup : percona-release-0.1-3.noarch 2/2
Verifying : percona-release-0.1-6.noarch 1/2
Verifying : percona-release-0.1-3.noarch 2/2

Updated:
percona-release.noarch 0:0.1-6

Complete!

[vagrant@localhost ~]$ sudo yum install Percona-XtraDB-Cluster-57
Failed to set locale, defaulting to C
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile

  • base: mirror.thaidns.co.th
  • extras: mirror.thaidns.co.th
  • updates: mirror.thaidns.co.th
    base | 3.6 kB 00:00:00
    extras | 3.4 kB 00:00:00
    percona-release-noarch | 2.9 kB 00:00:00
    percona-release-x86_64 | 2.9 kB 00:00:00
    updates | 3.4 kB 00:00:00
    percona-release-noarch/7/primary_db | 19 kB 00:00:01
    Resolving Dependencies
    –> Running transaction check
    —> Package Percona-XtraDB-Cluster-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-57-5.7.23-31.31.2.el7.x86_64
    –> Processing Dependency: Percona-XtraDB-Cluster-server-57 = 5.7.23-31.31.2.el7 for package: Percona-XtraDB-Cluster-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
    –> Processing Dependency: perl-DBI for package: Percona-XtraDB-Cluster-client-57-5.7.23-31.31.2.el7.x86_64
    —> Package Percona-XtraDB-Cluster-server-57.x86_64 0:5.7.23-31.31.2.el7 will be installed
    –> 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: qpress for package: Percona-XtraDB-Cluster-server-57-5.7.23-31.31.2.el7.x86_64
    –> Processing Dependency: lsof 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: socat for package: Percona-XtraDB-Cluster-server-57-5.7.23-31.31.2.el7.x86_64
    –> Processing Dependency: perl(Data::Dumper) for package: Percona-XtraDB-Cluster-server-57-5.7.23-31.31.2.el7.x86_64
    –> Running transaction check
    —> Package Percona-XtraDB-Cluster-shared-57.x86_64 0:5.7.23-31.31.2.el7 will be installed
    —> Package lsof.x86_64 0:4.87-6.el7 will be installed
    —> Package percona-xtrabackup-24.x86_64 0:2.4.12-1.el7 will be installed
    –> Processing Dependency: perl(Digest::MD5) for package: percona-xtrabackup-24-2.4.12-1.el7.x86_64
    –> Processing Dependency: libev.so.4()(64bit) for package: percona-xtrabackup-24-2.4.12-1.el7.x86_64
    —> Package perl-DBD-MySQL.x86_64 0:4.023-6.el7 will be installed
    —> Package perl-DBI.x86_64 0:1.627-4.el7 will be installed
    –> Processing Dependency: perl(RPC::PlServer) >= 0.2001 for package: perl-DBI-1.627-4.el7.x86_64
    –> Processing Dependency: perl(RPC::PlClient) >= 0.2000 for package: perl-DBI-1.627-4.el7.x86_64
    —> Package perl-Data-Dumper.x86_64 0:2.145-3.el7 will be installed
    —> Package qpress.x86_64 0:11-1.el7 will be installed
    —> Package socat.x86_64 0:1.7.3.2-2.el7 will be installed
    –> Running transaction check
    —> Package libev.x86_64 0:4.15-7.el7 will be installed
    —> Package perl-Digest-MD5.x86_64 0:2.52-3.el7 will be installed
    –> Processing Dependency: perl(Digest::base) >= 1.00 for package: perl-Digest-MD5-2.52-3.el7.x86_64
    —> Package perl-PlRPC.noarch 0:0.2020-14.el7 will be installed
    –> Processing Dependency: perl(Net::Daemon) >= 0.13 for package: perl-PlRPC-0.2020-14.el7.noarch
    –> Processing Dependency: perl(Net::Daemon::Test) for package: perl-PlRPC-0.2020-14.el7.noarch
    –> Processing Dependency: perl(Net::Daemon::Log) for package: perl-PlRPC-0.2020-14.el7.noarch
    –> Processing Dependency: perl(Compress::Zlib) for package: perl-PlRPC-0.2020-14.el7.noarch
    –> Running transaction check
    —> Package perl-Digest.noarch 0:1.17-245.el7 will be installed
    —> Package perl-IO-Compress.noarch 0:2.061-2.el7 will be installed
    –> Processing Dependency: perl(Compress::Raw::Zlib) >= 2.061 for package: perl-IO-Compress-2.061-2.el7.noarch
    –> Processing Dependency: perl(Compress::Raw::Bzip2) >= 2.061 for package: perl-IO-Compress-2.061-2.el7.noarch
    —> Package perl-Net-Daemon.noarch 0:0.48-5.el7 will be installed
    –> Running transaction check
    —> Package perl-Compress-Raw-Bzip2.x86_64 0:2.061-3.el7 will be installed
    —> Package perl-Compress-Raw-Zlib.x86_64 1:2.061-4.el7 will be installed
    –> Finished Dependency Resolution

Dependencies Resolved

Install 1 Package (+18 Dependent packages)

Total download size: 68 M
Installed size: 72 M
Is this ok [y/d/N]: y
Downloading packages:
(1/19): Percona-XtraDB-Cluster-57-5.7.23-31.31.2.el7.x86_64.rpm | 27 kB 00:00:01
(2/19): Percona-XtraDB-Cluster-client-57-5.7.23-31.31.2.el7.x86_64.rpm | 7.2 MB 00:00:23
(3/19): Percona-XtraDB-Cluster-shared-57-5.7.23-31.31.2.el7.x86_64.rpm | 737 kB 00:00:01
(4/19): libev-4.15-7.el7.x86_64.rpm | 44 kB 00:00:01
(5/19): perl-Compress-Raw-Zlib-2.061-4.el7.x86_64.rpm | 57 kB 00:00:02
(6/19): perl-Compress-Raw-Bzip2-2.061-3.el7.x86_64.rpm | 32 kB 00:00:03
(7/19): perl-DBD-MySQL-4.023-6.el7.x86_64.rpm | 140 kB 00:00:05
(8/19): perl-Data-Dumper-2.145-3.el7.x86_64.rpm | 47 kB 00:00:03
(9/19): perl-Digest-1.17-245.el7.noarch.rpm | 23 kB 00:00:00
(10/19): perl-Digest-MD5-2.52-3.el7.x86_64.rpm | 30 kB 00:00:01
(11/19): percona-xtrabackup-24-2.4.12-1.el7.x86_64.rpm | 7.5 MB 00:00:15
(12/19): lsof-4.87-6.el7.x86_64.rpm | 331 kB 00:00:16
(13/19): perl-PlRPC-0.2020-14.el7.noarch.rpm | 36 kB 00:00:00
(14/19): perl-IO-Compress-2.061-2.el7.noarch.rpm | 260 kB 00:00:02
(15/19): perl-DBI-1.627-4.el7.x86_64.rpm | 802 kB 00:00:13
(16/19): qpress-11-1.el7.x86_64.rpm | 31 kB 00:00:00
(17/19): perl-Net-Daemon-0.48-5.el7.noarch.rpm | 51 kB 00:00:01
(18/19): socat-1.7.3.2-2.el7.x86_64.rpm | 290 kB 00:00:03
(19/19): Percona-XtraDB-Cluster-server-57-5.7.23-31.31.2.el7.x86_64.rpm | 51 MB 00:01:05

Total 1.0 MB/s | 68 MB 00:01:06
Running transaction check
Running transaction test

Transaction check error:
file /usr/bin/mysql from install of Percona-XtraDB-Cluster-client-57-5.7.23-31.31.2.el7.x86_64 conflicts with file from package Percona-Server-client-57-5.7.24-27.1.el7.x86_64

…省略很多这样的报错

Error Summary

正在回答 回答被采纳积分+3

2回答

覃晓海 2019-06-21 11:45:30

解决了吗

0 回复 有任何疑惑可以回复我~
  • 用本课程离线安装包就可以了
    回复 有任何疑惑可以回复我~ 2019-06-21 11:48:48
  • 覃晓海 回复 神思者 #2
    是啊·还是一样
    回复 有任何疑惑可以回复我~ 2019-06-21 11:49:50
  • 有问题,可以截个图
    回复 有任何疑惑可以回复我~ 2019-06-21 12:37:55
神思者 2018-12-22 13:53:54

执行rpm -Uvh https://www.percona.com/downloads/percona-release/redhat/latest/percona-release-0.1-4.noarch.rpm。然后执行yum install Percona-XtraDB-Cluster-57 -y

0 回复 有任何疑惑可以回复我~
  • 提问者 慕九州1544730 #1
    sudo rpm -Uvh https://www.percona.com/downloads/percona-release/redhat/latest/percona-release-0.1-4.noarch.rpm
    Retrieving https://www.percona.com/downloads/percona-release/redhat/latest/percona-release-0.1-4.noarch.rpm
    curl: (22) The requested URL returned error: 404 Not Found
    error: skipping https://www.percona.com/downloads/percona-release/redhat/latest/percona-release-0.1-4.noarch.rpm - transfer failed
    该用另一个版本可以
    sudo rpm -Uvh http://www.percona.com/downloads/percona-release/redhat/0.1-6/percona-release-0.1-6.noarch.rpm
    Retrieving http://www.percona.com/downloads/percona-release/redhat/0.1-6/percona-release-0.1-6.noarch.rpm
    Preparing...                          ################################# [100%]
    Updating / installing...
       1:percona-release-0.1-6            ################################# [ 50%]
    Cleaning up / removing...
       2:percona-release-0.1-3            ################################# [100%]
    
    主要不是这个,主要是
    sudo yum install Percona-XtraDB-Cluster-57
    这个执行报错
    回复 有任何疑惑可以回复我~ 2018-12-22 14:06:11
  • 神思者 回复 提问者 慕九州1544730 #2
    404异常,网络的问题。可以选择用git里面的离线安装文件,本地安装
    回复 有任何疑惑可以回复我~ 2018-12-22 14:08:59
  • 提问者 慕九州1544730 #3
    终于解决了,删除冲突文件就可以了                                                              
    
    $sudo yum -y remove Percona-Server-server-57*
    
    
    $sudo yum -y remove Percona-Server-client-57*
    回复 有任何疑惑可以回复我~ 2018-12-22 15:59:36
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信