分享更有价值
被信任是一种快乐

yum方式安装Percona XtraBackup报错怎么办

文章页正文上

小编给大家分享一下yum方式安装Percona XtraBackup报错怎么办,相信大部分人都还不怎么了解,因此分享这篇文章给大家参考一下,希望大家阅读完这篇文章后大有收获,下面让我们一起去了解一下吧!
[root@idb4 ~]# yum install percona-xtrabackup
Loaded plugins: aliases, changelog, downloadonly, fastestmirror, kabi, presto, refresh-packagekit, security, tmprepo, verify,
: versionlock
Loading support for CentOS kernel ABI
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
Loading mirror speeds from cached hostfile
* base: centos.ustc.edu.cn
* extras: centos.ustc.edu.cn
* updates: centos.ustc.edu.cn
Setting up Install Process
Resolving Dependencies
–> Running transaction check
—> Package percona-xtrabackup.x86_64 0:2.3.7-2.el6 will be installed
–> Processing Dependency: libev.so.4()(64bit) for package: percona-xtrabackup-2.3.7-2.el6.x86_64
–> Finished Dependency Resolution
Error: Package: percona-xtrabackup-2.3.7-2.el6.x86_64 (percona-release-x86_64)
Requires: libev.so.4()(64bit)
You could try using –skip-broken to work around the problem
You could try running: rpm -Va –nofiles –nodigest

这个是缺少包Requires: libev.so.4()(64bit)所致,下载所需要的包:
[root@idb4 ~]# wget ftp://rpmfind.net/linux/atrpms/el6-x86_64/atrpms/stable/libev-4.04-2.el6.x86_64.rpm
–2017-04-06 15:28:19– ftp://rpmfind.net/linux/atrpms/el6-x86_64/atrpms/stable/libev-4.04-2.el6.x86_64.rpm
=> “libev-4.04-2.el6.x86_64.rpm”
Resolving rpmfind.net… 195.220.108.108
Connecting to rpmfind.net|195.220.108.108|:21… connected.
Logging in as anonymous … Logged in!
==> SYST … done. ==> PWD … done.
==> TYPE I … done. ==> CWD (1) /linux/atrpms/el6-x86_64/atrpms/stable … done.
==> SIZE libev-4.04-2.el6.x86_64.rpm … 38140
==> PASV … done. ==> RETR libev-4.04-2.el6.x86_64.rpm … done.
Length: 38140 (37K) (unauthoritative)

100%[========================================================================================>] 38,140 101K/s in 0.4s

2017-04-06 15:28:25 (101 KB/s) – “libev-4.04-2.el6.x86_64.rpm” saved [38140]

RPM安装:

[root@idb4 ~]# rpm -ivh libev-4.04-2.el6.x86_64.rpm
warning: libev-4.04-2.el6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 66534c2b: NOKEY
Preparing… ########################################### [100%]
1:libev ########################################### [100%]

再次运行后成功安装:
[root@idb4 ~]# yum install percona-xtrabackup
Loaded plugins: aliases, changelog, downloadonly, fastestmirror, kabi, presto, refresh-packagekit, security, tmprepo, verify,
: versionlock
Loading support for CentOS kernel ABI
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
Loading mirror speeds from cached hostfile
* base: centos.ustc.edu.cn
* extras: centos.ustc.edu.cn
* updates: centos.ustc.edu.cn
Setting up Install Process
Resolving Dependencies
–> Running transaction check
—> Package percona-xtrabackup.x86_64 0:2.3.7-2.el6 will be installed
–> Finished Dependency Resolution

Dependencies Resolved

==================================================================================================================================
Package Arch Version Repository Size
==================================================================================================================================
Installing:
percona-xtrabackup x86_64 2.3.7-2.el6 percona-release-x86_64 5.3 M

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

Total download size: 5.3 M
Installed size: 21 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: 5.3 M
percona-xtrabackup-2.3.7-2.el6.x86_64.rpm | 5.3 MB 00:04
warning: rpmts_HdrFromFdno: Header V4 DSA/SHA1 Signature, key ID cd2efd2a: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Percona
Importing GPG key 0xCD2EFD2A:
Userid : Percona MySQL Development Team
Package: percona-release-0.1-3.noarch (@/percona-release-0.1-3.noarch)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-Percona
Is this ok [y/N]: y
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
Installing : percon免费主机域名a-xtrabackup-2.3.7-2.el6.x86_64 1/1
Verifying : percona-xtrabackup-2.3.7-2.el6.x86_64 1/1

Installed:
percona-xtrabackup.x86_64 0:2.3.7-2.el6
以上是“yum方式安装Percona XtraBackup报错怎么办”这篇文章的所有内容,感谢各位的阅读!相信大家都有了一定的了解,希望分享的内容对大家有所帮助,如果还想学习更多知识,欢迎关注云技术行业资讯频道!

相关推荐: MySQL曝中间人攻击Riddle漏洞可致用户名密码泄露怎么办

这篇文章主要为大家展示了“MySQL曝中间人攻击Riddle漏洞可致用户名密码泄露怎么办”,内容简而易懂,条理清晰,希望能够帮助大家解决疑惑,下面让小编带领大家一起研究并学习一下“MySQL曝中间人攻击Riddle漏洞可致用户名密码泄露怎么办”这篇文章吧。针对…

文章页内容下
赞(0) 打赏
版权声明:本站采用知识共享、学习交流,不允许用于商业用途;文章由发布者自行承担一切责任,与本站无关。
文章页正文下
文章页评论上

云服务器、web空间可免费试用

宝塔面板主机、支持php,mysql等,SSL部署;安全高速企业专供99.999%稳定,另有高防主机、不限制内容等类型,具体可咨询QQ:360163164,Tel同微信:18905205712

主机选购导航云服务器试用

登录

找回密码

注册