Bug 4305 - [Anolis 23][nightly][5.10.134][aarch64]安装perf包时报依赖项失败
Summary: [Anolis 23][nightly][5.10.134][aarch64]安装perf包时报依赖项失败
Status: RESOLVED DUPLICATE of bug 4272
Alias: None
Product: Antest
Classification: Infrastructures
Component: 测试用例 (show other bugs) 测试用例
Version: unspecified
Hardware: aarch64 Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: yunmeng365524
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-02 16:26 UTC by Banana
Modified: 2023-03-02 16:46 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 Banana alibaba_cloud_group 2023-03-02 16:26:40 UTC
[问题描述]:Anolis23 5.10内核Nightly,安装perf rpm包时包依赖错误

错误信息:
[root@qibo-anolis23-nightly-func-arm-1 opt]# rpm -ivh perf-5.10.134-17.git.c6fa6630dc708.an23.aarch64.rpm
error: Failed dependencies:
        libcrypt.so.1()(64bit) is needed by perf-5.10.134-17.git.c6fa6630dc708.an23.aarch64
        libperl.so.5.26()(64bit) is needed by perf-5.10.134-17.git.c6fa6630dc708.an23.aarch64

默认perl提供的信息:
[root@qibo-anolis23-nightly-func-arm-1 opt]# rpm -q --provides perl-libs | grep libperl.so
libperl.so.5.34()(64bit)

手动安装perf,系统解决依赖后提供的libperl.so版本:
[root@qibo-anolis23-nightly-func-arm-1 opt]# rpm -q --provides perl-libs | grep libperl.so
libperl.so.5.36()(64bit)

使用yum localinstall安装:
[root@qibo-anolis23-nightly-func-arm-1 opt]# yum localinstall perf-5.10.134-17.git.c6fa6630dc708.an23.aarch64.rpm
Last metadata expiration check: 1:14:29 ago on Thu Mar  2 15:10:16 2023.
Error:
 Problem: conflicting requests
  - nothing provides libperl.so.5.26()(64bit) needed by perf-5.10.134-17.git.c6fa6630dc708.an23.aarch64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

[环境信息]:
机器类型:ECS

[内核信息]:
[root@qibo-anolis23-nightly-func-arm-1 opt]# uname -r
5.10.134-10.git.096ddf4ca2417.an23.aarch64

[操作系统信息]:
[root@qibo-anolis23-nightly-func-arm-1 opt]# uname -r
5.10.134-10.git.096ddf4ca2417.an23.aarch64
[root@qibo-anolis23-nightly-func-arm-1 opt]# cat /etc/os-release
NAME="Anolis OS"
VERSION="23"
ID="anolis"
VERSION_ID="23"
PLATFORM_ID="platform:an23"
PRETTY_NAME="Anolis OS 23"
ANSI_COLOR="0;31"
HOME_URL="https://openanolis.cn/"
BUG_REPORT_URL="https://bugzilla.openanolis.cn/"

[问题发生概率]:
必现

[复现步骤]:
rpm -ivh perf.rpm
Comment 1 yunmeng365524 2023-03-02 16:44:43 UTC
在https://bugzilla.openanolis.cn/show_bug.cgi?id=4272 中跟踪
Comment 2 yunmeng365524 2023-03-02 16:46:00 UTC
https://bugzilla.openanolis.cn/show_bug.cgi?id=4272

*** This bug has been marked as a duplicate of bug 4272 ***