[问题描述]: 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
https://gitee.com/gcdota930915/community_orig/blob/master/sig/sig-distro/content/articles/Anolis%20OS%2023.1%20%E7%89%88%E6%9C%AC%E8%A7%84%E5%88%92%E5%8F%8A%E5%9F%BA%E7%BA%BF%E9%80%89%E5%9E%8B.md 核心软件列表中有这个包,但是yum 没有
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
无效问题,关闭问题单