Bug 5456 - [Anolis23 GA][x86_64][软件兼容性]yum源中没有platform-python软件包,导致安装mongodb软件失败
Summary: [Anolis23 GA][x86_64][软件兼容性]yum源中没有platform-python软件包,导致安装mongodb软件失败
Status: CLOSED FIXED
Alias: None
Product: Anolis OS 23
Classification: Anolis OS
Component: BaseOS Packages (show other bugs) BaseOS Packages
Version: unspecified
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: 扣肉
QA Contact: bolong_tbl
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-08 11:20 UTC by wangpingping
Modified: 2023-07-03 16:17 UTC (History)
12 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wangpingping alibaba_cloud_group 2023-06-08 11:20:28 UTC
[缺陷描述]:
yum源中没有platform-python软件包,导致测试软件兼容性mongodb软件包失败

日志如下:
# yum install platform-python
Failed to set locale, defaulting to C.UTF-8
Last metadata expiration check: 0:51:39 ago on Thu Jun  8 10:26:57 2023.
No match for argument: platform-python
Error: Unable to find a match: platform-python


[重现环境]:
环境信息:云上ecs
OS:Anolis 23 x86_64

# 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/"

KERNEL:
# uname -r
5.10.134-14.an23.x86_64

repo信息:
Repo-id            : AppStream-Nightly
Repo-name          : AnolisOS-23 - AppStream
Repo-baseurl       : http://mirrors.openanolis.cn/anolis/23/Nightly/AppStream/x86_64/os
Repo-filename      : /etc/yum.repos.d/AnolisOS-Nightly.repo

Repo-id            : BaseOS-Nightly
Repo-name          : AnolisOS-23 - BaseOS
Repo-baseurl       : http://mirrors.openanolis.cn/anolis/23/Nightly/BaseOS/x86_64/os
Repo-filename      : /etc/yum.repos.d/AnolisOS-Nightly.repo


[重现步骤]:
yum install -y platform-python


[期望结果]:
yum源中有platform-python,且安装成功

[实际结果]:
yum源中没有platform-python软件包


[原因定位]:
an8中存在platform-python并可以正常安装使用,请确认an23是否需要platform-python

# yum list platform-python
Last metadata expiration check: 0:56:10 ago on Thu 08 Jun 2023 10:15:54 AM CST.
Installed Packages
platform-python.x86_64                                         3.6.8-47.0.1.an8_6                                         @System
Available Packages
platform-python.x86_64                                         3.6.8-48.0.2.an8.1                                         BaseOS
Comment 1 扣肉 2023-06-08 12:33:45 UTC
mongodb 是从哪里来的?
Comment 2 扣肉 2023-06-08 12:51:01 UTC
python3-3.10.12 等待合入中
Comment 3 扣肉 2023-06-09 15:52:39 UTC
python3-3.10.12-1 已到达镜像
Comment 4 yunmeng365524 2023-07-03 16:17:56 UTC
[root@iZbp1eypdp3hunewckvjqvZ ~]# yum install platform-python
Failed to set locale, defaulting to C.UTF-8
Last metadata expiration check: 1:23:18 ago on Mon Jul  3 14:54:23 2023.
Package python3-3.10.12-1.an23.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[root@iZbp1eypdp3hunewckvjqvZ ~]# rpm -q platform-python
package platform-python is not installed
[root@iZbp1eypdp3hunewckvjqvZ ~]#