Bug 11773 - [Anolis23.2][RC1][aarch64]安装qemu等相关组件缺少依赖
Summary: [Anolis23.2][RC1][aarch64]安装qemu等相关组件缺少依赖
Status: CLOSED DUPLICATE of bug 11765
Alias: None
Product: Anolis OS 23
Classification: Anolis OS
Component: BaseOS Packages (show other bugs) BaseOS Packages
Version: 23.2
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: gaochang
QA Contact: bolong_tbl
URL:
Whiteboard:
Keywords: Function
Depends on:
Blocks:
 
Reported: 2024-11-07 17:20 UTC by gitpush
Modified: 2024-12-06 15:27 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 gitpush alibaba_cloud_group 2024-11-07 17:20:50 UTC
环境信息:
[root@1f7Lab15 tmp]# cat /etc/os-release
NAME="Anolis OS"
VERSION="23.1"
ID="anolis"
VERSION_ID="23.1"
PLATFORM_ID="platform:an23"
PRETTY_NAME="Anolis OS 23.1"
ANSI_COLOR="0;31"
HOME_URL="https://openanolis.cn/"
BUG_REPORT_URL="https://bugzilla.openanolis.cn/"

[root@1f7Lab15 tmp]# uname -a
Linux 1f7Lab15 6.6.25-2.1.an23.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 23 22:20:21 CST 2024 x86_64 x86_64 x86_64 GNU/Linux
yum源:
[root@1f7Lab15 tmp]# yum repoinfo
Last metadata expiration check: 0:00:17 ago on Thu 07 Nov 2024 04:26:41 PM CST.
Repo-id            : kernel-6
Repo-name          : AnolisOS-23 - kernel-6
Repo-revision      : 1716716120
Repo-updated       : Sun 26 May 2024 05:35:20 PM CST
Repo-pkgs          : 0
Repo-available-pkgs: 0
Repo-size          : 0
Repo-baseurl       : http://mirrors.openanolis.cn/anolis/23/kernel-6/x86_64/os
Repo-expire        : 172,800 second(s) (last: Thu 07 Nov 2024 04:26:41 PM CST)
Repo-filename      : /etc/yum.repos.d/AnolisOS.repo

Repo-id            : os
Repo-name          : AnolisOS-23 - os
Repo-revision      : 1730453185
Repo-updated       : Fri 01 Nov 2024 05:26:25 PM CST
Repo-pkgs          : 13,700
Repo-available-pkgs: 13,700
Repo-size          : 14 G
Repo-baseurl       : https://build.openanolis.cn/kojifiles/output/nightly/anolis-23-20241101.5/compose/os/x86_64/os/
Repo-expire        : 172,800 second(s) (last: Thu 07 Nov 2024 04:26:37 PM CST)
Repo-filename      : /etc/yum.repos.d/AnolisOS.repo

Repo-id            : updates
Repo-name          : AnolisOS-23 - updates
Repo-revision      : 1730283122
Repo-updated       : Wed 30 Oct 2024 06:12:53 PM CST
Repo-pkgs          : 897
Repo-available-pkgs: 897
Repo-size          : 3.2 G
Repo-baseurl       : http://mirrors.openanolis.cn/anolis/23/updates/x86_64/os
Repo-expire        : 172,800 second(s) (last: Thu 07 Nov 2024 04:26:41 PM CST)
Repo-filename      : /etc/yum.repos.d/AnolisOS.repo
Total packages: 14,597

执行过程:
[root@16f7Lab15 tmp]# yum install qemu
Last metadata expiration check: 0:31:50 ago on Thu 07 Nov 2024 01:53:32 PM CST.
Error:
 Problem: package qemu-2:8.2.0-20.an23.aarch64 from os requires qemu-system-loongarch64 = 2:8.2.0-20.an23, but none of the providers can be installed
  - package qemu-system-loongarch64-2:8.2.0-20.an23.aarch64 from os requires qemu-system-loongarch64-core = 2:8.2.0-20.an23, but none of the providers can be installed
  - cannot install the best candidate for the job
  - nothing provides seavgabios-bin needed by qemu-system-loongarch64-core-2:8.2.0-20.an23.aarch64 from os
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

相关qemu qemu-system-loongarch64  qemu-system-loongarch64-core   qemu-system-x86
qemu-tests ,输出类似
Comment 1 yunmeng365524 2024-11-07 17:31:22 UTC
为什么arm的qemu要依赖龙芯的包?
Comment 2 gaochang alibaba_cloud_group 2024-11-10 18:11:57 UTC
该问题是由于 qemu 支持跨平台虚拟化,因此提供在不同平台虚拟化其他平台机器的能力。但在实际场景中使用较少,并且问题较多,目前考虑暂时关闭跨平台虚拟化能力
Comment 3 gaochang alibaba_cloud_group 2024-11-11 10:58:55 UTC
相同问题,均通过去掉跨平台支持处理

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