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

当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!这
这两个包安装好后,就可以正常安装了。

猜你喜欢

转载自blog.csdn.net/jolly10/article/details/80678495
今日推荐