Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- 라우터
- stp
- DHCP
- 명령어
- crontab
- OSI 7 layer
- eigrpv2
- Etherchannel
- GLBP
- ospfv3
- Chrony
- eigrp
- Vlan
- 스위치
- CKA
- Redistribute
- ripng
- ipv6
- ACL
- vrrp
- Inter VLAN
- OSPF
- rip
- tunneling
- 헤더
- NAT
- 장비
Archives
- Today
- Total
Net Eng
[CentOS] Failed to download metadata for repo 'appstream' 본문
에러
[root@main ~]# yum -y install gnome-tweaks
CentOS Stream 8 - AppStream 0.0 B/s | 0 B 00:00
Errors during downloading metadata for repository 'appstream':
- Curl error (6): Couldn't resolve host name for http://mirrorlist.centos.org/?release=8-stream&arch=x86_64&repo=AppStream&infra=stock [Could not resolve host: mirrorlist.centos.org]
오류: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: Curl error (6): Couldn't resolve host name for http://mirrorlist.centos.org/?release=8-stream&arch=x86_64&repo=AppStream&infra=stock [Could not resolve host: mirrorlist.centos.org]
[원인] - Mirror site가 Vault로 변경되어 문제가 발생
해결방법
[root@main ~]# sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-Stream-*
[root@main ~]# sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-Stream-*
[root@main ~]# dnf repolist
레포지터리 ID 레포지터리 이름
appstream CentOS Stream 8 - AppStream
baseos CentOS Stream 8 - BaseOS
extras CentOS Stream 8 - Extras
extras-common CentOS Stream 8 - Extras common packages