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 <mysql-dev@percona.com>
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
Complete!
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 <mysql-dev@percona.com>
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
Complete!
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/15498/viewspace-2136764/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- CentOS下使用yum方式安裝percona xtrabackup步驟CentOS
- Percona XtraBackup 原始碼安裝原始碼
- 使用Push方式安裝EM 12c Agent報Shell path is incorrect錯誤解決一例
- CentOS release 6.5 yum安裝報錯CentOS
- 安裝ionic 報錯 安裝canvas報錯 解決辦法Canvas
- 安裝percona-toolkit提示的報錯
- Percona Xtrabackup2.4.12版本安裝小記
- 安裝sass報錯解決方案
- Python系統效能資訊模組psutil安裝報錯解決一例Python
- mysql之 percona-xtrabackup 2.4.7安裝(熱備工具)MySql
- XtraBackup工具詳解 Part 2 xtrabackup安裝
- Laravel安裝horizon報錯解決方案Laravel
- mac Pro 安裝scrapy報錯解決Mac
- win安裝wordcloud報錯解決方案Cloud
- YUM安裝除錯以及命令詳解除錯
- Linux系統yum安裝報錯Cannot find a valid baseurl for repo的解決方法Linux
- MySQL Percona XtraBackupMySql
- 解決Ubuntu報錯 E: Unable to locate package yumUbuntuPackage
- Centos中yum方式安裝javaCentOSJava
- Windows 環境安裝 Horizon 報錯解決Windows
- npm install 安裝報錯解決方案NPM
- linux 安裝 jupyter報錯解決Linux
- CentOS 6安裝Oracle報錯解決方案CentOSOracle
- LR9.10安裝報錯解決
- 安裝vue/cli報錯問題解決Vue
- keepalived啟動報錯解決一例
- rpm包方式安裝Percona serverServer
- 原始碼包方式安裝Percona server原始碼Server
- Linux yum安裝httpd報錯 No package httpd available ?LinuxhttpdPackageAI
- 安裝xtrabackup
- CentOS6yum方式安裝lnmpCentOSLNMP
- 安裝psutil模組報錯的解決方法
- 安裝sysbench過程報錯,解決辦法
- Centos下yum安裝Nginx報錯 No package nginx available.CentOSNginxPackageAI
- linux裡面yum安裝軟體報錯處理Linux
- Percona Toolkit工具連線MySQL 8報錯的解決方案MySql
- kaldi的編譯安裝與報錯解決方法編譯
- centos7騰訊雲uwsgi安裝報錯解決CentOS