软件包:Percona-XtraDB-Cluster-full-57.aarch64 安装失败过程: [root@iZbp18zpeh3mcx8x8tilxdZ ~]# cat /tmp/pkg_test/Percona-XtraDB-Cluster-full-57.aarch64_install.log Last metadata expiration check: 0:01:27 ago on Mon Jun 5 15:43:28 2023. Error: Problem: conflicting requests - nothing provides Percona-XtraDB-Cluster-57-debuginfo = 5.7.41-31.65.1.an23 needed by Percona-XtraDB-Cluster-full-57-5.7.41-31.65.1.an23.aarch64 from AppStream-Test (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
上游软件的依赖关系就是这样的: # rpm -qp --requires https://downloads.percona.com/downloads/Percona-XtraDB-Cluster-57/Percona-XtraDB-Cluster-5.7.41-31.65/binary/redhat/9/x86_64/Percona-XtraDB-Cluster-full-57-5.7.41-31.65.1.el9.x86_64.rpm /sbin/chkconfig /usr/sbin/groupadd /usr/sbin/useradd Percona-XtraDB-Cluster-57-debuginfo = 5.7.41-31.65.1.el9 Percona-XtraDB-Cluster-client-57 = 5.7.41-31.65.1.el9 Percona-XtraDB-Cluster-devel-57 = 5.7.41-31.65.1.el9 Percona-XtraDB-Cluster-garbd-57 = 5.7.41-31.65.1.el9 Percona-XtraDB-Cluster-server-57 = 5.7.41-31.65.1.el9 Percona-XtraDB-Cluster-test-57 = 5.7.41-31.65.1.el9 coreutils grep procps rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(PayloadIsZstd) <= 5.4.18-1 要安装full,应该启用debug仓库
(In reply to 扣肉 from comment #1) > 上游软件的依赖关系就是这样的: > > # rpm -qp --requires > https://downloads.percona.com/downloads/Percona-XtraDB-Cluster-57/Percona- > XtraDB-Cluster-5.7.41-31.65/binary/redhat/9/x86_64/Percona-XtraDB-Cluster- > full-57-5.7.41-31.65.1.el9.x86_64.rpm > /sbin/chkconfig > /usr/sbin/groupadd > /usr/sbin/useradd > Percona-XtraDB-Cluster-57-debuginfo = 5.7.41-31.65.1.el9 > Percona-XtraDB-Cluster-client-57 = 5.7.41-31.65.1.el9 > Percona-XtraDB-Cluster-devel-57 = 5.7.41-31.65.1.el9 > Percona-XtraDB-Cluster-garbd-57 = 5.7.41-31.65.1.el9 > Percona-XtraDB-Cluster-server-57 = 5.7.41-31.65.1.el9 > Percona-XtraDB-Cluster-test-57 = 5.7.41-31.65.1.el9 > coreutils > grep > procps > rpmlib(CompressedFileNames) <= 3.0.4-1 > rpmlib(FileDigests) <= 4.6.0-1 > rpmlib(PayloadFilesHavePrefix) <= 4.0-1 > rpmlib(PayloadIsZstd) <= 5.4.18-1 > > 要安装full,应该启用debug仓库 开启debug仓库后依然下载失败 [root@iZbp15k38m0xei9mfnkl3aZ ~]# yum makecache Failed to set locale, defaulting to C.UTF-8 AnolisOS-23 - AppStream Debuginfo 85 kB/s | 3.0 kB 00:00 AnolisOS-23 - BaseOS Debuginfo 92 kB/s | 3.0 kB 00:00 AnolisOS-23 - AppStream Source 52 kB/s | 3.0 kB 00:00 AnolisOS-23 - BaseOS Source 118 kB/s | 3.0 kB 00:00 AnolisOS-23 - BaseOS-Test 204 kB/s | 3.8 kB 00:00 AnolisOS-23 - AppStream-Test 191 kB/s | 3.8 kB 00:00 Metadata cache created. [root@iZbp15k38m0xei9mfnkl3aZ ~]# yum install Percona-XtraDB-Cluster-full-57 Failed to set locale, defaulting to C.UTF-8 Last metadata expiration check: 0:00:03 ago on Thu Jun 29 17:23:37 2023. Error: Problem: conflicting requests - nothing provides Percona-XtraDB-Cluster-57-debuginfo = 5.7.41-31.65.1.an23 needed by Percona-XtraDB-Cluster-full-57-5.7.41-31.65.1.an23.x86_64 from AppStream-Test (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
为什么装了debuginfo的包也装不上? [root@iZbp1eypdp3hunewckvjqvZ ~]# yum install -y Percona-XtraDB-Cluster-57-debuginfo.x86_64 Failed to set locale, defaulting to C.UTF-8 Last metadata expiration check: 0:00:15 ago on Mon Jul 3 10:40:51 2023. Dependencies resolved. ============================================================================================================================ Package Architecture Version Repository Size ============================================================================================================================ Installing: Percona-XtraDB-Cluster-57-debuginfo x86_64 5.7.39-31.61.2.an23 AppStream-debuginfo 7.2 M Installing weak dependencies: Percona-XtraDB-Cluster-57-debugsource x86_64 5.7.39-31.61.2.an23 AppStream-debuginfo 10 M Transaction Summary ============================================================================================================================ Install 2 Packages Total download size: 17 M Installed size: 122 M Downloading Packages: (1/2): Percona-XtraDB-Cluster-57-debugsource-5.7.39-31.61.2.an23.x86_64.rpm 20 MB/s | 10 MB 00:00 (2/2): Percona-XtraDB-Cluster-57-debuginfo-5.7.39-31.61.2.an23.x86_64.rpm 12 MB/s | 7.2 MB 00:00 ---------------------------------------------------------------------------------------------------------------------------- Total 28 MB/s | 17 MB 00:00 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : Percona-XtraDB-Cluster-57-debugsource-5.7.39-31.61.2.an23.x86_64 1/2 Installing : Percona-XtraDB-Cluster-57-debuginfo-5.7.39-31.61.2.an23.x86_64 2/2 Running scriptlet: Percona-XtraDB-Cluster-57-debuginfo-5.7.39-31.61.2.an23.x86_64 2/2 Verifying : Percona-XtraDB-Cluster-57-debuginfo-5.7.39-31.61.2.an23.x86_64 1/2 Verifying : Percona-XtraDB-Cluster-57-debugsource-5.7.39-31.61.2.an23.x86_64 2/2 Installed: Percona-XtraDB-Cluster-57-debuginfo-5.7.39-31.61.2.an23.x86_64 Percona-XtraDB-Cluster-57-debugsource-5.7.39-31.61.2.an23.x86_64 Complete! [root@iZbp1eypdp3hunewckvjqvZ ~]# yum install Percona-XtraDB-Cluster-full-57 Failed to set locale, defaulting to C.UTF-8 Last metadata expiration check: 0:00:30 ago on Mon Jul 3 10:40:51 2023. Error: Problem: cannot install the best candidate for the job - nothing provides Percona-XtraDB-Cluster-57-debuginfo = 5.7.41-31.65.1.an23 needed by Percona-XtraDB-Cluster-full-57-5.7.41-31.65.1.an23.x86_64 from AppStream-Test (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages) [root@iZbp1eypdp3hunewckvjqvZ ~]#