openEuler-22.03-LTS升级SP1报错

[root@openeuler yum.repos.d]# dnf update | tee update_log
SP1_OS 4.1 MB/s | 3.4 MB 00:00
EPOL 3.8 MB/s | 3.8 MB 00:00
debuginfo 3.5 MB/s | 3.9 MB 00:01
source 2.7 MB/s | 1.7 MB 00:00
SP1_update 5.8 MB/s | 38 MB 00:06
packages-microsoft-com-prod 0.0 B/s | 0 B 00:00
Errors during downloading metadata for repository ‘packages-microsoft-com-prod’:

  • Curl error (60): SSL peer certificate or SSH remote key was not OK for https://packages.microsoft.com/rhel/7/prod/repodata/repomd.xml [SSL certificate problem: unable to get local issuer certificate]
    Error: Failed to download metadata for repo ‘packages-microsoft-com-prod’: Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

[SP1_OS]
name=SP1_OS
baseurl=http://repo.openeuler.org/openEuler-22.03-LTS-SP1/OS/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://repo.openeuler.org/openEuler-22.03-LTS-SP1/OS/$basearch/RPM-GPG-KEY-openEuler

[SP1_EPOL]
name=EPOL
baseurl=http://repo.openeuler.org/openEuler-22.03-LTS-SP1/EPOL/main/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://repo.openeuler.org/openEuler-22.03-LTS-SP1/OS/$basearch/RPM-GPG-KEY-openEuler

[SP1_debuginfo]
name=debuginfo
baseurl=http://repo.openeuler.org/openEuler-22.03-LTS-SP1/debuginfo/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://repo.openeuler.org/openEuler-22.03-LTS-SP1/debuginfo/$basearch/RPM-GPG-KEY-openEuler

[SP1_source]
name=source
baseurl=http://repo.openeuler.org/openEuler-22.03-LTS-SP1/source/
enabled=1
gpgcheck=1
gpgkey=http://repo.openeuler.org/openEuler-22.03-LTS-SP1/source/RPM-GPG-KEY-openEuler

[SP1_update]
name=SP1_update
baseurl=http://repo.openeuler.org/openEuler-22.03-LTS-SP1/update/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://repo.openeuler.org/openEuler-22.03-LTS-SP1/OS/$basearch/RPM-GPG-KEY-openEuler

1 Like

packages-microsoft-com-prod这个仓库证书有问题,如果只是升级openEuler系统,可以将该仓库配置删除或者注释掉。