安装参考:
https://docs.percona.com/percona-xtrabackup/8.0/yum-repo.html
- yum install https://repo.percona.com/yum/percona-release-latest.noarch.rpm
- percona-release enable-only tools release
- yum install lz4
- yum install zstd
- yum install percona-xtrabackup-80
报错信息:
--> Finished Dependency Resolution
Error: Package: percona-xtrabackup-80-8.0.35-30.1.el7.x86_64 (tools-release-x86_64)
Requires: zstd
Error: Package: percona-xtrabackup-80-8.0.35-30.1.el7.x86_64 (tools-release-x86_64)
Requires: libev.so.4()(64bit)
You could try using --skip-broken to work around the problem
** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows:
2:postfix-2.10.1-9.el7.x86_64 has missing requires of libmysqlclient.so.18()(64bit)
2:postfix-2.10.1-9.el7.x86_64 has missing requires of libmysqlclient.so.18(libmysqlclient_18)(64bit)
处理办法:
yum install mysql-devel
wget https://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/z/zstd-1.5.5-1.el7.x86_64.rpm
rpm -ivh zstd-1.5.5-1.el7.x86_64.rpm
wget http://mirror.centos.org/centos/7/extras/x86_64/Packages/libev-4.15-7.el7.x86_64.rpm
rpm -ivh libev-4.15-7.el7.x86_64.rpm
yum install percona-xtrabackup-80 不再报错
详细的处理记录:
[root@ycla ~]# cat /etc/redhat-release
CentOS Linux release 7.9.2009 (Core)
[root@ycla ~]# yum install \
> https://repo.percona.com/yum/percona-release-latest.\
> noarch.rpm
Loaded plugins: fastestmirror, langpacks
percona-release-latest.noarch.rpm | 20 kB 00:00:00
Examining /var/tmp/yum-root-HyZK5j/percona-release-latest.noarch.rpm: percona-release-1.0-27.noarch
Marking /var/tmp/yum-root-HyZK5j/percona-release-latest.noarch.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package percona-release.noarch 0:1.0-27 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================================================================================================================
Package Arch Version Repository Size
================================================================================================================================================================================
Installing:
percona-release noarch 1.0-27 /percona-release-latest.noarch 32 k
Transaction Summary
================================================================================================================================================================================
Install 1 Package
Total size: 32 k
Installed size: 32 k
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : percona-release-1.0-27.noarch 1/1
* Enabling the Percona Original repository
<*> All done!
* Enabling the Percona Release repository
<*> All done!
The percona-release package now contains a percona-release script that can enable additional repositories for our newer products.
For example, to enable the Percona Server 8.0 repository use:
percona-release setup ps80
Note: To avoid conflicts with older product versions, the percona-release setup command may disable our original repository for some products.
For more information, please visit:
https://www.percona.com/doc/percona-repo-config/percona-release.html
Verifying : percona-release-1.0-27.noarch 1/1
Installed:
percona-release.noarch 0:1.0-27
Complete!
[root@ycla ~]# percona-release enable-only tools release
* Disabling all Percona Repositories
* Enabling the Percona Tools repository
<*> All done!
[root@ycla ~]# yum install percona-xtrabackup-80
Loaded plugins: fastestmirror, langpacks
Determining fastest mirrors
prel-release-noarch | 1.5 kB 00:00:00
tools-release-x86_64 | 2.9 kB 00:00:00
(1/2): prel-release-noarch/7/primary | 1.2 kB 00:00:00
(2/2): tools-release-x86_64/7/primary_db | 183 kB 00:00:01
prel-release-noarch 5/5
Resolving Dependencies
--> Running transaction check
---> Package percona-xtrabackup-80.x86_64 0:8.0.35-30.1.el7 will be installed
--> Processing Dependency: perl(DBD::mysql) for package: percona-xtrabackup-80-8.0.35-30.1.el7.x86_64
--> Processing Dependency: perl(Digest::MD5) for package: percona-xtrabackup-80-8.0.35-30.1.el7.x86_64
--> Processing Dependency: zstd for package: percona-xtrabackup-80-8.0.35-30.1.el7.x86_64
--> Processing Dependency: libev.so.4()(64bit) for package: percona-xtrabackup-80-8.0.35-30.1.el7.x86_64
--> Running transaction check
---> Package percona-xtrabackup-80.x86_64 0:8.0.35-30.1.el7 will be installed
--> Processing Dependency: zstd for package: percona-xtrabackup-80-8.0.35-30.1.el7.x86_64
--> Processing Dependency: libev.so.4()(64bit) for package: percona-xtrabackup-80-8.0.35-30.1.el7.x86_64
---> Package perl-DBD-MySQL.x86_64 0:4.023-6.el7 will be installed
--> Processing Dependency: perl(DBI::Const::GetInfoType) for package: perl-DBD-MySQL-4.023-6.el7.x86_64
--> Processing Dependency: perl(DBI) for package: perl-DBD-MySQL-4.023-6.el7.x86_64
--> Processing Dependency: libmysqlclient.so.18(libmysqlclient_18)(64bit) for package: perl-DBD-MySQL-4.023-6.el7.x86_64
--> Processing Dependency: libmysqlclient.so.18()(64bit) for package: perl-DBD-MySQL-4.023-6.el7.x86_64
---> Package perl-Digest-MD5.x86_64 0:2.52-3.el7 will be installed
--> Processing Dependency: perl(Digest::base) >= 1.00 for package: perl-Digest-MD5-2.52-3.el7.x86_64
--> Running transaction check
---> Package mariadb-libs.x86_64 1:5.5.68-1.el7 will be installed
---> Package percona-xtrabackup-80.x86_64 0:8.0.35-30.1.el7 will be installed
--> Processing Dependency: zstd for package: percona-xtrabackup-80-8.0.35-30.1.el7.x86_64
--> Processing Dependency: libev.so.4()(64bit) for package: percona-xtrabackup-80-8.0.35-30.1.el7.x86_64
---> Package perl-DBI.x86_64 0:1.627-4.el7 will be installed
--> Processing Dependency: perl(RPC::PlServer) >= 0.2001 for package: perl-DBI-1.627-4.el7.x86_64
--> Processing Dependency: perl(RPC::PlClient) >= 0.2000 for package: perl-DBI-1.627-4.el7.x86_64
--> Processing Dependency: perl(Data::Dumper) for package: perl-DBI-1.627-4.el7.x86_64
---> Package perl-Digest.noarch 0:1.17-245.el7 will be installed
--> Running transaction check
---> Package percona-xtrabackup-80.x86_64 0:8.0.35-30.1.el7 will be installed
--> Processing Dependency: zstd for package: percona-xtrabackup-80-8.0.35-30.1.el7.x86_64
--> Processing Dependency: libev.so.4()(64bit) for package: percona-xtrabackup-80-8.0.35-30.1.el7.x86_64
---> Package perl-Data-Dumper.x86_64 0:2.145-3.el7 will be installed
---> Package perl-PlRPC.noarch 0:0.2020-14.el7 will be installed
--> Processing Dependency: perl(Net::Daemon) >= 0.13 for package: perl-PlRPC-0.2020-14.el7.noarch
--> Processing Dependency: perl(Net::Daemon::Test) for package: perl-PlRPC-0.2020-14.el7.noarch
--> Processing Dependency: perl(Net::Daemon::Log) for package: perl-PlRPC-0.2020-14.el7.noarch
--> Processing Dependency: perl(Compress::Zlib) for package: perl-PlRPC-0.2020-14.el7.noarch
--> Running transaction check
---> Package percona-xtrabackup-80.x86_64 0:8.0.35-30.1.el7 will be installed
--> Processing Dependency: zstd for package: percona-xtrabackup-80-8.0.35-30.1.el7.x86_64
--> Processing Dependency: libev.so.4()(64bit) for package: percona-xtrabackup-80-8.0.35-30.1.el7.x86_64
---> Package perl-IO-Compress.noarch 0:2.061-2.el7 will be installed
--> Processing Dependency: perl(Compress::Raw::Zlib) >= 2.061 for package: perl-IO-Compress-2.061-2.el7.noarch
--> Processing Dependency: perl(Compress::Raw::Bzip2) >= 2.061 for package: perl-IO-Compress-2.061-2.el7.noarch
---> Package perl-Net-Daemon.noarch 0:0.48-5.el7 will be installed
--> Running transaction check
---> Package percona-xtrabackup-80.x86_64 0:8.0.35-30.1.el7 will be installed
--> Processing Dependency: zstd for package: percona-xtrabackup-80-8.0.35-30.1.el7.x86_64
--> Processing Dependency: libev.so.4()(64bit) for package: percona-xtrabackup-80-8.0.35-30.1.el7.x86_64
---> Package perl-Compress-Raw-Bzip2.x86_64 0:2.061-3.el7 will be installed
---> Package perl-Compress-Raw-Zlib.x86_64 1:2.061-4.el7 will be installed
--> Finished Dependency Resolution
Error: Package: percona-xtrabackup-80-8.0.35-30.1.el7.x86_64 (tools-release-x86_64)
Requires: zstd
Error: Package: percona-xtrabackup-80-8.0.35-30.1.el7.x86_64 (tools-release-x86_64)
Requires: libev.so.4()(64bit)
You could try using --skip-broken to work around the problem
** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows:
2:postfix-2.10.1-9.el7.x86_64 has missing requires of libmysqlclient.so.18()(64bit)
2:postfix-2.10.1-9.el7.x86_64 has missing requires of libmysqlclient.so.18(libmysqlclient_18)(64bit)
[root@ycla ~]# ldconfig -p | grep libmysqlclient.so.18
[root@ycla ~]# yum install mysql-devel
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package mariadb-devel.x86_64 1:5.5.68-1.el7 will be installed
--> Processing Dependency: mariadb-libs(x86-64) = 1:5.5.68-1.el7 for package: 1:mariadb-devel-5.5.68-1.el7.x86_64
--> Processing Dependency: openssl-devel(x86-64) for package: 1:mariadb-devel-5.5.68-1.el7.x86_64
--> Processing Dependency: libmysqlclient.so.18()(64bit) for package: 1:mariadb-devel-5.5.68-1.el7.x86_64
--> Running transaction check
---> Package mariadb-libs.x86_64 1:5.5.68-1.el7 will be installed
---> Package openssl-devel.x86_64 1:1.0.2k-19.el7 will be installed
--> Processing Dependency: zlib-devel(x86-64) for package: 1:openssl-devel-1.0.2k-19.el7.x86_64
--> Processing Dependency: krb5-devel(x86-64) for package: 1:openssl-devel-1.0.2k-19.el7.x86_64
--> Running transaction check
---> Package krb5-devel.x86_64 0:1.15.1-50.el7 will be installed
--> Processing Dependency: libkadm5(x86-64) = 1.15.1-50.el7 for package: krb5-devel-1.15.1-50.el7.x86_64
--> Processing Dependency: libverto-devel for package: krb5-devel-1.15.1-50.el7.x86_64
--> Processing Dependency: libselinux-devel for package: krb5-devel-1.15.1-50.el7.x86_64
--> Processing Dependency: libcom_err-devel for package: krb5-devel-1.15.1-50.el7.x86_64
--> Processing Dependency: keyutils-libs-devel for package: krb5-devel-1.15.1-50.el7.x86_64
---> Package zlib-devel.x86_64 0:1.2.7-18.el7 will be installed
--> Running transaction check
---> Package keyutils-libs-devel.x86_64 0:1.5.8-3.el7 will be installed
---> Package libcom_err-devel.x86_64 0:1.42.9-19.el7 will be installed
---> Package libkadm5.x86_64 0:1.15.1-50.el7 will be installed
---> Package libselinux-devel.x86_64 0:2.5-15.el7 will be installed
--> Processing Dependency: libsepol-devel(x86-64) >= 2.5-10 for package: libselinux-devel-2.5-15.el7.x86_64
--> Processing Dependency: pkgconfig(libsepol) for package: libselinux-devel-2.5-15.el7.x86_64
--> Processing Dependency: pkgconfig(libpcre) for package: libselinux-devel-2.5-15.el7.x86_64
---> Package libverto-devel.x86_64 0:0.2.5-4.el7 will be installed
--> Running transaction check
---> Package libsepol-devel.x86_64 0:2.5-10.el7 will be installed
---> Package pcre-devel.x86_64 0:8.32-17.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================================================================================================================
Package Arch Version Repository Size
================================================================================================================================================================================
Installing:
mariadb-devel x86_64 1:5.5.68-1.el7 local 757 k
Installing for dependencies:
keyutils-libs-devel x86_64 1.5.8-3.el7 local 37 k
krb5-devel x86_64 1.15.1-50.el7 local 273 k
libcom_err-devel x86_64 1.42.9-19.el7 local 32 k
libkadm5 x86_64 1.15.1-50.el7 local 179 k
libselinux-devel x86_64 2.5-15.el7 local 187 k
libsepol-devel x86_64 2.5-10.el7 local 77 k
libverto-devel x86_64 0.2.5-4.el7 local 12 k
mariadb-libs x86_64 1:5.5.68-1.el7 local 760 k
openssl-devel x86_64 1:1.0.2k-19.el7 local 1.5 M
pcre-devel x86_64 8.32-17.el7 local 480 k
zlib-devel x86_64 1.2.7-18.el7 local 50 k
Transaction Summary
================================================================================================================================================================================
Install 1 Package (+11 Dependent packages)
Total download size: 4.3 M
Installed size: 14 M
Is this ok [y/d/N]: y
Downloading packages:
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 41 MB/s | 4.3 MB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : libkadm5-1.15.1-50.el7.x86_64 1/12
Installing : libsepol-devel-2.5-10.el7.x86_64 2/12
Installing : libcom_err-devel-1.42.9-19.el7.x86_64 3/12
Installing : pcre-devel-8.32-17.el7.x86_64 4/12
Installing : libselinux-devel-2.5-15.el7.x86_64 5/12
Installing : keyutils-libs-devel-1.5.8-3.el7.x86_64 6/12
Installing : zlib-devel-1.2.7-18.el7.x86_64 7/12
Installing : libverto-devel-0.2.5-4.el7.x86_64 8/12
Installing : krb5-devel-1.15.1-50.el7.x86_64 9/12
Installing : 1:openssl-devel-1.0.2k-19.el7.x86_64 10/12
Installing : 1:mariadb-libs-5.5.68-1.el7.x86_64 11/12
warning: /etc/my.cnf created as /etc/my.cnf.rpmnew
Installing : 1:mariadb-devel-5.5.68-1.el7.x86_64 12/12
Verifying : libselinux-devel-2.5-15.el7.x86_64 1/12
Verifying : 1:mariadb-devel-5.5.68-1.el7.x86_64 2/12
Verifying : 1:mariadb-libs-5.5.68-1.el7.x86_64 3/12
Verifying : libverto-devel-0.2.5-4.el7.x86_64 4/12
Verifying : zlib-devel-1.2.7-18.el7.x86_64 5/12
Verifying : keyutils-libs-devel-1.5.8-3.el7.x86_64 6/12
Verifying : pcre-devel-8.32-17.el7.x86_64 7/12
Verifying : 1:openssl-devel-1.0.2k-19.el7.x86_64 8/12
Verifying : libcom_err-devel-1.42.9-19.el7.x86_64 9/12
Verifying : krb5-devel-1.15.1-50.el7.x86_64 10/12
Verifying : libsepol-devel-2.5-10.el7.x86_64 11/12
Verifying : libkadm5-1.15.1-50.el7.x86_64 12/12
Installed:
mariadb-devel.x86_64 1:5.5.68-1.el7
Dependency Installed:
keyutils-libs-devel.x86_64 0:1.5.8-3.el7 krb5-devel.x86_64 0:1.15.1-50.el7 libcom_err-devel.x86_64 0:1.42.9-19.el7 libkadm5.x86_64 0:1.15.1-50.el7
libselinux-devel.x86_64 0:2.5-15.el7 libsepol-devel.x86_64 0:2.5-10.el7 libverto-devel.x86_64 0:0.2.5-4.el7 mariadb-libs.x86_64 1:5.5.68-1.el7
openssl-devel.x86_64 1:1.0.2k-19.el7 pcre-devel.x86_64 0:8.32-17.el7 zlib-devel.x86_64 0:1.2.7-18.el7
Complete!
[root@ycla ~]# ldconfig -p | grep libmysqlclient.so.18
libmysqlclient.so.18 (libc6,x86-64) => /usr/lib64/mysql/libmysqlclient.so.18
[root@ycla ~]# rpm -aq|grep mysql
[root@ycla ~]# yum install percona-xtrabackup-80
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package percona-xtrabackup-80.x86_64 0:8.0.35-30.1.el7 will be installed
--> Processing Dependency: perl(DBD::mysql) for package: percona-xtrabackup-80-8.0.35-30.1.el7.x86_64
--> Processing Dependency: perl(Digest::MD5) for package: percona-xtrabackup-80-8.0.35-30.1.el7.x86_64
--> Processing Dependency: zstd for package: percona-xtrabackup-80-8.0.35-30.1.el7.x86_64
--> Processing Dependency: libev.so.4()(64bit) for package: percona-xtrabackup-80-8.0.35-30.1.el7.x86_64
--> Running transaction check
---> Package percona-xtrabackup-80.x86_64 0:8.0.35-30.1.el7 will be installed
--> Processing Dependency: zstd for package: percona-xtrabackup-80-8.0.35-30.1.el7.x86_64
--> Processing Dependency: libev.so.4()(64bit) for package: percona-xtrabackup-80-8.0.35-30.1.el7.x86_64
---> Package perl-DBD-MySQL.x86_64 0:4.023-6.el7 will be installed
--> Processing Dependency: perl(DBI::Const::GetInfoType) for package: perl-DBD-MySQL-4.023-6.el7.x86_64
--> Processing Dependency: perl(DBI) for package: perl-DBD-MySQL-4.023-6.el7.x86_64
---> Package perl-Digest-MD5.x86_64 0:2.52-3.el7 will be installed
--> Processing Dependency: perl(Digest::base) >= 1.00 for package: perl-Digest-MD5-2.52-3.el7.x86_64
--> Running transaction check
---> Package percona-xtrabackup-80.x86_64 0:8.0.35-30.1.el7 will be installed
--> Processing Dependency: zstd for package: percona-xtrabackup-80-8.0.35-30.1.el7.x86_64
--> Processing Dependency: libev.so.4()(64bit) for package: percona-xtrabackup-80-8.0.35-30.1.el7.x86_64
---> Package perl-DBI.x86_64 0:1.627-4.el7 will be installed
--> Processing Dependency: perl(RPC::PlServer) >= 0.2001 for package: perl-DBI-1.627-4.el7.x86_64
--> Processing Dependency: perl(RPC::PlClient) >= 0.2000 for package: perl-DBI-1.627-4.el7.x86_64
--> Processing Dependency: perl(Data::Dumper) for package: perl-DBI-1.627-4.el7.x86_64
---> Package perl-Digest.noarch 0:1.17-245.el7 will be installed
--> Running transaction check
---> Package percona-xtrabackup-80.x86_64 0:8.0.35-30.1.el7 will be installed
--> Processing Dependency: zstd for package: percona-xtrabackup-80-8.0.35-30.1.el7.x86_64
--> Processing Dependency: libev.so.4()(64bit) for package: percona-xtrabackup-80-8.0.35-30.1.el7.x86_64
---> Package perl-Data-Dumper.x86_64 0:2.145-3.el7 will be installed
---> Package perl-PlRPC.noarch 0:0.2020-14.el7 will be installed
--> Processing Dependency: perl(Net::Daemon) >= 0.13 for package: perl-PlRPC-0.2020-14.el7.noarch
--> Processing Dependency: perl(Net::Daemon::Test) for package: perl-PlRPC-0.2020-14.el7.noarch
--> Processing Dependency: perl(Net::Daemon::Log) for package: perl-PlRPC-0.2020-14.el7.noarch
--> Processing Dependency: perl(Compress::Zlib) for package: perl-PlRPC-0.2020-14.el7.noarch
--> Running transaction check
---> Package percona-xtrabackup-80.x86_64 0:8.0.35-30.1.el7 will be installed
--> Processing Dependency: zstd for package: percona-xtrabackup-80-8.0.35-30.1.el7.x86_64
--> Processing Dependency: libev.so.4()(64bit) for package: percona-xtrabackup-80-8.0.35-30.1.el7.x86_64
---> Package perl-IO-Compress.noarch 0:2.061-2.el7 will be installed
--> Processing Dependency: perl(Compress::Raw::Zlib) >= 2.061 for package: perl-IO-Compress-2.061-2.el7.noarch
--> Processing Dependency: perl(Compress::Raw::Bzip2) >= 2.061 for package: perl-IO-Compress-2.061-2.el7.noarch
---> Package perl-Net-Daemon.noarch 0:0.48-5.el7 will be installed
--> Running transaction check
---> Package percona-xtrabackup-80.x86_64 0:8.0.35-30.1.el7 will be installed
--> Processing Dependency: zstd for package: percona-xtrabackup-80-8.0.35-30.1.el7.x86_64
--> Processing Dependency: libev.so.4()(64bit) for package: percona-xtrabackup-80-8.0.35-30.1.el7.x86_64
---> Package perl-Compress-Raw-Bzip2.x86_64 0:2.061-3.el7 will be installed
---> Package perl-Compress-Raw-Zlib.x86_64 1:2.061-4.el7 will be installed
--> Finished Dependency Resolution
Error: Package: percona-xtrabackup-80-8.0.35-30.1.el7.x86_64 (tools-release-x86_64)
Requires: zstd
Error: Package: percona-xtrabackup-80-8.0.35-30.1.el7.x86_64 (tools-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
[root@ycla ~]# rpm -aq|grep libev
[root@ycla ~]# rpm -aq|grep zstd
[root@ycla ~]# yum install zstd
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
No package zstd available.
Error: Nothing to do
[root@ycla ~]# yum install epel-release
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
No package epel-release available.
Error: Nothing to do
[root@ycla ~]# yum install libzstd
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
No package libzstd available.
Error: Nothing to do
[root@ycla ~]# wget http://mirror.centos.org/centos/7/extras/x86_64/Packages/libev-4.15-7.el7.x86_64.rpm
--2024-03-13 16:05:36-- http://mirror.centos.org/centos/7/extras/x86_64/Packages/libev-4.15-7.el7.x86_64.rpm
Resolving mirror.centos.org (mirror.centos.org)... 13.231.175.254, 2604:1380:3011:1f00::1
Connecting to mirror.centos.org (mirror.centos.org)|13.231.175.254|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 45072 (44K) [application/x-rpm]
Saving to: ‘libev-4.15-7.el7.x86_64.rpm’
100%[======================================================================================================================================>] 45,072 --.-K/s in 0.1s
2024-03-13 16:05:36 (388 KB/s) - ‘libev-4.15-7.el7.x86_64.rpm’ saved [45072/45072]
[root@ycla ~]# rpm -ivh libev-4.15-7.el7.x86_64.rpm
warning: libev-4.15-7.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
Preparing... ################################# [100%]
Updating / installing...
1:libev-4.15-7.el7 ################################# [100%]
[root@ycla ~]# yum install percona-xtrabackup-80
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package percona-xtrabackup-80.x86_64 0:8.0.35-30.1.el7 will be installed
--> Processing Dependency: perl(Digest::MD5) for package: percona-xtrabackup-80-8.0.35-30.1.el7.x86_64
--> Processing Dependency: zstd for package: percona-xtrabackup-80-8.0.35-30.1.el7.x86_64
--> Running transaction check
---> Package percona-xtrabackup-80.x86_64 0:8.0.35-30.1.el7 will be installed
--> Processing Dependency: zstd for package: percona-xtrabackup-80-8.0.35-30.1.el7.x86_64
---> Package perl-Digest-MD5.x86_64 0:2.52-3.el7 will be installed
--> Processing Dependency: perl(Digest::base) >= 1.00 for package: perl-Digest-MD5-2.52-3.el7.x86_64
--> Running transaction check
---> Package percona-xtrabackup-80.x86_64 0:8.0.35-30.1.el7 will be installed
--> Processing Dependency: zstd for package: percona-xtrabackup-80-8.0.35-30.1.el7.x86_64
---> Package perl-Digest.noarch 0:1.17-245.el7 will be installed
--> Finished Dependency Resolution
Error: Package: percona-xtrabackup-80-8.0.35-30.1.el7.x86_64 (tools-release-x86_64)
Requires: zstd
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[root@ycla ~]# wget https://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/z/zstd-1.5.5-1.el7.x86_64.rpm
--2024-03-13 16:08:53-- https://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/z/zstd-1.5.5-1.el7.x86_64.rpm
Resolving dl.fedoraproject.org (dl.fedoraproject.org)... 38.145.60.24, 38.145.60.22, 38.145.60.23
Connecting to dl.fedoraproject.org (dl.fedoraproject.org)|38.145.60.24|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 459964 (449K) [application/x-rpm]
Saving to: ‘zstd-1.5.5-1.el7.x86_64.rpm’
100%[======================================================================================================================================>] 459,964 18.6KB/s in 18s
2024-03-13 16:09:12 (25.5 KB/s) - ‘zstd-1.5.5-1.el7.x86_64.rpm’ saved [459964/459964]
[root@ycla ~]# rpm -ivh zstd-1.5.5-1.el7.x86_64.rpm
warning: zstd-1.5.5-1.el7.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID 352c64e5: NOKEY
Preparing... ################################# [100%]
Updating / installing...
1:zstd-1.5.5-1.el7 ################################# [100%]
[root@ycla ~]# yum install percona-xtrabackup-80
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package percona-xtrabackup-80.x86_64 0:8.0.35-30.1.el7 will be installed
--> Processing Dependency: perl(Digest::MD5) for package: percona-xtrabackup-80-8.0.35-30.1.el7.x86_64
--> Running transaction check
---> Package perl-Digest-MD5.x86_64 0:2.52-3.el7 will be installed
--> Processing Dependency: perl(Digest::base) >= 1.00 for package: perl-Digest-MD5-2.52-3.el7.x86_64
--> Running transaction check
---> Package perl-Digest.noarch 0:1.17-245.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================================================================================================================
Package Arch Version Repository Size
================================================================================================================================================================================
Installing:
percona-xtrabackup-80 x86_64 8.0.35-30.1.el7 tools-release-x86_64 43 M
Installing for dependencies:
perl-Digest noarch 1.17-245.el7 local 23 k
perl-Digest-MD5 x86_64 2.52-3.el7 local 30 k
Transaction Summary
================================================================================================================================================================================
Install 1 Package (+2 Dependent packages)
Total download size: 43 M
Installed size: 43 M
Is this ok [y/d/N]: N
Exiting on user command
Your transaction was saved, rerun it with:
yum load-transaction /tmp/yum_save_tx.2024-03-13.16-09.USN4Ow.yumtx
最后修改时间:2024-03-13 16:26:30
「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。




