Bug 5577 - 安装程序选择了 5.10 口味的内核但并没有启用 5.10 口味的软件包仓库
Summary: 安装程序选择了 5.10 口味的内核但并没有启用 5.10 口味的软件包仓库
Status: NEW
Alias: None
Product: Anolis OS 8
Classification: Anolis OS
Component: Images&Installations (show other bugs) Images&Installations
Version: 8.8
Hardware: All Linux
: P3-Medium S2-major
Target Milestone: ---
Assignee: Jacob
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-21 09:15 UTC by 扣肉
Modified: 2023-06-21 09:15 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description 扣肉 2023-06-21 09:15:06 UTC
我从这里下载了ISO:
https://mirrors.aliyun.com/anolis/8.8/isos/GA/x86_64/AnolisOS-8.8-x86_64-minimal.iso

安装时系统自动选择了 5.10 口味的内核:
$ uname -a
Linux libsysdb 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
$ rpm -q kernel
kernel-5.10.134-13.an8.x86_64

然而5.10的包仓库并没有启用:
$ cat /etc/yum.repos.d/AnolisOS-kernel-5.10.repo
[kernel-5.10]
name=AnolisOS-$releasever - Kernel 5.10
baseurl=http://mirrors.openanolis.cn/anolis/$releasever/kernel-5.10/$basearch/os
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ANOLIS
gpgcheck=1
$ rpm -qf /etc/yum.repos.d/AnolisOS-kernel-5.10.repo
anolis-repos-8.8-2.an8.x86_64

这意味着,这个安装实例会一直停留在 kernel 5.10.13-13.an8 上,通过 yum/dnf upgrade 无法更新到新的内核。