查看问题详情
编号 | 项目 | 分类 | 查看权限 | 报告日期 | 最后更新 |
---|---|---|---|---|---|
0000124 | Anolis OS 8 | * OTHERS | public | 2021-05-11 14:24 | 2021-06-03 09:14 |
报告员 | yinyongchen | 分派给 | xuchunmei000 | ||
优先级 | normal | 严重性 | minor | 出现频率 | always |
状态 | resolved | 处理状况 | open | ||
标题 | 0000124: [Anolis 8.2-4.18-x86/aarch64] 安装执行迁移脚本后,yum update报错,提示未提供module(platform:el8) | ||||
描述 | 原环境 centos 8.1/8.2 架构 x86_64 安装执行迁移脚本后,yum update时有报错,提示未提供module(platform:el8) [环境信息]: centos 8.1 迁移前: # cat /etc/*-release CentOS Linux release 8.1.1911 (Core) NAME="CentOS Linux" VERSION="8 (Core)" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="8" PLATFORM_ID="platform:el8" PRETTY_NAME="CentOS Linux 8 (Core)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:centos:centos:8" HOME_URL="https://www.centos.org/" BUG_REPORT_URL="https://bugs.centos.org/" CENTOS_MANTISBT_PROJECT="CentOS-8" CENTOS_MANTISBT_PROJECT_VERSION="8" REDHAT_SUPPORT_PRODUCT="centos" REDHAT_SUPPORT_PRODUCT_VERSION="8" CentOS Linux release 8.1.1911 (Core) CentOS Linux release 8.1.1911 (Core) # uname -r 4.18.0-147.8.1.el8_1.x86_64 centos 8.1 迁移后: # cat /etc/*-release Anolis OS release 8.2 NAME="Anolis OS" VERSION="8.2" ID="anolis" ID_LIKE="rhel fedora centos" VERSION_ID="8.2" PLATFORM_ID="platform:an8" PRETTY_NAME="Anolis OS 8.2" ANSI_COLOR="0;31" HOME_URL="https://openanolis.org/" Anolis OS release 8.2 Anolis OS release 8.2 # uname -a Linux iZbp13hnrm4w12gmtw848yZ 4.18.0-193.el8.x86_64 #1 SMP Wed Jan 27 06:47:29 CST 2021 x86_64 x86_64 x86_64 GNU/Linux centos 8.2 迁移前: # cat /etc/*-release CentOS Linux release 8.2.2004 (Core) NAME="CentOS Linux" VERSION="8 (Core)" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="8" PLATFORM_ID="platform:el8" PRETTY_NAME="CentOS Linux 8 (Core)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:centos:centos:8" HOME_URL="https://www.centos.org/" BUG_REPORT_URL="https://bugs.centos.org/" CENTOS_MANTISBT_PROJECT="CentOS-8" CENTOS_MANTISBT_PROJECT_VERSION="8" REDHAT_SUPPORT_PRODUCT="centos" REDHAT_SUPPORT_PRODUCT_VERSION="8" CentOS Linux release 8.2.2004 (Core) CentOS Linux release 8.2.2004 (Core) # uname -a Linux iZbp15mhum14tkjmznkd0yZ 4.18.0-193.28.1.el8_2.x86_64 #1 SMP Thu Oct 22 00:20:22 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux centos 8.2 迁移后: # cat /etc/*-release Anolis OS release 8.2 NAME="Anolis OS" VERSION="8.2" ID="anolis" ID_LIKE="rhel fedora centos" VERSION_ID="8.2" PLATFORM_ID="platform:an8" PRETTY_NAME="Anolis OS 8.2" ANSI_COLOR="0;31" HOME_URL="https://openanolis.org/" Anolis OS release 8.2 Anolis OS release 8.2 # uname -a Linux iZbp15mhum14tkjmznkd0yZ 4.18.0-193.el8.x86_64 #1 SMP Wed Jan 27 06:47:29 CST 2021 x86_64 x86_64 x86_64 GNU/Linux [期望结果]: yum update 执行正常无报错 [实际结果]: 执行yum update 有报错 centos 8.1 迁移后: # yum update AnolisOS-8 - AppStream 5.1 MB/s | 5.4 MB 00:01 AnolisOS-8 - BaseOS 3.0 MB/s | 2.3 MB 00:00 AnolisOS-8 - PowerTools 2.3 MB/s | 1.7 MB 00:00 Extra Packages for Enterprise Linux 8 - x86_64 11 MB/s | 9.3 MB 00:00 Last metadata expiration check: 0:00:01 ago on Tue 11 May 2021 11:20:42 AM CST. Modular dependency problem: Problem: conflicting requests - nothing provides module(platform:el8) needed by module satellite-5-client:1.0:8010020191114035551:cdc1202b-0.x86_64 Dependencies resolved. Nothing to do. Complete! centos 8.2 迁移后: # yum update Last metadata expiration check: 2:47:06 ago on Tue 11 May 2021 11:31:41 AM CST. Modular dependency problems: Problem 1: conflicting requests - nothing provides module(platform:el8) needed by module perl-IO-Socket-SSL:2.066:8030020201222215140:1e4bbb35-0.x86_64 Problem 2: conflicting requests - nothing provides module(platform:el8) needed by module perl-libwww-perl:6.34:8030020201223164340:b967a9a2-0.x86_64 Problem 3: conflicting requests - nothing provides module(platform:el8) needed by module satellite-5-client:1.0:8010020191114035551:cdc1202b-0.x86_64 Dependencies resolved. Nothing to do. Complete! [原因定位]: 可能原因: 1、module依赖错误,应依赖 module(platform:an8) 2、源中未提供 module(platform:an8) 导致迁移时未能成功更新该module [修复建议]: 建议修复 | ||||
问题重现步骤 | 1、下载并执行centos2anolis迁移脚本: git clone https://codeup.openanolis.cn/codeup/migration/centos2anolis.git python3 centos2anolis.py 2、执行yum命令,查看有无报错 yum update | ||||
标签 | 没加标签. | ||||
有重复 | 0000154 | 已关闭 | geliwei-ali | 【版本升级】使用CentOS 8.1的版本,然后配置anolis 8.2的源,执行yum makecache 会报模块缺失错误 |
|
迁移脚本已处理 satellite-5-client,在迁移完成后,将该module disable掉。 |
|
perl-IO-Socket-SSL与perl-libwww-perl两个module在anolis8.2上尚未支持 如果需要避免报错信息的打印,可以通过如下命令,disable这两个module: dnf module disable -y perl-IO-Socket-SSL perl-libwww-perl |
日期 | 用户名 | 字段 | 更改 |
---|---|---|---|
2021-05-11 14:24 | yinyongchen | 新建问题 | |
2021-05-11 22:56 | jacobwang | 分派给 | => xuchunmei000 |
2021-05-11 22:56 | jacobwang | 状态 | 新建 => 已分配 |
2021-05-12 11:03 | xuchunmei000 | 注释已添加: 0000200 | |
2021-05-14 13:57 | xuchunmei000 | 注释已添加: 0000209 | |
2021-05-14 14:39 | xuchunmei000 | 注释已编辑: 0000209 | |
2021-05-14 14:40 | xuchunmei000 | 状态 | 已分配 => 已解决 |
2021-06-03 09:14 | geliwei-ali | 关联已添加 | 有重复 0000154 |