[CentOS 8.3迁移Anolis OS 8.4][x86_64] 迁移失败 package rust module is filtered out by modular filtering [问题简述] 在云上镜像x86环境,CentOS 8.3迁移Anolis OS 8.4,运行迁移工具过程,遇package rust-1.49.0-1.module+an8.4.0+10210+8782e2db.x86_64 is filtered out by modular filtering导致迁移失败 [机器环境] ###### 迁移前系统信息 ###### [root@iZ2zefximchirrgwtn7kx4Z ~]# cat /etc/redhat-release CentOS Linux release 8.3.2011 [root@iZ2zefximchirrgwtn7kx4Z ~]# cat /etc/os-release NAME="CentOS Linux" VERSION="8" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="8" PLATFORM_ID="platform:el8" PRETTY_NAME="CentOS Linux 8" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:centos:centos:8" HOME_URL="https://centos.org/" BUG_REPORT_URL="https://bugs.centos.org/" CENTOS_MANTISBT_PROJECT="CentOS-8" CENTOS_MANTISBT_PROJECT_VERSION="8" [root@iZ2zefximchirrgwtn7kx4Z ~]# uname -a Linux iZ2zefximchirrgwtn7kx4Z 4.18.0-240.22.1.el8_3.x86_64 #1 SMP Thu Apr 8 19:01:30 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux [root@iZ2zefximchirrgwtn7kx4Z ~]# rpm -qa | grep kernel kernel-4.18.0-240.22.1.el8_3.x86_64 kernel-devel-4.18.0-240.22.1.el8_3.x86_64 kernel-tools-libs-4.18.0-240.22.1.el8_3.x86_64 kernel-core-4.18.0-240.el8.x86_64 kernel-modules-4.18.0-240.el8.x86_64 kernel-modules-4.18.0-240.22.1.el8_3.x86_64 kernel-tools-4.18.0-240.22.1.el8_3.x86_64 kernel-headers-4.18.0-240.22.1.el8_3.x86_64 kernel-4.18.0-240.el8.x86_64 kernel-core-4.18.0-240.22.1.el8_3.x86_64 [root@iZ2zefximchirrgwtn7kx4Z ~]# yum repolist repo id repo name appstream CentOS Linux 8 - AppStream baseos CentOS Linux 8 - BaseOS epel Extra Packages for Enterprise Linux 8 - x86_64 extras CentOS Linux 8 - Extras [root@iZ2zefximchirrgwtn7kx4Z ~]# ls -lrt /etc/yum.repos.d total 52 -rw-r--r-- 1 root root 728 May 21 2021 CentOS-Linux-AppStream.repo -rw-r--r-- 1 root root 713 May 21 2021 CentOS-Linux-BaseOS.repo -rw-r--r-- 1 root root 1139 May 21 2021 CentOS-Linux-ContinuousRelease.repo -rw-r--r-- 1 root root 318 May 21 2021 CentOS-Linux-Debuginfo.repo -rw-r--r-- 1 root root 741 May 21 2021 CentOS-Linux-Devel.repo -rw-r--r-- 1 root root 226 May 21 2021 CentOS-Linux-epel.repo -rw-r--r-- 1 root root 713 May 21 2021 CentOS-Linux-Extras.repo -rw-r--r-- 1 root root 728 May 21 2021 CentOS-Linux-FastTrack.repo -rw-r--r-- 1 root root 749 May 21 2021 CentOS-Linux-HighAvailability.repo -rw-r--r-- 1 root root 693 May 21 2021 CentOS-Linux-Media.repo -rw-r--r-- 1 root root 715 May 21 2021 CentOS-Linux-Plus.repo -rw-r--r-- 1 root root 733 May 21 2021 CentOS-Linux-PowerTools.repo -rw-r--r-- 1 root root 898 May 21 2021 CentOS-Linux-Sources.repo [root@iZ2zefximchirrgwtn7kx4Z ~]# yum repolist -v Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync YUM version: 4.2.23 cachedir: /var/cache/dnf Last metadata expiration check: 0:00:01 ago on Thu 13 Jan 2022 04:09:53 PM CST. Repo-id : appstream Repo-name : CentOS Linux 8 - AppStream Repo-revision : 8.5.2111 Repo-distro-tags : [cpe:/o:centos:centos:8]: , 8, C, O, S, e, n, t Repo-updated : Fri 31 Dec 2021 02:06:52 PM CST Repo-pkgs : 6,533 Repo-available-pkgs: 5,596 Repo-size : 11 G Repo-baseurl : http://mirrors.cloud.aliyuncs.com/centos/8/AppStream/x86_64/os/ Repo-expire : 172,800 second(s) (last: Thu 13 Jan 2022 04:09:53 PM CST) Repo-filename : /etc/yum.repos.d/CentOS-Linux-AppStream.repo Repo-id : baseos Repo-name : CentOS Linux 8 - BaseOS Repo-revision : 8.5.2111 Repo-distro-tags : [cpe:/o:centos:centos:8]: , 8, C, O, S, e, n, t Repo-updated : Fri 31 Dec 2021 02:06:31 PM CST Repo-pkgs : 1,898 Repo-available-pkgs: 1,896 Repo-size : 2.0 G Repo-baseurl : http://mirrors.cloud.aliyuncs.com/centos/8/BaseOS/x86_64/os/ Repo-expire : 172,800 second(s) (last: Thu 13 Jan 2022 04:09:53 PM CST) Repo-filename : /etc/yum.repos.d/CentOS-Linux-BaseOS.repo Repo-id : epel Repo-name : Extra Packages for Enterprise Linux 8 - x86_64 Repo-revision : 1642037632 Repo-updated : Thu 13 Jan 2022 09:39:39 AM CST Repo-pkgs : 8,210 Repo-available-pkgs: 8,210 Repo-size : 12 G Repo-baseurl : http://mirrors.cloud.aliyuncs.com/epel/8/Everything/x86_64 Repo-expire : 172,800 second(s) (last: Thu 13 Jan 2022 04:09:53 PM CST) Repo-filename : /etc/yum.repos.d/CentOS-Linux-epel.repo Repo-id : extras Repo-name : CentOS Linux 8 - Extras Repo-revision : 1639140985 Repo-updated : Fri 10 Dec 2021 08:56:25 PM CST Repo-pkgs : 38 Repo-available-pkgs: 38 Repo-size : 426 k Repo-baseurl : http://mirrors.cloud.aliyuncs.com/centos/8/extras/x86_64/os/ Repo-expire : 172,800 second(s) (last: Thu 13 Jan 2022 04:09:53 PM CST) Repo-filename : /etc/yum.repos.d/CentOS-Linux-Extras.repo Total packages: 16,679 [期望结果] CentOS 8.3--->Anolis OS 8.4可以迁移成功 [实际结果] [root@iZ2zefximchirrgwtn7kx4Z ~]# python3 centos2anolis.py -v 8.4 CentOS version is 8.3 Checking if the tool is executed by root user Checking the version of Anolis OS You selected Anolis OS 8.4 Checking required packages Checking i686 packages ========= Checking: distribution ========= centos-linux-release-8.3-1.2011.el8.noarch ========= Checking: yum lock =========== ========= Checking: dnf ========= Identifying dnf modules that are enabled... Last metadata expiration check: 0:06:20 ago on Thu 13 Jan 2022 04:09:53 PM CST. Dependencies resolved. ================================================================================================================================ Package Architecture Version Repository Size ================================================================================================================================ Resetting modules: llvm-toolset Transaction Summary ================================================================================================================================ Complete! ========= Looking for yumdownloader ========== ========= Finding your repository directory ========= Backing up and removing old repository files... Backing up and removing 3rd-part repository files... check network environment check internal network environment is True ========= Start converting ========= Removing CentOS-specific yum configuration from /etc/yum.conf ... Downloading Anolis OS release package... Modular dependency problems: Problem 1: conflicting requests - nothing provides module(platform:an8) needed by module ant:1.10:8020020210130081140:1f2eea34-0.x86_64 Problem 2: conflicting requests - nothing provides module(platform:an8) needed by module container-tools:an8:8040020210618040224:77f19b75-0.x86_64 Problem 3: conflicting requests - nothing provides module(platform:an8) needed by module container-tools:an8:8040020210721071653:77f19b75-0.x86_64 Problem 4: conflicting requests - nothing provides module(platform:an8) needed by module container-tools:an8:8040020210830054558:77f19b75-0.x86_64 Problem 5: conflicting requests - nothing provides module(platform:an8) needed by module container-tools:an8:8040020211011070359:77f19b75-0.x86_64 Problem 6: conflicting requests - nothing provides module(platform:an8) needed by module container-tools:an8:8040020211220091117:77f19b75-0.x86_64 Problem 7: conflicting requests - nothing provides module(platform:an8) needed by module container-tools:an8:8040020211229065601:77f19b75-0.x86_64 Problem 8: conflicting requests - nothing provides module(platform:an8) needed by module eclipse:an8:8040020210624023038:34f7e787-0.x86_64 Problem 9: conflicting requests - nothing provides module(platform:an8) needed by module freeradius:3.0:8040020211220072659:3258323b-0.x86_64 Problem 10: conflicting requests - nothing provides module(platform:an8) needed by module gimp:2.8:8020020210130081145:7001a13a-0.x86_64 Problem 11: conflicting requests - nothing provides module(platform:an8) needed by module go-toolset:an8:8040020210619050023:c5768d5d-0.x86_64 Problem 12: conflicting requests - nothing provides module(platform:an8) needed by module go-toolset:an8:8040020210721103312:c5768d5d-0.x86_64 Problem 13: conflicting requests - nothing provides module(platform:an8) needed by module go-toolset:an8:8040020210830054226:c5768d5d-0.x86_64 Problem 14: conflicting requests - nothing provides module(platform:an8) needed by module go-toolset:an8:8040020211220072041:c5768d5d-0.x86_64 Problem 15: conflicting requests - nothing provides module(platform:an8) needed by module httpd:2.4:8040020210624072236:5280c3a7-0.x86_64 Problem 16: conflicting requests - nothing provides module(platform:an8) needed by module httpd:2.4:8040020211220071514:5280c3a7-0.x86_64 Problem 17: conflicting requests - nothing provides module(platform:an8) needed by module idm:client:8040020210618040339:6b2a26fc-0.x86_64 Problem 18: conflicting requests - nothing provides module(platform:an8) needed by module inkscape:0.92.3:8040020210618040342:75588478-0.x86_64 Problem 19: conflicting requests - nothing provides module(platform:an8) needed by module javapackages-runtime:201801:8020020210130081152:ff983833-0.x86_64 Problem 20: conflicting requests - nothing provides module(platform:an8) needed by module jmc:an8:8040020210618040344:34f7e787-0.x86_64 Problem 21: conflicting requests - nothing provides module(platform:an8) needed by module llvm-toolset:an8:8040020210618040345:5280c3a7-0.x86_64 Problem 22: conflicting requests - nothing provides module(platform:an8) needed by module llvm-toolset:an8:8040020211123074505:5280c3a7-0.x86_64 Problem 23: conflicting requests - nothing provides module(platform:an8) needed by module llvm-toolset:an8:8040020211217093001:5280c3a7-0.x86_64 Problem 24: conflicting requests - nothing provides module(platform:an8) needed by module mailman:2.1:8040020210618040346:75588478-0.x86_64 Problem 25: conflicting requests - nothing provides module(platform:an8) needed by module mailman:2.1:8040020211220065229:75588478-0.x86_64 Problem 26: conflicting requests - nothing provides module(platform:an8) needed by module mariadb:10.3:8040020210618040348:5280c3a7-0.x86_64 Problem 27: conflicting requests - nothing provides module(platform:an8) needed by module maven:3.5:8020020210326005354:1f2eea34-0.x86_64 Problem 28: conflicting requests - nothing provides module(platform:an8) needed by module mercurial:4.8:8020020210130081203:7001a13a-0.x86_64 Problem 29: conflicting requests - nothing provides module(platform:an8) needed by module mysql:8.0:8040020210618040352:5280c3a7-0.x86_64 Problem 30: conflicting requests - nothing provides module(platform:an8) needed by module nginx:1.14:8020020210309154136:ff983833-0.x86_64 Problem 31: conflicting requests - nothing provides module(platform:an8) needed by module nodejs:10:8040020210618040355:5280c3a7-0.x86_64 Problem 32: conflicting requests - nothing provides module(platform:an8) needed by module perl:5.26:8020020210225070756:ff983833-0.x86_64 Problem 33: conflicting requests - nothing provides module(platform:an8) needed by module php:7.2:8020020210506014827:d170ce78-0.x86_64 Problem 34: conflicting requests - nothing provides module(platform:an8) needed by module postgresql:10:8040020210618040402:5280c3a7-0.x86_64 Problem 35: conflicting requests - nothing provides module(platform:an8) needed by module postgresql:10:8040020210721122230:5280c3a7-0.x86_64 Problem 36: conflicting requests - nothing provides module(platform:an8) needed by module python27:2.7:8040020210622162915:1d5ee22b-0.x86_64 Problem 37: conflicting requests - nothing provides module(platform:an8) needed by module python36:3.6:8040020210618040407:edf1e464-0.x86_64 Problem 38: conflicting requests - nothing provides module(platform:an8) needed by module python38:3.8:8040020210622005013:15a7ec98-0.x86_64 Problem 39: conflicting requests - nothing provides module(platform:an8) needed by module python38:3.8:8040020210721125037:15a7ec98-0.x86_64 Problem 40: conflicting requests - nothing provides module(platform:an8) needed by module python38:3.8:8040020211111023819:15a7ec98-0.x86_64 Problem 41: conflicting requests - nothing provides module(platform:an8) needed by module python39:3.9:8040020210624010313:124ab977-0.x86_64 Problem 42: conflicting requests - nothing provides module(platform:an8) needed by module redis:5:8020020210130081236:ff983833-0.x86_64 Problem 43: conflicting requests - nothing provides module(platform:an8) needed by module ruby:2.5:8040020210618040410:5280c3a7-0.x86_64 Problem 44: conflicting requests - nothing provides module(platform:an8) needed by module ruby:2.5:8040020210721120317:5280c3a7-0.x86_64 Problem 45: conflicting requests - nothing provides module(platform:an8) needed by module scala:2.10:8020020210326004050:1f2eea34-0.x86_64 Problem 46: conflicting requests - nothing provides module(platform:an8) needed by module squid:4:8040020210618040413:5280c3a7-0.x86_64 Problem 47: conflicting requests - nothing provides module(platform:an8) needed by module squid:4:8040020210719084511:5280c3a7-0.x86_64 Problem 48: conflicting requests - nothing provides module(platform:an8) needed by module squid:4:8040020211220083320:5280c3a7-0.x86_64 Problem 49: conflicting requests - nothing provides module(platform:an8) needed by module subversion:1.10:8040020210618040414:15a7ec98-0.x86_64 Problem 50: conflicting requests - nothing provides module(platform:an8) needed by module swig:3.0:8040020210618040416:5280c3a7-0.x86_64 Problem 51: conflicting requests - nothing provides module(platform:an8) needed by module varnish:6:8040020210618040417:5280c3a7-0.x86_64 Problem 52: conflicting requests - nothing provides module(platform:an8) needed by module varnish:6:8040020210825011336:5280c3a7-0.x86_64 Problem 53: conflicting requests - nothing provides module(llvm-toolset:rhel8) needed by module rust-toolset:rhel8:8050020211112063729:f73640c0-0.x86_64 Problem 54: conflicting requests - nothing provides module(platform:an8) needed by module perl-libwww-perl:6.34:8040020210624081425:4a646848-0.x86_64 - nothing provides module(platform:an8) needed by module perl-libwww-perl:6.34:8040020210624081425:537e306f-0.x86_64 - nothing provides module(platform:an8) needed by module perl-libwww-perl:6.34:8040020210624081425:e449448e-0.x86_64 Problem 55: conflicting requests - nothing provides module(platform:an8) needed by module perl-YAML:1.24:8040020210624151833:29a560fb-0.x86_64 - nothing provides module(platform:an8) needed by module perl-YAML:1.24:8040020210624151833:4aab6308-0.x86_64 - nothing provides module(platform:an8) needed by module perl-YAML:1.24:8040020210624151833:c61e1b14-0.x86_64 Problem 56: conflicting requests - nothing provides module(platform:an8) needed by module perl-IO-Socket-SSL:2.066:8040020210624081722:3258323b-0.x86_64 - nothing provides module(platform:an8) needed by module perl-IO-Socket-SSL:2.066:8040020210624081722:ab8feab9-0.x86_64 - nothing provides module(platform:an8) needed by module perl-IO-Socket-SSL:2.066:8040020210624081722:accac16c-0.x86_64 Problem 57: conflicting requests - nothing provides module(platform:an8) needed by module perl-FCGI:0.78:8040020210620142028:3258323b-0.x86_64 - nothing provides module(platform:an8) needed by module perl-FCGI:0.78:8040020210620142028:ab8feab9-0.x86_64 - nothing provides module(platform:an8) needed by module perl-FCGI:0.78:8040020210620142028:accac16c-0.x86_64 Problem 58: conflicting requests - nothing provides module(platform:an8) needed by module perl-DBI:1.641:8040020210624091025:3258323b-0.x86_64 - nothing provides module(platform:an8) needed by module perl-DBI:1.641:8040020210624091025:ab8feab9-0.x86_64 - nothing provides module(platform:an8) needed by module perl-DBI:1.641:8040020210624091025:accac16c-0.x86_64 Problem 59: conflicting requests - nothing provides module(platform:an8) needed by module perl-DBD-SQLite:1.58:8040020210620141912:00fa0532-0.x86_64 - nothing provides module(platform:an8) needed by module perl-DBD-SQLite:1.58:8040020210620141912:b3abf6c6-0.x86_64 - nothing provides module(platform:an8) needed by module perl-DBD-SQLite:1.58:8040020210620141912:f4b77656-0.x86_64 Problem 60: conflicting requests - nothing provides module(platform:an8) needed by module perl-DBD-Pg:3.7:8040020210620141614:4a0bbef6-0.x86_64 - nothing provides module(platform:an8) needed by module perl-DBD-Pg:3.7:8040020210620141614:5aff4016-0.x86_64 - nothing provides module(platform:an8) needed by module perl-DBD-Pg:3.7:8040020210620141614:f66db79d-0.x86_64 Problem 61: conflicting requests - nothing provides module(platform:an8) needed by module perl-DBD-MySQL:4.046:8040020210624093223:00fa0532-0.x86_64 - nothing provides module(platform:an8) needed by module perl-DBD-MySQL:4.046:8040020210624093223:b3abf6c6-0.x86_64 - nothing provides module(platform:an8) needed by module perl-DBD-MySQL:4.046:8040020210624093223:f4b77656-0.x86_64 Problem 62: conflicting requests - nothing provides module(platform:an8) needed by module perl-App-cpanminus:1.7044:8040020210620141109:5d86fca7-0.x86_64 - nothing provides module(platform:an8) needed by module perl-App-cpanminus:1.7044:8040020210620141109:61fe4325-0.x86_64 - nothing provides module(platform:an8) needed by module perl-App-cpanminus:1.7044:8040020210620141109:8cae68ec-0.x86_64 Switching old release package with Anolis OS... warning: anolis-release-8.4-6.an8.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID 4873f7c5: NOKEY warning: file /etc/yum.repos.d/CentOS-Linux-Sources.repo: remove failed: No such file or directory warning: file /etc/yum.repos.d/CentOS-Linux-PowerTools.repo: remove failed: No such file or directory warning: file /etc/yum.repos.d/CentOS-Linux-Plus.repo: remove failed: No such file or directory warning: file /etc/yum.repos.d/CentOS-Linux-Media.repo: remove failed: No such file or directory warning: file /etc/yum.repos.d/CentOS-Linux-HighAvailability.repo: remove failed: No such file or directory warning: file /etc/yum.repos.d/CentOS-Linux-FastTrack.repo: remove failed: No such file or directory warning: file /etc/yum.repos.d/CentOS-Linux-Extras.repo: remove failed: No such file or directory warning: file /etc/yum.repos.d/CentOS-Linux-Devel.repo: remove failed: No such file or directory warning: file /etc/yum.repos.d/CentOS-Linux-Debuginfo.repo: remove failed: No such file or directory warning: file /etc/yum.repos.d/CentOS-Linux-ContinuousRelease.repo: remove failed: No such file or directory warning: file /etc/yum.repos.d/CentOS-Linux-BaseOS.repo: remove failed: No such file or directory warning: file /etc/yum.repos.d/CentOS-Linux-AppStream.repo: remove failed: No such file or directory Installing base packages for Anolis OS... 45 files removed AnolisOS-8.4 - AppStream 18 MB/s | 9.0 MB 00:00 AnolisOS-8.4 - BaseOS 18 MB/s | 7.7 MB 00:00 AnolisOS-8.4 - Extras 9.1 kB/s | 1.6 kB 00:00 AnolisOS-8.4 - PowerTools 6.9 MB/s | 2.0 MB 00:00 Modular dependency problems: Problem 1: conflicting requests - nothing provides module(llvm-toolset:rhel8) needed by module rust-toolset:rhel8:8050020211112063729:f73640c0-0.x86_64 - nothing provides module(platform:el8) needed by module rust-toolset:rhel8:8050020211112063729:f73640c0-0.x86_64 Problem 2: conflicting requests - nothing provides module(platform:el8) needed by module virt:rhel:8050020211221192853:b4937e53-0.x86_64 > No match for argument: centos-backgrounds No match for argument: centos-release-cr No match for argument: desktop-backgrounds-basic No match for argument: centos-release-advanced-virtualization No match for argument: centos-release-ansible26 No match for argument: centos-release-ansible-27 No match for argument: centos-release-ansible-28 No match for argument: centos-release-ansible-29 No match for argument: centos-release-azure No match for argument: centos-release-ceph-jewel No match for argument: centos-release-ceph-luminous No match for argument: centos-release-ceph-nautilus No match for argument: centos-release-ceph-octopus No match for argument: centos-release-configmanagement No match for argument: centos-release-dotnet No match for argument: centos-release-fdio No match for argument: centos-release-gluster40 No match for argument: centos-release-gluster41 No match for argument: centos-release-gluster5 No match for argument: centos-release-gluster6 No match for argument: centos-release-gluster7 No match for argument: centos-release-gluster8 No match for argument: centos-release-gluster-legacy No match for argument: centos-release-messaging No match for argument: centos-release-nfs-ganesha28 No match for argument: centos-release-nfs-ganesha30 No match for argument: centos-release-nfv-common No match for argument: centos-release-nfv-openvswitch No match for argument: centos-release-openshift-origin No match for argument: centos-release-openstack-queens No match for argument: centos-release-openstack-rocky No match for argument: centos-release-openstack-stein No match for argument: centos-release-openstack-train No match for argument: centos-release-openstack-ussuri No match for argument: centos-release-opstools No match for argument: centos-release-ovirt42 No match for argument: centos-release-ovirt43 No match for argument: centos-release-ovirt44 No match for argument: centos-release-paas-common No match for argument: centos-release-qemu-ev No match for argument: centos-release-qpid-proton No match for argument: centos-release-rabbitmq-38 No match for argument: centos-release-samba411 No match for argument: centos-release-samba412 No match for argument: centos-release-scl No match for argument: centos-release-scl-rh No match for argument: centos-release-storage-common No match for argument: centos-release-virt-common No match for argument: centos-release-xen No match for argument: centos-release-xen-410 No match for argument: centos-release-xen-412 No match for argument: centos-release-xen-46 No match for argument: centos-release-xen-48 No match for argument: centos-release-xen-common No match for argument: libreport-centos No match for argument: libreport-plugin-mantisbt No match for argument: libreport-plugin-rhtsupport No match for argument: python-oauth No match for argument: sl-logos No match for argument: yum-rhn-plugin No match for argument: centos-indexhtml > Package basesystem-11-5.el8.noarch is already installed. Package initscripts-10.00.9-1.el8.x86_64 is already installed. Package plymouth-0.9.4-7.20200615git1e36e30.el8.x86_64 is already installed. Package grub2-pc-1:2.02-90.el8_3.1.x86_64 is already installed. Package grubby-8.40-41.el8.x86_64 is already installed. > Problem: The operation would result in removing the following protected packages: setup Nothing to do. Complete! Last metadata expiration check: 0:00:02 ago on Thu 13 Jan 2022 04:16:24 PM CST. Modular dependency problems: Problem 1: conflicting requests - nothing provides module(llvm-toolset:rhel8) needed by module rust-toolset:rhel8:8050020211112063729:f73640c0-0.x86_64 - nothing provides module(platform:el8) needed by module rust-toolset:rhel8:8050020211112063729:f73640c0-0.x86_64 Problem 2: conflicting requests - nothing provides module(platform:el8) needed by module virt:rhel:8050020211221192853:b4937e53-0.x86_64 > Leaving Shell Updating initrd... Switch successful. Syncing with Anolis OS repositories. Last metadata expiration check: 0:00:18 ago on Thu 13 Jan 2022 04:16:24 PM CST. Modular dependency problems: Problem 1: conflicting requests - nothing provides module(llvm-toolset:rhel8) needed by module rust-toolset:rhel8:8050020211112063729:f73640c0-0.x86_64 - nothing provides module(platform:el8) needed by module rust-toolset:rhel8:8050020211112063729:f73640c0-0.x86_64 Problem 2: conflicting requests - nothing provides module(platform:el8) needed by module virt:rhel:8050020211221192853:b4937e53-0.x86_64 Dependencies resolved. ================================================================================================================================ Package Architecture Version Repository Size ================================================================================================================================ Downgrading: crypto-policies noarch 20210209-1.gitbfb6bed.an8 BaseOS 61 k crypto-policies-scripts noarch 20210209-1.gitbfb6bed.an8 BaseOS 66 k Transaction Summary ================================================================================================================================ Downgrade 2 Packages Total download size: 127 k Downloading Packages: (1/2): crypto-policies-20210209-1.gitbfb6bed.an8.noarch.rpm 604 kB/s | 61 kB 00:00 (2/2): crypto-policies-scripts-20210209-1.gitbfb6bed.an8.noarch.rpm 415 kB/s | 66 kB 00:00 -------------------------------------------------------------------------------------------------------------------------------- Total 794 kB/s | 127 kB 00:00 warning: /var/cache/dnf/BaseOS-82c3b6069ab677a8/packages/crypto-policies-20210209-1.gitbfb6bed.an8.noarch.rpm: Header V4 RSA/SHA 256 Signature, key ID 4873f7c5: NOKEY AnolisOS-8.4 - BaseOS 3.0 MB/s | 3.0 kB 00:00 Importing GPG key 0x4873F7C5: Userid : "Anolis OS <os@openanolis.org>" Fingerprint: F87D B652 2967 855E 986F 840C 6191 4008 4873 F7C5 From : /etc/pki/rpm-gpg/RPM-GPG-KEY-ANOLIS Key imported successfully Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Downgrading : crypto-policies-scripts-20210209-1.gitbfb6bed.an8.noarch 1/4 Downgrading : crypto-policies-20210209-1.gitbfb6bed.an8.noarch 2/4 Running scriptlet: crypto-policies-20210209-1.gitbfb6bed.an8.noarch 2/4 Cleanup : crypto-policies-20210209-1.gitbfb6bed.el8_3.noarch 3/4 Cleanup : crypto-policies-scripts-20210209-1.gitbfb6bed.el8_3.noarch 4/4 Running scriptlet: crypto-policies-scripts-20210209-1.gitbfb6bed.an8.noarch 4/4 Running scriptlet: crypto-policies-scripts-20210209-1.gitbfb6bed.el8_3.noarch 4/4 Verifying : crypto-policies-20210209-1.gitbfb6bed.an8.noarch 1/4 Verifying : crypto-policies-20210209-1.gitbfb6bed.el8_3.noarch 2/4 Verifying : crypto-policies-scripts-20210209-1.gitbfb6bed.an8.noarch 3/4 Verifying : crypto-policies-scripts-20210209-1.gitbfb6bed.el8_3.noarch 4/4 Downgraded: crypto-policies-20210209-1.gitbfb6bed.an8.noarch crypto-policies-scripts-20210209-1.gitbfb6bed.an8.noarch Complete! Last metadata expiration check: 0:00:20 ago on Thu 13 Jan 2022 04:16:24 PM CST. Modular dependency problems: Problem 1: conflicting requests - nothing provides module(llvm-toolset:rhel8) needed by module rust-toolset:rhel8:8050020211112063729:f73640c0-0.x86_64 - nothing provides module(platform:el8) needed by module rust-toolset:rhel8:8050020211112063729:f73640c0-0.x86_64 Problem 2: conflicting requests - nothing provides module(platform:el8) needed by module virt:rhel:8050020211221192853:b4937e53-0.x86_64 Error: Problem 1: package rust-1.54.0-2.module_el8.5.0+910+9ca45234.x86_64 requires libLLVM-12.so()(64bit), but none of the providers can be installed - package rust-1.54.0-2.module_el8.5.0+910+9ca45234.x86_64 requires libLLVM-12.so(LLVM_12)(64bit), but none of the providers c an be installed - llvm-libs-12.0.1-2.module_el8.5.0+918+ed335b90.x86_64 does not belong to a distupgrade repository - problem with installed package rust-1.54.0-2.module_el8.5.0+910+9ca45234.x86_64 Problem 2: package rust-1.54.0-2.module_el8.5.0+910+9ca45234.x86_64 requires libLLVM-12.so()(64bit), but none of the providers can be installed - package rust-1.54.0-2.module_el8.5.0+910+9ca45234.x86_64 requires libLLVM-12.so(LLVM_12)(64bit), but none of the providers c an be installed - cannot install both llvm-libs-11.0.1-2.module+an8.4.0+10504+223036e3.x86_64 and llvm-libs-12.0.1-2.module_el8.5.0+918+ed335b 90.x86_64 - package cargo-1.54.0-3.module_el8.5.0+1023+0c63d3d6.x86_64 requires rust, but none of the providers can be installed - cannot install the best update candidate for package llvm-libs-12.0.1-2.module_el8.5.0+918+ed335b90.x86_64 - problem with installed package cargo-1.54.0-3.module_el8.5.0+1023+0c63d3d6.x86_64 - package rust-1.49.0-1.module+an8.4.0+10210+8782e2db.x86_64 is filtered out by modular filtering - package rust-1.52.1-1.module+an8.4.0+10371+e76f6930.x86_64 is filtered out by modular filtering (try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages o r '--nobest' to use not only best candidate packages) Could not automatically sync with Anolis OS repositories. Check the output of 'yum distro-sync' to manually resolve the issue. [复现步骤] wget https://gitee.com/anolis/centos2anolis/raw/master/centos2anolis.py yum -y install python3 python3 centos2anolis.py -v 8.4
rust依赖llvm12和clang12,anolis8暂未提供llvm12和clang12。
llvm12 已经发布