rhel6.3安装Percona XtraDB Cluster 5.7时错误的解决方法

本文介绍了在RHEL6.3中安装Percona-XtraDB集群时遇到的依赖包问题及解决方案。由于缺少libev.so.4和socat包导致安装失败,通过从EPEL源下载并安装这些缺失的依赖包解决了问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

当OS为rhel6.3通过yum安装时出现依赖包的错误,centOS7安装时没有这样的问题。

[root@qht131 u01]#  yum install Percona-XtraDB-Cluster-57

Error: Package: percona-xtrabackup-24-2.4.11-1.el6.x86_64 (percona-release-x86_64)
           Requires: libev.so.4()(64bit)
Error: Package: Percona-XtraDB-Cluster-server-57-5.7.21-29.26.1.el6.x86_64 (percona-release-x86_64)
           Requires: socat
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

因为percona-xtrabackup依赖libev.so.4()(64bit)的包,而这个包只能从EPEL源(Extra Packages for Enterprise Linux,企业版Linux的额外软件包 是Fedora小组维护的一个软件仓库项目,为RHEL/CentOS提供他们默认不提供的软件包)安装 ,所以只要安装了这个包即可解决问题.

http://rpmfind.net/linux/rpm2html/search.php上下载libev-4.15-1.el6.rf.x86_64.rpm安装包,然后安装即可

[root@qht131 home]# rpm -ivh libev-4.15-1.el6.rf.x86_64.rpm
warning: libev-4.15-1.el6.rf.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 6b8d79e6: NOKEY
Preparing...                ########################################### [100%]
   1:libev                  ########################################### [100%]

http://rpmfind.net/linux/rpm2html/search.php上下载socat-1.7.2.3-1.el6.x86_64.rpm安装包,这个包有其它的依赖性关系,最简单的方法是用yun localinstall方法安装

[root@qht131 home]# yum localinstall socat-1.7.2.3-1.el6.x86_64.rpm
Loaded plugins: aliases, changelog, downloadonly, presto, product-id, refresh-packagekit, security, subscription-manager,
              : tmprepo, verify, versionlock
Updating certificate-based repositories.
Unable to read consumer identity
Setting up Local Package Process
Examining socat-1.7.2.3-1.el6.x86_64.rpm: socat-1.7.2.3-1.el6.x86_64
Marking socat-1.7.2.3-1.el6.x86_64.rpm to be installed
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository contrib is listed more than once in the configuration
Resolving Dependencies
--> Running transaction check
---> Package socat.x86_64 0:1.7.2.3-1.el6 will be installed
--> Processing Dependency: libcrypto.so.10(libcrypto.so.10)(64bit) for package: socat-1.7.2.3-1.el6.x86_64
--> Processing Dependency: libssl.so.10(libssl.so.10)(64bit) for package: socat-1.7.2.3-1.el6.x86_64
--> Running transaction check
---> Package openssl.x86_64 0:1.0.0-20.el6_2.5 will be updated
---> Package openssl.x86_64 0:1.0.1e-57.el6 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

=================================================================================================================================
 Package                 Arch                   Version                        Repository                                   Size
=================================================================================================================================
Installing:
 socat                   x86_64                 1.7.2.3-1.el6                  /socat-1.7.2.3-1.el6.x86_64                 910 k
Updating for dependencies:
 openssl                 x86_64                 1.0.1e-57.el6                  base                                        1.5 M

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

Total size: 2.4 M
Total download size: 1.5 M
Is this ok [y/N]: y
Downloading Packages:
Setting up and reading Presto delta metadata
Processing delta metadata
Package(s) data still to download: 1.5 M
openssl-1.0.1e-57.el6.x86_64.rpm                                                                          | 1.5 MB     00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Updating   : openssl-1.0.1e-57.el6.x86_64                                                                                  1/3
  Installing : socat-1.7.2.3-1.el6.x86_64                                                                                    2/3
  Cleanup    : openssl-1.0.0-20.el6_2.5.x86_64                                                                               3/3
Installed products updated.
  Verifying  : openssl-1.0.1e-57.el6.x86_64                                                                                  1/3
  Verifying  : socat-1.7.2.3-1.el6.x86_64                                                                                    2/3
  Verifying  : openssl-1.0.0-20.el6_2.5.x86_64                                                                               3/3

Installed:
  socat.x86_64 0:1.7.2.3-1.el6

Dependency Updated:
  openssl.x86_64 0:1.0.1e-57.el6

Complete!这
这两个包安装好后,就可以正常安装了。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值