Bug 5416 - [Anolis23 GA][aarch64]Anolis23-pkg-nightly-test Percona-XtraDB-Cluster-full-57软件包安装缺少依赖
Summary: [Anolis23 GA][aarch64]Anolis23-pkg-nightly-test Percona-XtraDB-Cluster-full-5...
Status: RESOLVED BYDESIGN
Alias: None
Product: Anolis OS 23
Classification: Anolis OS
Component: BaseOS Packages (show other bugs) BaseOS Packages
Version: 23.0
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: happy_orange
QA Contact: bolong_tbl
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-06 14:13 UTC by gitpush
Modified: 2023-07-03 10:42 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gitpush alibaba_cloud_group 2023-06-06 14:13:55 UTC
软件包: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)
Comment 1 扣肉 2023-06-06 19:30:36 UTC
上游软件的依赖关系就是这样的:

# 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仓库
Comment 2 gitpush alibaba_cloud_group 2023-06-29 17:24:39 UTC
(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)
Comment 3 yunmeng365524 2023-07-03 10:42:36 UTC
为什么装了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 ~]#