Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist
2023. 1. 3. 10:17ㆍLinux
728x90
SMALL
- 개요
CentOS 8 관련 repo를 enable하고 아래와 같은 에러가 날 경우
Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist
- 해결 방법
sudo sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-Linux-*
sudo sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-Linux-*
728x90
LIST
'Linux' 카테고리의 다른 글
did not find expected '-' indicator (0) | 2023.08.04 |
---|---|
WSL에서 docker 자동 시작 (0) | 2023.03.24 |
java corretto 설치하기 (0) | 2020.11.03 |
linux messages에 dhclient log flooding (0) | 2020.11.03 |
linux messages에 systemd: Started Session 과점유 현상 (0) | 2020.11.03 |