Bug 7706 - [Anolis 8][nightly][x86] kernel-debug系列软件包安装失败
Summary: [Anolis 8][nightly][x86] kernel-debug系列软件包安装失败
Status: NEW
Alias: None
Product: Anolis OS 8
Classification: Anolis OS
Component: BaseOS Packages (show other bugs) BaseOS Packages
Version: ---
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: Jacob
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-11 15:13 UTC by gitpush
Modified: 2023-12-11 15:17 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 2023-12-11 15:13:03 UTC
问题描述]:
kernel-debug系列软件包安装失败
具体执行过程:
1、kernel-debug.x86_64
[2023-12-10 21:23:54] yum -y install kernel-debug.x86_64
Last metadata expiration check: 0:22:19 ago on Sun Dec 10 21:01:36 2023.
 Problem: problem with installed package fwupd-1.7.8-1.0.1.an8.x86_64
  - installed package fwupd-1.7.8-1.0.1.an8.x86_64 obsoletes fwupdate-efi < 13 provided by fwupdate-efi-11-3.0.1.an8.x86_64
  - package fwupd-1.7.4-2.0.2.an8.x86_64 obsoletes fwupdate-efi < 13 provided by fwupdate-efi-11-3.0.1.an8.x86_64
  - package fwupd-1.7.8-1.0.1.an8.x86_64 obsoletes fwupdate-efi < 13 provided by fwupdate-efi-11-3.0.1.an8.x86_64
  - conflicting requests
分析:
fwupd-1.7.8-1.0.1.an8.x86_64软件包与fwupdate-efi-11-3.0.1.an8.x86_64软件包提供的fwupdate-efi版本存在冲突。

具体来说,已安装的fwupd软件包版本要求fwupdate-efi版本必须大于或等于13。然而,已安装的fwupdate-efi软件包版本为11,低于fwupd软件包的要求

2、kernel-debug-core.x86_64
Package: kernel-debug-core.x86_64; Repo: BaseOS
[2023-12-10 21:23:55] yum -y install kernel-debug-core.x86_64
Last metadata expiration check: 0:22:20 ago on Sun Dec 10 21:01:36 2023.
 Problem: package kernel-debug-4.18.0-477.27.1.0.1.an8.x86_64 requires kernel-debug-core-uname-r = 4.18.0-477.27.1.0.1.an8.x86_64+debug, but none of the providers can be installed
  - package kmod-ast-5.10.134~13.an8-2.an8.x86_64 conflicts with kernel < 5.10.134-13.an8 provided by kernel-debug-core-4.18.0-477.27.1.0.1.an8.x86_64
  - cannot install the best candidate for the job
  - problem with installed package kmod-ast-5.10.134~13.an8-2.an8.x86_64
分析:
要求安装的kernel-debug-4.18.0-477.27.1.0.1.an8.x86_64软件包需要kernel-debug-core-uname-r = 4.18.0-477.27.1.0.1.an8.x86_64+debug,但没有可用的提供程序。

同时,已安装的kmod-ast-5.10.13413.an8-2.an8.x86_64软件包与要求的kernel版本发生冲突。kmod-ast-5.10.13413.an8-2.an8.x86_64软件包要求的kernel版本小于4.18.0-477.27.1.0.1.an8.x86_64。

3、kernel-debug-modules.x86_64
Package: kernel-debug-modules.x86_64; Repo: BaseOS
[2023-12-10 21:24:15] yum -y install kernel-debug-modules.x86_64
Last metadata expiration check: 0:22:39 ago on Sun Dec 10 21:01:36 2023.
 Problem: package kmod-ast-5.10.134~13.an8-2.an8.x86_64 conflicts with kernel < 5.10.134-13.an8 provided by kernel-debug-core-4.18.0-477.27.1.0.1.an8.x86_64
  - cannot install the best candidate for the job
  - problem with installed package kmod-ast-5.10.134~13.an8-2.an8.x86_64
分析:
kmod-ast-5.10.134~13.an8-2.an8.x86_64软件包要求的kernel版本小于5.10.134-13.an8,尝试安装的kernel-debug-modules.x86_64软件包需要大于或等于5.10.134-13.an8版本的kernel。

4、kernel-debug-modules-extra.x86_64
Package: kernel-debug-modules-extra.x86_64; Repo: BaseOS
[2023-12-10 21:24:16] yum -y install kernel-debug-modules-extra.x86_64
Last metadata expiration check: 0:22:40 ago on Sun Dec 10 21:01:36 2023.
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
 Problem: package kernel-debug-modules-4.18.0-477.27.1.0.1.an8.x86_64 requires kernel-uname-r = 4.18.0-477.27.1.0.1.an8.x86_64+debug, but none of the providers can be installed
  - package kmod-ast-5.10.134~13.an8-2.an8.x86_64 conflicts with kernel < 5.10.134-13.an8 provided by kernel-debug-core-4.18.0-477.27.1.0.1.an8.x86_64
  - cannot install the best candidate for the job
  - problem with installed package kmod-ast-5.10.134~13.an8-2.an8.x86_64
分析:同上

5、kernel-modules-extra.x86_64
Package: kernel-modules-extra.x86_64; Repo: BaseOS
[2023-12-10 21:24:21] yum -y install kernel-modules-extra.x86_64
Last metadata expiration check: 0:22:46 ago on Sun Dec 10 21:01:36 2023.
 Problem: package kernel-debug-modules-extra-4.18.0-477.27.1.0.1.an8.x86_64 requires kernel-uname-r = 4.18.0-477.27.1.0.1.an8.x86_64+debug, but none of the providers can be installed
  - package kmod-ast-5.10.134~13.an8-2.an8.x86_64 conflicts with kernel < 5.10.134-13.an8 provided by kernel-debug-core-4.18.0-477.27.1.0.1.an8.x86_64
  - cannot install the best candidate for the job
  - problem with installed package kmod-ast-5.10.134~13.an8-2.an8.x86_64
分析:
要求安装的kernel-debug-modules-extra-4.18.0-477.27.1.0.1.an8.x86_64软件包需要kernel-uname-r = 4.18.0-477.27.1.0.1.an8.x86_64+debug,但没有可用的提供程序。
[环境信息]:
内核信息:
# uname -a
Linux iZbp124mevfcf4h5hno2jrZ 5.10.134-13.an8.x86_64 #1 SMP Mon Jan 9 10:39:46 CST 2023 x86_64 x86_64 x86_64 GNU/Linux




[问题发生概率]:必现

[期望结果]:
正常安装


[实际结果]:
执行失败


[复现步骤]:	
1、yum install kernel-debug.x86_64 kernel-debug-core.x86_64 kernel-debug-modules.x86_64 kernel-debug-modules-extra.x86_64 kernel-modules-extra.x86_64
Comment 1 yunmeng365524 2023-12-11 15:17:21 UTC
任务链接https://tone.openanolis.cn/ws/jfupduzb/test_result/102547
日志链接https://anolis-service-pub.oss-cn-zhangjiakou.aliyuncs.com/biz-result/tone/102547/tcase%3Drpm_test_1702213689578716847/pkg-smoke.stdout.log?OSSAccessKeyId=LTAI5tRdZMfwezuemndcMdnR&Expires=1702286228&Signature=rPX%2BIXZl31lF446KUeArqRPP7e4%3D