Bug 2614 - [Anolis 23 Preview][arch64]sysstat 软件包在arm上安装失败
Summary: [Anolis 23 Preview][arch64]sysstat 软件包在arm上安装失败
Status: CLOSED FIXED
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: xuchunmei
QA Contact: bolong_tbl
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-27 17:22 UTC by yunmeng365524
Modified: 2022-11-01 20:36 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yunmeng365524 2022-10-27 17:22:11 UTC
Description of problem:
sysstat 软件包在arm上安装失败

Version-Release number of selected component (if applicable):
[root@iZbp10tndzn2fahsrwa0gnZ ~]# uname -a
Linux iZbp10tndzn2fahsrwa0gnZ 5.10.134-12.1.an23.aarch64 #1 SMP Thu Oct 13 11:31:15 CST 2022 aarch64 GNU/Linux

How reproducible:
[root@iZbp10tndzn2fahsrwa0gnZ ~]# yum install sysstat
Failed to set locale, defaulting to C.UTF-8
Last metadata expiration check: 2:33:32 ago on Thu Oct 27 14:39:13 2022.
Error:
 Problem: conflicting requests
  - nothing provides libpcp.so.3()(64bit) needed by sysstat-12.5.5-1.an23.aarch64
  - nothing provides libpcp.so.3(PCP_3.22)(64bit) needed by sysstat-12.5.5-1.an23.aarch64
  - nothing provides libpcp_import.so.1()(64bit) needed by sysstat-12.5.5-1.an23.aarch64
  - nothing provides libpcp_import.so.1(PCP_IMPORT_1.0)(64bit) needed by sysstat-12.5.5-1.an23.aarch64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

Steps to Reproduce:
同上

Actual results:
安装失败

Expected results:
安装成功

Additional info:
x86正常安装:
[root@iZbp14ub0x084rkaiux0krZ test-results]# uname -a
Linux iZbp14ub0x084rkaiux0krZ 5.10.134-12.1.an23.x86_64 #1 SMP Thu Oct 13 11:38:24 CST 2022 x86_64 GNU/Linux
[root@iZbp14ub0x084rkaiux0krZ test-results]# rpm -q sysstat
sysstat-12.5.5-1.an23.x86_64
Comment 1 xuchunmei alibaba_cloud_group 2022-10-27 17:28:30 UTC
aarch64上额外依赖了pcp-libs导致,已在sysstat-12.5.5-2.an23版本解决
Comment 2 yunmeng365524 2022-11-01 20:36:35 UTC
[root@localhost anuser]# yum install sysstat -y
Last metadata expiration check: 0:13:07 ago on Tue Nov  1 20:23:00 2022.
Package sysstat-12.5.5-1.an23.x86_64 is already installed.
Dependencies resolved.
========================================================================================================================================
 Package                       Architecture                 Version                               Repository                       Size
========================================================================================================================================
Upgrading:
 sysstat                       x86_64                       12.5.5-2.an23                         AppStream                       399 k

Transaction Summary
========================================================================================================================================
Upgrade  1 Package

Total download size: 399 k
Downloading Packages:
sysstat-12.5.5-2.an23.x86_64.rpm                                                                        9.0 MB/s | 399 kB     00:00
----------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                   8.8 MB/s | 399 kB     00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                1/1
  Upgrading        : sysstat-12.5.5-2.an23.x86_64                                                                                   1/2
  Running scriptlet: sysstat-12.5.5-2.an23.x86_64                                                                                   1/2
  Running scriptlet: sysstat-12.5.5-1.an23.x86_64                                                                                   2/2
  Cleanup          : sysstat-12.5.5-1.an23.x86_64                                                                                   2/2
  Running scriptlet: sysstat-12.5.5-1.an23.x86_64                                                                                   2/2
  Verifying        : sysstat-12.5.5-2.an23.x86_64                                                                                   1/2
  Verifying        : sysstat-12.5.5-1.an23.x86_64                                                                                   2/2

Upgraded:
  sysstat-12.5.5-2.an23.x86_64

Complete!
[root@localhost anuser]# uname -a
Linux localhost.localdomain 5.10.134-12.1.an23.x86_64 #1 SMP Thu Oct 13 11:38:24 CST 2022 x86_64 GNU/Linux
[root@localhost anuser]#