Linux/RedHat

Red Hat Error: Failed to download metadata for repo

bong2. 2025. 1. 24. 08:44
[root@localhost ~]# yum list --showduplicates kernel
Updating Subscription Management repositories.
Red Hat Enterprise Linux 8 for x86_64 - BaseOS - Update Services for SAP Solutions (RPMs)                                                                                                                    9.1  B/s |  10  B     00:01
Errors during downloading metadata for repository 'rhel-8-for-x86_64-baseos-e4s-rpms':
  - Status code: 404 for https://cdn.redhat.com/content/e4s/rhel8/8/x86_64/baseos/os/repodata/repomd.xml (IP: 114.108.188.251)
Error: Failed to download metadata for repo 'rhel-8-for-x86_64-baseos-e4s-rpms': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

 

Red Hat 리눅스 사용 중 위와 같은 오류 발생 시 아래 명령어로 해결 가능하다.

[root@localhost ~]# subscription-manager release --set=8.2