Error: Package: percona-xtrabackup-24-2.4.8-1.el6.x86_64
2017-09-18 14:58
931 查看
前期安装
percona-xtrabackup
地址
https://www.percona.com/doc/percona-xtrabackup/LATEST/installation/yum_repo.html#f1
报错
Error: Package: percona-xtrabackup-24-2.4.8-1.el6.x86_64 (percona-release-x86_64) Requires: libev.so.4()(64bit)
I was trying to install xtrabackup version 2.4.8 on my centos 6.4 which resulted with following errors,[root@dbtest3 ~]# yum install percona-xtrabackup-24.x86_64
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.dhakacom.com
* extras: mirror.dhakacom.com
* updates: mirror.dhakacom.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package percona-xtrabackup-24.x86_64 0:2.4.8-1.el6
will be installed
--> Processing Dependency: rsync for package: percona-xtrabackup-24-2.4.8-1.el6.x86_64
--> Processing Dependency: libev.so.4()(64bit) for
package: percona-xtrabackup-24-2.4.8-1.el6.x86_64
--> Running transaction check
---> Package percona-xtrabackup-24.x86_64 0:2.4.8-1.el6
will be installed
--> Processing Dependency: libev.so.4()(64bit) for
package: percona-xtrabackup-24-2.4.8-1.el6.x86_64
---> Package rsync.x86_64 0:3.0.6-12.el6 will be
installed
--> Finished Dependency Resolution
Error: Package: percona-xtrabackup-24-2.4.8-1.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
From the above error it is clear that i am missing the
following dependencies :-
rsync
libev
Which should be installed along with the xtrabackup
installation but it didn’t so i decided to install the both and finally i should be able to install xtrabackup.
rsync was successfully installed,
But when i tried to install libev i was facing the below
error,
[root@dbtest3 ~]# yum install libev
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.dhakacom.com
* extras: mirror.dhakacom.com
* updates: mirror.dhakacom.com
Setting up Install Process
No packagelibev
available.
Error: Nothing to do
[root@dbtest3 ~]#
In order to fix this issue i need to install an external
repo such as EPEL which will allow me to install libev.
[root@dbtest3 ~]# wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm --2017-07-26 17:13:58-- http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
Resolving download.fedoraproject.org... 174.141.234.172,
209.132.181.15, 8.43.85.67, ...
Connecting to download.fedoraproject.org|174.141.234.172|:80...
connected.
HTTP request sent, awaiting response... 302 Found
Location: https://mirrors.tuna.tsinghua.edu.cn/epel/6/x86_64/epel-release-6-8.noarch.rpm [following]
--2017-07-26 17:13:59-- https://mirrors.tuna.tsinghua.edu.cn/epel/6/x86_64/epel-release-6-8.noarch.rpm
Resolving mirrors.tuna.tsinghua.edu.cn... 101.6.6.177,
2402:f000:1:416:101:6:6:177
Connecting to mirrors.tuna.tsinghua.edu.cn|101.6.6.177|:443...
connected.
HTTP request sent, awaiting response... 200 OK
Length: 14540 (14K) [application/x-redhat-package-manager]
Saving to: “epel-release-6-8.noarch.rpm”
100%[==================================================================================================================================================================>]
14,540 --.-K/s in 0s
2017-07-26 17:14:01 (1008 MB/s) - “epel-release-6-8.noarch.rpm”
saved [14540/14540]
[root@dbtest3 ~]#
[root@dbtest3 ~]# ls
anaconda-ks.cfg epel-release-6-8.noarch.rpm install.log
install.log.syslog mysql57-community-release-el6-11.noarch.rpm
[root@dbtest3 ~]#
[root@dbtest3 ~]# yum install epel-release-6-8.noarch.rpm
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.dhakacom.com
* extras: mirror.dhakacom.com
* updates: mirror.dhakacom.com
Setting up Install Process
Examining epel-release-6-8.noarch.rpm: epel-release-6-8.noarch
Marking epel-release-6-8.noarch.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package epel-release.noarch 0:6-8 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
============================================================================================================================================================================================================
Package Arch
Version Repository Size
============================================================================================================================================================================================================
Installing:
epel-release noarch
6-8 /epel-release-6-8.noarch 22 k
Transaction Summary
============================================================================================================================================================================================================
Install 1 Package(s)
Total size: 22 k
Installed size: 22 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : epel-release-6-8.noarch 1/1
Verifying : epel-release-6-8.noarch 1/1
Installed:
epel-release.noarch 0:6-8
Complete!
[root@dbtest3 ~]#
After successful installation of EPEL, i tried to
install libev but faced below issue,
[root@dbtest3 ~]# yum install libev
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Error: Cannot retrieve metalink for repository:
epel. Please verify its path and try again
To fix the above issue you need to edit your epel repo
and edit it by changing https to hhtp on mirrorlist
vi /etc/yum.repos.d/epel.repo
In the below change https to http on entry mirrorlist
Before :-
[epel]
name=Extra Packages for Enterprise Linux 6 - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
After :-
[epel]
name=Extra Packages for Enterprise Linux 6 - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
After changing the above i was able to install libev,
[root@dbtest3 ~]# rpm -qa | grep
libev
libev-4.03-3.el6.x86_64
Finally after installing libev i was able to install
xtrabackup successfully.
[root@dbtest3 ~]# rpm -qa | grep
xtrabackup
percona-xtrabackup-24-2.4.8-1.el6.x86_64
[root@dbtest3 ~]#
相关文章推荐
- 解决 libev.so.4()(64bit) is needed by percona-xtrabackup-2.3.4-1.el6.x86_64案例
- Percona-XtraBackup系列一:安装 perl(Time::HiRes) is needed by percona-xtrabackup-2.2.10-1.el6.x86_64
- 解决 libev.so.4()(64bit) is needed by percona-xtrabackup-2.3.4-1.el6.x86_64案例
- 解决 libev.so.4()(64bit) is needed by percona-xtrabackup-2.3.4-1.el6.x86_64案例
- 解决 libev.so.4()(64bit) is needed by percona-xtrabackup-2.3.4-1.el6.x86_64案例
- Error: Package: glibc-headers-2.12-1.80.el6_3.6.x86_64 (updates)
- Another reason for Xtrabackup error “log block numbers mismatch”
- Centos7安装MySQL安装出错:Error: Package: MariaDB-client-5.5.49-1.el7.centos.x86_64 (base)的解决办法
- xtrabackup 1.6.3安装出现cc1: error: unrecognized command line option "-fdiagnostics-show-option"
- Percona XtraBackup install
- Mysql学习第四课01-percona-xtrabackup
- innobackupex:Error:xtrabackup child process has died at /usr/bin/innobackupex
- Percona-Xtrabackup 2.3.3 慢查询依旧堵塞MariaDB备份(三)
- innobackupex: Error: The xtrabackup child process has died at /usr/bin/innobackupex line 2672
- 简述percona-xtrabackup开源工具包
- centos环境下使用percona-xtrabackup对mysql5.6数据库innodb和myisam进行快速备份及恢复
- percona-xtrabackup-2.1.7的安装、使用、排错
- 安装percona-xtrabackup-2.2.10-1.el5.i386.rpm出错
- xtrabackup_56: error while loading shared libra...
- mysql增量备份 percona-xtrabackup