Description of problem: 从centos7.9 迁移到 Anolis8 ,yum源缺少subscription-manager相关包 [root@localhost leapp-master]# cat /etc/centos-release CentOS Linux release 7.9.2009 (AltArch) How reproducible: wget https://gitee.com/anolis/leapp/repository/archive/master.zip unzip master.zip cd leapp-master # 执行部署脚本安装leapp组件 sh leapp-install.sh sh leapp-repository-install.sh leapp answer --section remove_pam_pkcs11_module_check.confirm=True sed -i 's/#PermitRootLogin yes/PermitRootLogin yes/' /etc/ssh/sshd_config leapp preupgrade --no-rhsm leapp upgrade --no-rhsm #重启机器 reboot Actual results: (1959/1959): resource-agents-4.1.1-90.an8.5.aar 3.0 MB/s | 481 kB 00:00 -------------------------------------------------------------------------------- Total 18 MB/s | 1.5 GB 01:24 Running transaction check The downloaded packages were saved in cache until the next successful transaction. You can remove cached packages by executing 'dnf clean packages'. STDERR: No matches found for the following disable plugin patterns: subscription-manager Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/epel.repo; Configuration: OptionBinding with id "failovermethod" does not exist Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/epel.repo; Configuration: OptionBinding with id "failovermethod" does not exist Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/epel.repo; Configuration: OptionBinding with id "failovermethod" does not exist Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/epel-testing.repo; Configuration: OptionBinding with id "failovermethod" does not exist Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/epel-testing.repo; Configuration: OptionBinding with id "failovermethod" does not exist Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/epel-testing.repo; Configuration: OptionBinding with id "failovermethod" does not exist Warning: Packages marked by Leapp for install not found in repositories metadata: python3-nss jackson-jaxrs-providers ldns-utils glassfish-jaxb-api-javadoc uom-lib-javadoc si-units-javadoc python3-pki slf4j-log4j12 python3-kdcproxy easymock resteasy pcp-parfait-agent qemu-kvm-block-gluster jackson-annotations 389-ds-base-legacy-tools python3-ipaserver unit-api-javadoc jackson-jaxrs-providers-datatypes glassfish-jaxb-codemodel-annotation-compiler jackson-core python3-custodia slf4j-ext glassfish-jaxb-bom slf4j-jcl stax-ex-javadoc glassfish-jaxb-codemodel-parent glassfish-jaxb-rngom slf4j-jdk14 glassfish-jaxb-codemodel ivy-local parfait-javadoc uom-systems-javadoc glassfish-fastinfoset-javadoc jackson-jaxrs-json-provider glassfish-jaxb-txw2 log4j-over-slf4j jul-to-slf4j xsom-javadoc glassfish-jaxb-runtime-parent glassfish-jaxb-external-parent glassfish-jaxb-txw-parent glassfish-jaxb-bom-ext log4j12 jackson-module-jaxb-annotations glassfish-jaxb-core parfait-examples jackson-databind uom-se-javadoc glassfish-jaxb-runtime python3-javapackages glassfish-jaxb-parent No available modular metadata for modular package 'hamcrest-core-1.3-29.module+an8.4.0+10285+813f8ad8.noarch', it cannot be installed on the system No available modular metadata for modular package 'junit-1:4.12-14.module+an8.4.0+10285+813f8ad8.noarch', it cannot be installed on the system No available modular metadata for modular package 'objectweb-asm-7.3.1-3.module+an8.4.0+10285+813f8ad8.noarch', it cannot be installed on the system No available modular metadata for modular package 'xml-commons-apis-1.4.01-31.module+an8.4.0+10285+813f8ad8.noarch', it cannot be installed on the system Error: No available modular metadata for modular package ============================================================ END OF ERRORS ============================================================ Debug output written to /var/log/leapp/leapp-upgrade.log ============================================================ REPORT ============================================================ A report has been generated at /var/log/leapp/leapp-report.json A report has been generated at /var/log/leapp/leapp-report.txt ============================================================ END OF REPORT ============================================================ Answerfile has been generated at /var/log/leapp/answerfile Expected results: success Additional info:
Error: No available modular metadata for modular package
迁移前centos7.9上的安装包列表给一下
Created attachment 114 [details] 7.9arm-rpmlist
升级过程日志能提供一下么,类似于https://bugzilla.openanolis.cn/show_bug.cgi?id=352中的执行记录
Created attachment 116 [details] failarmlog
Created attachment 117 [details] leapp-upgrade-log
在anolis8.4 aarch64环境上尝试安装junit,出现类似的错误,错误信息如下: # yum install junit Failed to set locale, defaulting to C.UTF-8 Last metadata expiration check: 0:17:47 ago on Fri Jan 14 16:31:52 2022. Dependencies resolved. =============================================================================================================================================================================== Package Architecture Version Repository Size =============================================================================================================================================================================== Installing: junit noarch 1:4.12-14.module+an8.4.0+10285+813f8ad8 AppStream 299 k Installing dependencies: avahi-libs aarch64 0.7-20.an8 BaseOS 59 k copy-jdk-configs noarch 4.0-2.an8 AppStream 29 k cups-libs aarch64 1:2.2.6-40.an8 BaseOS 416 k hamcrest-core noarch 1.3-29.module+an8.4.0+10285+813f8ad8 AppStream 59 k java-1.8.0-openjdk-headless aarch64 1:1.8.0.312.b07-1.an8_4 AppStream 33 M javapackages-filesystem noarch 5.3.0-1.module+el8.2.0+10024+840302cd AppStream 29 k libjpeg-turbo aarch64 1.5.3-12.an8 AppStream 145 k lksctp-tools aarch64 1.0.18-3.el8 BaseOS 97 k lua aarch64 5.3.4-11.el8 AppStream 187 k tzdata-java noarch 2021e-1.an8 AppStream 190 k Enabling module streams: javapackages-runtime 201801 Transaction Summary =============================================================================================================================================================================== Install 11 Packages Total download size: 35 M Installed size: 122 M Is this ok [y/N]: y Downloading Packages: (1/11): copy-jdk-configs-4.0-2.an8.noarch.rpm 581 kB/s | 29 kB 00:00 (2/11): hamcrest-core-1.3-29.module+an8.4.0+10285+813f8ad8.noarch.rpm 798 kB/s | 59 kB 00:00 (3/11): javapackages-filesystem-5.3.0-1.module+el8.2.0+10024+840302cd.noarch.rpm 527 kB/s | 29 kB 00:00 (4/11): libjpeg-turbo-1.5.3-12.an8.aarch64.rpm 2.5 MB/s | 145 kB 00:00 (5/11): junit-4.12-14.module+an8.4.0+10285+813f8ad8.noarch.rpm 2.9 MB/s | 299 kB 00:00 (6/11): lua-5.3.4-11.el8.aarch64.rpm 3.5 MB/s | 187 kB 00:00 (7/11): tzdata-java-2021e-1.an8.noarch.rpm 3.9 MB/s | 190 kB 00:00 (8/11): java-1.8.0-openjdk-headless-1.8.0.312.b07-1.an8_4.aarch64.rpm 89 MB/s | 33 MB 00:00 (9/11): avahi-libs-0.7-20.an8.aarch64.rpm 372 kB/s | 59 kB 00:00 (10/11): cups-libs-2.2.6-40.an8.aarch64.rpm 2.7 MB/s | 416 kB 00:00 (11/11): lksctp-tools-1.0.18-3.el8.aarch64.rpm 2.3 MB/s | 97 kB 00:00 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Total 84 MB/s | 35 MB 00:00 Running transaction check No available modular metadata for modular package 'hamcrest-core-1.3-29.module+an8.4.0+10285+813f8ad8.noarch', it cannot be installed on the system No available modular metadata for modular package 'junit-1:4.12-14.module+an8.4.0+10285+813f8ad8.noarch', it cannot be installed on the system The downloaded packages were saved in cache until the next successful transaction. You can remove cached packages by executing 'yum clean packages'. Error: No available modular metadata for modular package 怀疑是aarch64的源没有处理好该module。 x86_64是没有问题的。
还有这两个 No available modular metadata for modular package 'objectweb-asm-7.3.1-3.module+an8.4.0+10285+813f8ad8.noarch', it cannot be installed on the system No available modular metadata for modular package 'xml-commons-apis-1.4.01-31.module+an8.4.0+10285+813f8ad8.noarch', it cannot be installed on the system
anolis8.4 aarch64上直接安装objectweb-asm和xml-commons-apis都是有类似的报错: No available modular metadata for modular package 'objectweb-asm-7.3.1-3.module+an8.4.0+10285+813f8ad8.noarch', it cannot be installed on the system The downloaded packages were saved in cache until the next successful transaction. You can remove cached packages by executing 'yum clean packages'. Error: No available modular metadata for modular package No available modular metadata for modular package 'xml-commons-apis-1.4.01-31.module+an8.4.0+10285+813f8ad8.noarch', it cannot be installed on the system The downloaded packages were saved in cache until the next successful transaction. You can remove cached packages by executing 'yum clean packages'. Error: No available modular metadata for modular package
最新版本已解决。