Bug 1418 - [CentOS8.4/CentOS8.5迁移Anolis8.6] 使用本地配置的龙蜥yum源系统迁移,过程存在安装问题
Summary: [CentOS8.4/CentOS8.5迁移Anolis8.6] 使用本地配置的龙蜥yum源系统迁移,过程存在安装问题
Status: RESOLVED INVALID
Alias: None
Product: Anolis OS 8
Classification: Anolis OS
Component: Others (show other bugs) Others
Version: 8.6
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: 葛立伟
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 1338
  Show dependency tree
 
Reported: 2022-06-07 17:56 UTC by anolislw
Modified: 2022-06-20 14:50 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description anolislw alibaba_cloud_group 2022-06-07 17:56:58 UTC
[简述]
    使用云上ecs实例,搭建本地配置的龙蜥yum源(switch-to-anolis.repo),从CentOS8.4/CentOS8.5环境迁移至Anolis8.6,迁移过程存在安装问题。

本地源rpms来源: https://mirrors.openanolis.cn/anolis/8.6/isos/RC/x86_64/anolis-8-x86_64-dvd.iso


------   CentOS8.4 迁移 Anolis8.6 过程安装报错信息 ------------------
Complete!
Last metadata expiration check: 0:00:17 ago on Tue 07 Jun 2022 05:40:21 PM CST.
Error:
 Problem 1: cannot install both perl-libs-4:5.26.3-421.0.1.an8.x86_64 and perl-libs-4:5.32.1-471.module+an8.6.0+10679+d77706e4.x86_64
  - package perl-Net-SSLeay-1.88-1.module_el8.3.0+410+ff426aa3.x86_64 requires perl(:MODULE_COMPAT_5.26.3), but none of the providers ca            n be installed
  - package perl-Net-SSLeay-1.88-1.module_el8.3.0+410+ff426aa3.x86_64 requires libperl.so.5.26()(64bit), but none of the providers can b            e installed
  - cannot install the best update candidate for package perl-libs-4:5.26.3-419.el8_4.1.x86_64
  - perl-libs-4:5.26.3-419.el8_4.1.x86_64 does not belong to a distupgrade repository
  - problem with installed package perl-Net-SSLeay-1.88-1.module_el8.3.0+410+ff426aa3.x86_64
 Problem 2: cannot install both perl-libs-4:5.32.1-471.module+an8.6.0+10679+d77706e4.x86_64 and perl-libs-4:5.24.4-404.0.1.module+el8.2.            0+10082+5bf140b0.x86_64
  - package perl-MIME-Base64-3.15-1001.module+el8.2.0+10082+5bf140b0.x86_64 requires perl(:MODULE_COMPAT_5.24.4), but none of the provid            ers can be installed
  - package perl-MIME-Base64-3.15-1001.module+el8.2.0+10082+5bf140b0.x86_64 requires libperl.so.5.24()(64bit), but none of the providers             can be installed
  - package perl-Carp-1.50-439.module+an8.6.0+10679+d77706e4.noarch requires perl(:MODULE_COMPAT_5.32.1), but none of the providers can             be installed
  - cannot install the best update candidate for package perl-MIME-Base64-3.15-396.el8.x86_64
  - cannot install the best update candidate for package perl-Carp-1.42-396.el8.noarch
 Problem 3: cannot install both perl-libs-4:5.32.1-471.module+an8.6.0+10679+d77706e4.x86_64 and perl-libs-4:5.24.4-404.0.1.module+el8.2.            0+10082+5bf140b0.x86_64
  - package perl-Pod-Escapes-1:1.07-396.module+el8.2.0+10082+5bf140b0.noarch requires perl(:MODULE_COMPAT_5.24.4), but none of the provi            ders can be installed
  - package perl-Data-Dumper-2.174-440.module+an8.6.0+10679+d77706e4.x86_64 requires perl(:MODULE_COMPAT_5.32.1), but none of the provid            ers can be installed
  - package perl-Data-Dumper-2.174-440.module+an8.6.0+10679+d77706e4.x86_64 requires libperl.so.5.32()(64bit), but none of the providers             can be installed
  - cannot install the best update candidate for package perl-Pod-Escapes-1:1.07-395.el8.noarch
  - cannot install the best update candidate for package perl-Data-Dumper-2.167-399.el8.x86_64
 Problem 4: cannot install both perl-libs-4:5.32.1-471.module+an8.6.0+10679+d77706e4.x86_64 and perl-libs-4:5.24.4-404.0.1.module+el8.2.            0+10082+5bf140b0.x86_64
  - package perl-Term-Cap-1.17-396.module+el8.2.0+10082+5bf140b0.noarch requires perl(:MODULE_COMPAT_5.24.4), but none of the providers             can be installed
  - package perl-Digest-1.20-1.module+an8.6.0+10679+d77706e4.noarch requires perl(:MODULE_COMPAT_5.32.1), but none of the providers can             be installed
  - cannot install the best update candidate for package perl-Term-Cap-1.17-395.el8.noarch
  - cannot install the best update candidate for package perl-Digest-1.17-395.el8.noarch
 Problem 5: cannot install both perl-libs-4:5.32.1-471.module+an8.6.0+10679+d77706e4.x86_64 and perl-libs-4:5.24.4-404.0.1.module+el8.2.            0+10082+5bf140b0.x86_64
  - package perl-Text-ParseWords-3.30-396.module+el8.2.0+10082+5bf140b0.noarch requires perl(:MODULE_COMPAT_5.24.4), but none of the pro            viders can be installed
  - package perl-Digest-MD5-2.58-1.module+an8.6.0+10679+d77706e4.x86_64 requires perl(:MODULE_COMPAT_5.32.1), but none of the providers             can be installed
  - package perl-Digest-MD5-2.58-1.module+an8.6.0+10679+d77706e4.x86_64 requires libperl.so.5.32()(64bit), but none of the providers can             be installed
  - cannot install the best update candidate for package perl-Text-ParseWords-3.30-395.el8.noarch
  - cannot install the best update candidate for package perl-Digest-MD5-2.55-396.el8.x86_64
 Problem 6: cannot install both perl-libs-4:5.32.1-471.module+an8.6.0+10679+d77706e4.x86_64 and perl-libs-4:5.24.4-404.0.1.module+el8.2.            0+10082+5bf140b0.x86_64
  - package perl-Text-Tabs+Wrap-2013.0523-396.module+el8.2.0+10082+5bf140b0.noarch requires perl(:MODULE_COMPAT_5.24.4), but none of the             providers can be installed
  - package perl-Encode-4:3.08-461.module+an8.6.0+10679+d77706e4.x86_64 requires perl(:MODULE_COMPAT_5.32.1), but none of the providers             can be installed
  - package perl-Encode-4:3.08-461.module+an8.6.0+10679+d77706e4.x86_64 requires libperl.so.5.32()(64bit), but none of the providers can             be installed
  - cannot install the best update candidate for package perl-Text-Tabs+Wrap-2013.0523-395.el8.noarch
  - cannot install the best update candidate for package perl-Encode-4:2.97-3.el8.x86_64
 Problem 7: cannot install both perl-libs-4:5.32.1-471.module+an8.6.0+10679+d77706e4.x86_64 and perl-libs-4:5.24.4-404.0.1.module+el8.2.            0+10082+5bf140b0.x86_64
  - package perl-constant-1.33-1001.module+el8.2.0+10082+5bf140b0.noarch requires perl(:MODULE_COMPAT_5.24.4), but none of the providers             can be installed
  - package perl-Errno-1.30-471.module+an8.6.0+10679+d77706e4.x86_64 requires perl(:MODULE_COMPAT_5.32.1), but none of the providers can             be installed
  - package perl-Errno-1.30-471.module+an8.6.0+10679+d77706e4.x86_64 requires perl-libs(x86-64) = 4:5.32.1-471.module+an8.6.0+10679+d777            06e4, but none of the providers can be installed
  - cannot install the best update candidate for package perl-constant-1.33-396.el8.noarch
  - cannot install the best update candidate for package perl-Errno-1.28-419.el8_4.1.x86_64
 Problem 8: package perl-Net-SSLeay-1.88-1.module_el8.3.0+410+ff426aa3.x86_64 requires perl(:MODULE_COMPAT_5.26.3), but none of the prov            iders can be installed
  - package perl-Net-SSLeay-1.88-1.module_el8.3.0+410+ff426aa3.x86_64 requires libperl.so.5.26()(64bit), but none of the providers can b            e installed
  - cannot install both perl-libs-4:5.32.1-471.module+an8.6.0+10679+d77706e4.x86_64 and perl-libs-4:5.26.3-419.el8_4.1.x86_64
  - cannot install both perl-libs-4:5.26.3-421.0.1.an8.x86_64 and perl-libs-4:5.32.1-471.module+an8.6.0+10679+d77706e4.x86_64
  - package perl-Exporter-5.74-458.module+an8.6.0+10679+d77706e4.noarch requires perl(:MODULE_COMPAT_5.32.1), but none of the providers             can be installed
  - package perl-IO-Socket-SSL-2.066-4.module_el8.3.0+410+ff426aa3.noarch requires perl(Net::SSLeay) >= 1.46, but none of the providers             can be installed
  - cannot install the best update candidate for package perl-Exporter-5.72-396.el8.noarch
  - problem with installed package perl-IO-Socket-SSL-2.066-4.module_el8.3.0+410+ff426aa3.noarch
  - package perl-Net-SSLeay-1.88-2.module+an8.6.0+10739+33f8cc52.x86_64 is filtered out by modular filtering
  - package perl-Net-SSLeay-1.88-2.module+an8.6.0+10739+3a6e872d.x86_64 is filtered out by modular filtering
  - package perl-Net-SSLeay-1.88-2.module+an8.6.0+10739+55eb7d62.x86_64 is filtered out by modular filtering
  - package perl-Net-SSLeay-1.88-2.module+an8.6.0+10739+f2d19349.x86_64 is filtered out by modular filtering
 Problem 9: package perl-Mozilla-CA-20160104-7.module_el8.3.0+416+dee7bcef.noarch requires perl(:MODULE_COMPAT_5.26.3), but none of the             providers can be installed
  - cannot install both perl-libs-4:5.32.1-471.module+an8.6.0+10679+d77706e4.x86_64 and perl-libs-4:5.26.3-419.el8_4.1.x86_64
  - cannot install both perl-libs-4:5.26.3-421.0.1.an8.x86_64 and perl-libs-4:5.32.1-471.module+an8.6.0+10679+d77706e4.x86_64
  - package perl-File-Path-2.16-439.module+an8.6.0+10679+d77706e4.noarch requires perl(:MODULE_COMPAT_5.32.1), but none of the providers             can be installed
  - cannot install the best update candidate for package perl-File-Path-2.15-2.el8.noarch
  - problem with installed package perl-Mozilla-CA-20160104-7.module_el8.3.0+416+dee7bcef.noarch
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nob            est' 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.
After you resolve the issue, Please use 'python3 centos2anolis.py -c ' to continue migration



------   CentOS8.5 迁移 Anolis8.6 过程安装报错信息 ------------------
Last metadata expiration check: 0:00:19 ago on Tue 07 Jun 2022 05:29:17 PM CST.
Dependencies resolved.
Nothing to do.
Complete!
Last metadata expiration check: 0:00:20 ago on Tue 07 Jun 2022 05:29:17 PM CST.
Error:
 Problem 1: cannot install both perl-libs-4:5.26.3-421.0.1.an8.x86_64 and perl-libs-4:5.32.1-471.module+an8.6.0+10679+d77706e4.x86_64
  - package perl-Net-SSLeay-1.88-1.module_el8.3.0+410+ff426aa3.x86_64 requires libperl.so.5.26()(64bit), but none of the providers can be installed
  - package perl-Net-SSLeay-1.88-1.module_el8.3.0+410+ff426aa3.x86_64 requires perl(:MODULE_COMPAT_5.26.3), but none of the providers can be installed
  - cannot install the best update candidate for package perl-libs-4:5.26.3-420.el8.x86_64
  - perl-libs-4:5.26.3-420.el8.x86_64 does not belong to a distupgrade repository
  - problem with installed package perl-Net-SSLeay-1.88-1.module_el8.3.0+410+ff426aa3.x86_64
 Problem 2: cannot install both perl-libs-4:5.32.1-471.module+an8.6.0+10679+d77706e4.x86_64 and perl-libs-4:5.24.4-404.0.1.module+el8.2.0+10082+5bf140b0.x86_64
  - package perl-MIME-Base64-3.15-1001.module+el8.2.0+10082+5bf140b0.x86_64 requires perl(:MODULE_COMPAT_5.24.4), but none of the providers can be installed
  - package perl-MIME-Base64-3.15-1001.module+el8.2.0+10082+5bf140b0.x86_64 requires libperl.so.5.24()(64bit), but none of the providers can be installed
  - package perl-Carp-1.50-439.module+an8.6.0+10679+d77706e4.noarch requires perl(:MODULE_COMPAT_5.32.1), but none of the providers can be installed
  - cannot install the best update candidate for package perl-MIME-Base64-3.15-396.el8.x86_64
  - cannot install the best update candidate for package perl-Carp-1.42-396.el8.noarch
 Problem 3: cannot install both perl-libs-4:5.32.1-471.module+an8.6.0+10679+d77706e4.x86_64 and perl-libs-4:5.24.4-404.0.1.module+el8.2.0+10082+5bf140b0.x86_64
  - package perl-Pod-Escapes-1:1.07-396.module+el8.2.0+10082+5bf140b0.noarch requires perl(:MODULE_COMPAT_5.24.4), but none of the providers can be installed
  - package perl-Data-Dumper-2.174-440.module+an8.6.0+10679+d77706e4.x86_64 requires perl(:MODULE_COMPAT_5.32.1), but none of the providers can be installed
  - package perl-Data-Dumper-2.174-440.module+an8.6.0+10679+d77706e4.x86_64 requires libperl.so.5.32()(64bit), but none of the providers can be installed
  - cannot install the best update candidate for package perl-Pod-Escapes-1:1.07-395.el8.noarch
  - cannot install the best update candidate for package perl-Data-Dumper-2.167-399.el8.x86_64
 Problem 4: cannot install both perl-libs-4:5.32.1-471.module+an8.6.0+10679+d77706e4.x86_64 and perl-libs-4:5.24.4-404.0.1.module+el8.2.0+10082+5bf140b0.x86_64
  - package perl-Term-Cap-1.17-396.module+el8.2.0+10082+5bf140b0.noarch requires perl(:MODULE_COMPAT_5.24.4), but none of the providers can be installed
  - package perl-Digest-1.20-1.module+an8.6.0+10679+d77706e4.noarch requires perl(:MODULE_COMPAT_5.32.1), but none of the providers can be installed
  - cannot install the best update candidate for package perl-Term-Cap-1.17-395.el8.noarch
  - cannot install the best update candidate for package perl-Digest-1.17-395.el8.noarch
 Problem 5: cannot install both perl-libs-4:5.32.1-471.module+an8.6.0+10679+d77706e4.x86_64 and perl-libs-4:5.24.4-404.0.1.module+el8.2.0+10082+5bf140b0.x86_64
  - package perl-Text-ParseWords-3.30-396.module+el8.2.0+10082+5bf140b0.noarch requires perl(:MODULE_COMPAT_5.24.4), but none of the providers can be installed
  - package perl-Digest-MD5-2.58-1.module+an8.6.0+10679+d77706e4.x86_64 requires perl(:MODULE_COMPAT_5.32.1), but none of the providers can be installed
  - package perl-Digest-MD5-2.58-1.module+an8.6.0+10679+d77706e4.x86_64 requires libperl.so.5.32()(64bit), but none of the providers can be installed
  - cannot install the best update candidate for package perl-Text-ParseWords-3.30-395.el8.noarch
  - cannot install the best update candidate for package perl-Digest-MD5-2.55-396.el8.x86_64
 Problem 6: cannot install both perl-libs-4:5.32.1-471.module+an8.6.0+10679+d77706e4.x86_64 and perl-libs-4:5.24.4-404.0.1.module+el8.2.0+10082+5bf140b0.x86_64
  - package perl-Text-Tabs+Wrap-2013.0523-396.module+el8.2.0+10082+5bf140b0.noarch requires perl(:MODULE_COMPAT_5.24.4), but none of the providers can be installed
  - package perl-Encode-4:3.08-461.module+an8.6.0+10679+d77706e4.x86_64 requires perl(:MODULE_COMPAT_5.32.1), but none of the providers can be installed
  - package perl-Encode-4:3.08-461.module+an8.6.0+10679+d77706e4.x86_64 requires libperl.so.5.32()(64bit), but none of the providers can be installed
  - cannot install the best update candidate for package perl-Text-Tabs+Wrap-2013.0523-395.el8.noarch
  - cannot install the best update candidate for package perl-Encode-4:2.97-3.el8.x86_64
 Problem 7: cannot install both perl-libs-4:5.32.1-471.module+an8.6.0+10679+d77706e4.x86_64 and perl-libs-4:5.24.4-404.0.1.module+el8.2.0+10082+5bf140b0.x86_64
  - package perl-constant-1.33-1001.module+el8.2.0+10082+5bf140b0.noarch requires perl(:MODULE_COMPAT_5.24.4), but none of the providers can be installed
  - package perl-Errno-1.30-471.module+an8.6.0+10679+d77706e4.x86_64 requires perl(:MODULE_COMPAT_5.32.1), but none of the providers can be installed
  - package perl-Errno-1.30-471.module+an8.6.0+10679+d77706e4.x86_64 requires perl-libs(x86-64) = 4:5.32.1-471.module+an8.6.0+10679+d77706e4, but none of the providers can be installed
  - cannot install the best update candidate for package perl-constant-1.33-396.el8.noarch
  - cannot install the best update candidate for package perl-Errno-1.28-420.el8.x86_64
 Problem 8: package perl-Net-SSLeay-1.88-1.module_el8.3.0+410+ff426aa3.x86_64 requires libperl.so.5.26()(64bit), but none of the providers can be installed
  - package perl-Net-SSLeay-1.88-1.module_el8.3.0+410+ff426aa3.x86_64 requires perl(:MODULE_COMPAT_5.26.3), but none of the providers can be installed
  - cannot install both perl-libs-4:5.32.1-471.module+an8.6.0+10679+d77706e4.x86_64 and perl-libs-4:5.26.3-420.el8.x86_64
  - cannot install both perl-libs-4:5.26.3-421.0.1.an8.x86_64 and perl-libs-4:5.32.1-471.module+an8.6.0+10679+d77706e4.x86_64
  - package perl-Exporter-5.74-458.module+an8.6.0+10679+d77706e4.noarch requires perl(:MODULE_COMPAT_5.32.1), but none of the providers can be installed
  - package perl-IO-Socket-SSL-2.066-4.module_el8.3.0+410+ff426aa3.noarch requires perl(Net::SSLeay) >= 1.46, but none of the providers can be installed
  - cannot install the best update candidate for package perl-Exporter-5.72-396.el8.noarch
  - problem with installed package perl-IO-Socket-SSL-2.066-4.module_el8.3.0+410+ff426aa3.noarch
  - package perl-Net-SSLeay-1.88-2.module+an8.6.0+10739+33f8cc52.x86_64 is filtered out by modular filtering
  - package perl-Net-SSLeay-1.88-2.module+an8.6.0+10739+3a6e872d.x86_64 is filtered out by modular filtering
  - package perl-Net-SSLeay-1.88-2.module+an8.6.0+10739+55eb7d62.x86_64 is filtered out by modular filtering
  - package perl-Net-SSLeay-1.88-2.module+an8.6.0+10739+f2d19349.x86_64 is filtered out by modular filtering
 Problem 9: package perl-Mozilla-CA-20160104-7.module_el8.3.0+416+dee7bcef.noarch requires perl(:MODULE_COMPAT_5.26.3), but none of the providers can be installed
  - cannot install both perl-libs-4:5.32.1-471.module+an8.6.0+10679+d77706e4.x86_64 and perl-libs-4:5.26.3-420.el8.x86_64
  - cannot install both perl-libs-4:5.26.3-421.0.1.an8.x86_64 and perl-libs-4:5.32.1-471.module+an8.6.0+10679+d77706e4.x86_64
  - package perl-File-Path-2.16-439.module+an8.6.0+10679+d77706e4.noarch requires perl(:MODULE_COMPAT_5.32.1), but none of the providers can be installed
  - cannot install the best update candidate for package perl-File-Path-2.15-2.el8.noarch
  - problem with installed package perl-Mozilla-CA-20160104-7.module_el8.3.0+416+dee7bcef.noarch
 Problem 10: package exim-4.92.3-3.el8.x86_64 requires libperl.so.5.26()(64bit), but none of the providers can be installed
  - package exim-4.92.3-3.el8.x86_64 requires perl(:MODULE_COMPAT_5.26.3), but none of the providers can be installed
  - cannot install both perl-libs-4:5.32.1-471.module+an8.6.0+10679+d77706e4.x86_64 and perl-libs-4:5.26.3-420.el8.x86_64
  - cannot install both perl-libs-4:5.26.3-421.0.1.an8.x86_64 and perl-libs-4:5.32.1-471.module+an8.6.0+10679+d77706e4.x86_64
  - package perl-File-Temp-1:0.231.100-1.module+an8.6.0+10679+d77706e4.noarch requires perl(:MODULE_COMPAT_5.32.1), but none of the providers can be installed
  - cannot install the best update candidate for package perl-File-Temp-0.230.600-1.el8.noarch
  - problem with installed package exim-4.92.3-3.el8.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--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.
After you resolve the issue, Please use 'python3 centos2anolis.py -c ' to continue migration


[迁移步骤]
1 使用iso挂载搭建本地源(略)
  本地repo信息:
cat /etc/yum.repos.d/switch-to-anolis.repo
[AppStream-local]
name=AppStream-local
baseurl=file:///local.repo.com/AppStream
gpgcheck=0
enabled=1

[BaseOS-local]
name=BaseOS-local
baseurl=file:///local.repo.com/BaseOS
gpgcheck=0
enabled=1

2 执行迁移流程:
  #下载迁移脚本:
  wget https://gitee.com/anolis/centos2anolis/raw/master/centos2anolis.py
  #安装迁移脚本运行依赖:
  yum -y install python3
  python3 centos2anolis.py -l
Comment 1 葛立伟 alibaba_cloud_group 2022-06-09 20:19:22 UTC
我无法重现你说的问题
Removed:
  python3-syspurpose-1.28.21-3.el8.x86_64                                                                                                                                   

Complete!
Remove centos gpg-pubkey
rpm: no packages given for erase
Removing yum cache
Verify after
Sync successfully, update grub.cfg.
Generating grub configuration file ...
done
Resume 3rd-part repository files...
mv: cannot stat '/etc/yum.repos.d/migration-bak/*': No such file or directory
Yum clean all
0 files removed
AnolisOS-8 - BaseOS                                                                                                                         181 MB/s | 3.2 MB     00:00    
AnolisOS-8 - AppStream                                                                                                                      252 MB/s | 7.0 MB     00:00    
Last metadata expiration check: 0:00:01 ago on Thu 09 Jun 2022 08:17:55 PM CST.
Metadata cache created.
Switch complete. Anolis OS recommends rebooting this system.
[root@iZ2ze75x7tndj6ae28m7osZ ~]# cat /etc/os-release 
NAME="Anolis OS"
VERSION="8.6"
ID="anolis"
ID_LIKE="rhel fedora centos"
VERSION_ID="8.6"
PLATFORM_ID="platform:an8"
PRETTY_NAME="Anolis OS 8.6"
ANSI_COLOR="0;31"
HOME_URL="https://openanolis.cn/"

[root@iZ2ze75x7tndj6ae28m7osZ ~]# cat /etc/yum.repos.d/
AnolisOS-AppStream.repo.disabled         AnolisOS-Experimental.repo.disabled      AnolisOS-PowerTools.repo.disabled        switch-to-anolis.repo
AnolisOS-BaseOS.repo.disabled            AnolisOS-Extras.repo.disabled            AnolisOS-Source.repo.disabled            
AnolisOS-DDE.repo.disabled               AnolisOS-HighAvailability.repo.disabled  Centos-vault-8.5.2111.repo.disabled      
AnolisOS-Debuginfo.repo.disabled         AnolisOS-Plus.repo.disabled              epel-archive-8.repo.disabled             
[root@iZ2ze75x7tndj6ae28m7osZ ~]# cat /etc/yum.repos.d/switch-to-anolis.repo 
[an8_baseos]
name=AnolisOS-8 - BaseOS
baseurl=file:///iso/BaseOS
gpgcheck=0
enabled=1

[an8_appstream]
name=AnolisOS-8 - AppStream
baseurl=file:///iso/AppStream
gpgcheck=0
enabled=1
[root@iZ2ze75x7tndj6ae28m7osZ ~]# rpm -q perl-Net-SSLeay
perl-Net-SSLeay-1.88-2.module+an8.6.0+10739+55eb7d62.x86_64
Comment 2 葛立伟 alibaba_cloud_group 2022-06-09 20:20:01 UTC
可否提供一个准备好的出现错误的环境
Comment 3 anolislw alibaba_cloud_group 2022-06-10 14:02:12 UTC
(In reply to 葛立伟 from comment #2)
> 可否提供一个准备好的出现错误的环境


已私发,注意查收
Comment 4 葛立伟 alibaba_cloud_group 2022-06-10 17:06:31 UTC
经调查是自己用iso里的包创建了一个仓库,创建仓库的metadata不对,请使用iso里提供的仓库。