티스토리 뷰

728x90

https://lhjin.tistory.com/entry/CentOS-6-yum-update-%EC%98%A4%EB%A5%98-%ED%95%B4%EA%B2%B0-%EB%B0%A9%EB%B2%95

 

CentOS 6 yum update 오류 해결 방법

최근 CentOS 6 버전 업데이트 지원이 종료되면서 yum update 등 명령어 사용 시 오류가 발생하고 있다. * 오류 내용 (32Bit, 64Bit) YumRepo Error: All mirror URLs are not using ftp, http[s] or file. Eg. Invalid release/repo/arch

lhjin.tistory.com

sudo echo "https://vault.centos.org/6.10/os/x86_64/" > /var/cache/yum/x86_64/6/base/mirrorlist.txt
sudo echo "http://vault.centos.org/6.10/extras/x86_64/" > /var/cache/yum/x86_64/6/extras/mirrorlist.txt
sudo echo "http://vault.centos.org/6.10/updates/x86_64/" > /var/cache/yum/x86_64/6/updates/mirrorlist.txt
728x90
댓글