본문 바로가기
Linux

centos6 yum update 오류 해결 YumRepo Error

by 씨엔아이소프트 2021. 1. 4.
반응형

CentOS6 업데이트 지원 종료로 인해 yum update 오류가 발생한경우 이다

 

Loaded plugins: fastestmirror, security
Setting up Install 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

 

64비트 CentOS 6.10

아래의 명령을 입력하고 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


 

반응형

댓글