본문 바로가기
IT/예외처리

YumRepo Error: All mirror URLs are not using ftp, http[s] or file.

by 최고영회 2021. 5. 26.
728x90
반응형
SMALL

Centos6 에서 yum 사용 시 All mirror URLs are not using ftp, http[s] or file 오류가 발생한다면 

Error: All mirror URLs are not using ftp, http[s] or file.

Invalid release/repo/arch combination/

 

CentOS6 보안 업데이트 지원이 2020.11.30 부터 종료되면서 나오는 문제이다. 

 

아래 명령어 수행 후 yum update 하면 해결 된다. 

echo https://vault.centos.org/6.10/os/x86_64/ > /var/cache/yum/x86_64/6/base/mirrorlist.txt

echo http://vault.centos.org/6.10/extras/x86_64/ > /var/cache/yum/x86_64/6/extras/mirrorlist.txt

echo http://vault.centos.org/6.10/updates/x86_64/ > /var/cache/yum/x86_64/6/updates/mirrorlist.txt

 

728x90
반응형
LIST