Bug 8730 - 指定--rhck参数迁移后未能安装RHCK内核
Summary: 指定--rhck参数迁移后未能安装RHCK内核
Status: RESOLVED FIXED
Alias: None
Product: Anolis OS 7
Classification: Anolis OS
Component: OsMigration (show other bugs) OsMigration
Version: 7.9
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: wangzhe
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-09 11:06 UTC by wangzhe
Modified: 2024-04-10 20:45 UTC (History)
0 users

See Also:


Attachments
迁移后为 ANCK 内核 (6.34 KB, image/png)
2024-04-09 11:06 UTC, wangzhe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description wangzhe 2024-04-09 11:06:14 UTC
Created attachment 1131 [details]
迁移后为 ANCK 内核

Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.安装迁移工具 
wget https://mirrors.openanolis.cn/anolis/migration/anolis-migration.repo -O /etc/yum.repos.d/anolis-migration.repo
yum -y install centos2anolis
2.执行centos7到anolis7迁移,并设置参数为--rhck安装RHCK内核
centos2anolis.py --rhck
3.迁移完成检查内核版本

Actual results:
迁移后内核是ANCK而非RHCK
4.19.91-27.7.an7.x86_64

Expected results:
指定--rhck参数,迁移完成后内核是RHCK

Additional info:
Comment 1 wangzhe 2024-04-09 11:20:29 UTC
经过分析,是因为错误的把 kernel-4.19.91-27.7.an7 发到了 updates 仓库导致的,
https://mirrors.openanolis.cn/anolis/7.9/updates/source/Packages/kernel-4.19.91-27.7.an7.src.rpm
其实这个 anck 的内核包应该发 plus 仓库,目前 plus 仓库已存在,
https://mirrors.openanolis.cn/anolis/7.9/Plus/source/Packages/kernel-4.19.91-27.7.an7.src.rpm
应该从 updates 仓库移除 kernel-4.19.91-27.7.an7 版本内核。
Comment 2 wangzhe 2024-04-10 20:45:10 UTC
yum repo 已经更新,此问题已解决。