Bug 8842 - [Anolis23.1 GA][Beta][23.1核心软件包-ding-libs]执行yum install ding-libs -y命令,提示No match for argument: ding-libs
Summary: [Anolis23.1 GA][Beta][23.1核心软件包-ding-libs]执行yum install ding-libs -y命令,提示No m...
Status: CLOSED INVALID
Alias: None
Product: Anolis OS 23
Classification: Anolis OS
Component: BaseOS Packages (show other bugs) BaseOS Packages
Version: 23.1
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: gaochang
QA Contact: bolong_tbl
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-23 14:29 UTC by wb-qtt862918
Modified: 2024-05-22 11:11 UTC (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wb-qtt862918 2024-04-23 14:29:59 UTC
[问题描述]:
Anolis23环境,执行yum install ding-libs -y命令,提示No match for argument: ding-libs

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

[内核信息]:
uname -r
5.10.134-15.an23.x86_64

[操作系统信息]:
[root@iZbp175juabkzgxnbfv786Z yum.repos.d]# 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/"


[重现步骤]:
1、设置/etc/yum.repos.d/AnolisOS.repo文件内容如下:
[os-source]
name=AnolisOS-$releasever - os Source
baseurl=https://mirrors.openanolis.cn/anolis/23/Nightly/os/$basearch/os
enabled=1
gpgkey=http://mirrors.cloud.aliyuncs.com/anolis/RPM-GPG-KEY-ANOLIS
gpgcheck=1

[updates-source]
name=AnolisOS-$releasever - updates Source
baseurl=https://mirrors.openanolis.cn/anolis/23/Nightly/updates/$basearch/os
enabled=1
gpgkey=http://mirrors.cloud.aliyuncs.com/anolis/RPM-GPG-KEY-ANOLIS
gpgcheck=1

[kernel-source]
name=AnolisOS-$releasever - kernel-6 Source
baseurl=http://mirrors.cloud.aliyuncs.com/anolis/$releasever/kernel-6/source/
enabled=0
gpgkey=http://mirrors.cloud.aliyuncs.com/anolis/RPM-GPG-KEY-ANOLIS
gpgcheck=1

2、执行yum clean all、yum makecache后再执行yum install ding-libs -y

3、将步骤1中的[os-source]中的baseurl修改为https://build.openanolis.cn/kojifiles/output/anolis-23-20240419.0/compose/os/$basearch/os后,再次执行步骤2

执行结果:
步骤2和步骤3,安装ding-libs均失败


[root@iZbp175juabkzgxnbfv786Z yum.repos.d]# yum clean all
12 files removed
[root@iZbp175juabkzgxnbfv786Z yum.repos.d]# yum makecache 
AnolisOS-23 - os                                                                                                                                  22 MB/s |  11 MB     00:00    
Last metadata expiration check: 0:00:02 ago on Tue 23 Apr 2024 01:59:47 PM CST.
Metadata cache created.
[root@iZbp175juabkzgxnbfv786Z yum.repos.d]# yum install -y ding-libs
Last metadata expiration check: 0:07:18 ago on Tue 23 Apr 2024 01:59:47 PM CST.
No match for argument: ding-libs
Error: Unable to find a match: ding-libs
Comment 2 gaochang alibaba_cloud_group 2024-05-06 14:05:57 UTC
ding-libs 是source 软件包名称,source 软件包无法通过 yum 直接安装
如果该测试项是要测试二进制的安装,那么该包提供的二进制包如下:
libbasicobjects
libbasicobjects-devel
libcollection
libcollection-devel
libdhash
libdhash-devel
libini_config
libini_config-devel
libpath_utils
libpath_utils-devel
libref_array
libref_array-devel
如果是测试源码包的安装,那么请使用 yumdownloader 安装
yumdownloader --source ding-libs
Comment 3 Banana alibaba_cloud_group 2024-05-22 11:11:37 UTC
无效问题,关闭问题单