查看问题详情

编号项目分类查看权限最后更新
0000129Anolis OS 8* OTHERSpublic2021-05-12 11:17
报告员anolislw 分派给xuchunmei000  
优先级normal严重性minor出现频率always
状态 resolved处理状况open 
标题0000129: [CentOS 8.2-aarch64][Anolis 8.2]CentOS使用工具迁移至Anolis8.2后yum list回显Problem: conflicting requests问题
描述【描述】
centos8.2 aarch64使用迁移工具后,reboot重启系统,执行yum list或者yum update回显Problem: conflicting requests问题:

 Problem: conflicting requests
  - nothing provides module(platform:el8) needed by module satellite-5-client:1.0:8010020191114035551:cdc1202b-0.aarch64


【迁移前系统信息】
[root@localhost ~]# cat /etc/os-release
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"

[root@localhost ~]# cat /etc/redhat-release
CentOS Linux release 8.2.2004 (Core)
[root@localhost ~]#
[root@localhost ~]# cat /etc/centos-release
CentOS Linux release 8.2.2004 (Core)
[root@localhost ~]#
[root@localhost ~]# uname -a
Linux localhost 4.18.0-193.el8.aarch64 #1 SMP Fri May 8 11:05:12 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux


【迁移后系统信息】
[root@localhost ~]#cat /etc/os-release
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/"

[root@localhost ~]# cat /etc/redhat-release
Anolis OS release 8.2
[root@localhost ~]#
[root@localhost ~]# uname -a
Linux localhost 4.18.0-193.el8.aarch64 #1 SMP Wed Jan 27 07:32:06 CST 2021 aarch64 aarch64 aarch64 GNU/Linux


【定位】
module satellite-5-client: Requires : platform:[el8]

<satellite-5-client对应的module info如下>:
Last metadata expiration check: 0:05:20 ago on Tue 11 May 2021 06:06:36 PM CST.
Modular dependency problem:

 Problem: conflicting requests
  - nothing provides module(platform:el8) needed by module satellite-5-client:1.0:8010020191114035551:cdc1202b-0.aarch64
Name : satellite-5-client
Stream : 1.0 [e]
Version : 8010020191114035551
Context : cdc1202b
Architecture : aarch64
Profiles : common, gui
Default profiles :
Repo : @modulefailsafe
Summary : Red Hat Satellite 5 client packages
Description : Red Hat Satellite 5 client packages provide programs and libraries to allow your system to receive software updates from Red Hat Satellite 5.
Requires : platform:[el8] #这里requires:platform:[el8]
Artifacts : dnf-plugin-spacewalk-0:2.8.5-11.module_el8.1.0+211+ad6c0bc7.noarch
                     : dnf-plugin-spacewalk-0:2.8.5-11.module_el8.1.0+211+ad6c0bc7.src
                     : python3-dnf-plugin-spacewalk-0:2.8.5-11.module_el8.1.0+211+ad6c0bc7.noarch
                     : python3-rhn-check-0:2.8.16-13.module_el8.1.0+211+ad6c0bc7.aarch64


【临时解决】
[root@localhost ~]# dnf module disable satellite-5-client
Last metadata expiration check: 0:07:18 ago on Tue 11 May 2021 06:06:36 PM CST.
Modular dependency problem:

 Problem: conflicting requests
  - nothing provides module(platform:el8) needed by module satellite-5-client:1.0:8010020191114035551:cdc1202b-0.aarch64
Dependencies resolved.
=======================================
 Package Architecture Version Repository Size
=======================================
Disabling modules:
 satellite-5-client

Transaction Summary
=======================================

Is this ok [y/N]: y
Complete!


【期望解决】
可以正常执行
问题重现步骤【复现】
     下载并执行centos2anolis迁移脚本:
      git clone https://codeup.openanolis.cn/codeup/migration/centos2anolis.git
      脚本工具link:https://codeup.openanolis.cn/codeup/migration/centos2anolis/blob/master/centos2anolis.py
      需要在centos8.2环境执行
      python3 centos2anolis.py
      reboot
      yum list/yum update
标签没加标签.

活动

xuchunmei000

2021-05-11 22:17

开发人员   ~0000197

satellite-5-client是redhat特有的module,在anolis中不再提供。
迁移脚本将disable该module。

xuchunmei000

2021-05-12 11:17

开发人员   ~0000201

最新的迁移脚本已disable satellite-5-client

问题历史

日期 用户名 字段 更改
2021-05-11 18:40 anolislw 新建问题
2021-05-11 22:17 xuchunmei000 注释已添加: 0000197
2021-05-11 22:53 jacobwang 分派给 => xuchunmei000
2021-05-11 22:53 jacobwang 状态 新建 => 已分配
2021-05-12 11:17 xuchunmei000 状态 已分配 => 已解决
2021-05-12 11:17 xuchunmei000 注释已添加: 0000201