Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What to do when installing Percona XtraBackup in yum mode

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)05/31 Report--

Xiaobian to share with you yum way to install Percona XtraBackup error how to do, I believe most people still do not know how, so share this article for everyone's reference, I hope you read this article after a great harvest, let's go to understand it!

[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

This is due to the missing package Requires: libev.so.4()(64bit), download the required package:

[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 installation:

[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%]

Successful installation after running again:

[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 : percona-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

The above is "yum way to install Percona XtraBackup error how to do" all the content of this article, thank you for reading! I believe that everyone has a certain understanding, hope to share the content to help everyone, if you still want to learn more knowledge, welcome to pay attention to the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report