Centos6 yum update 오류 – YumRepo Error: All mirror URLs are not using ftp, http[s] or file.

//Centos6 yum update 오류 – YumRepo Error: All mirror URLs are not using ftp, http[s] or file.

Centos6 yum update 오류 – YumRepo Error: All mirror URLs are not using ftp, http[s] or file.

CentOS 6 버전 보안 업데이트 지원이 2020.11.30 일부로 지원이 종료되면서 나오는 문제

yum update
Loaded plugins: fastestmirror, security
Setting up Update Process
Determining fastest mirrors
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Eg. Invalid release/repo/arch combination/
removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/6/base/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: base

 

아래 명령어 입력후 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

 

참고로 CentOS 6 버전의 경우
기능 업데이트는 2017.03.10
보안 업데이트는 2020.11.30  지원이 종료되었다.

About the Author: