CentOS 6
yum install -y libffi-devel
# yum install -y libffi-devel Loaded plugins: fastestmirror, security Setting up Install Process Loading mirror speeds from cached hostfile 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
위와 같은 에러가 발생할 수 있음
CentOS 6 버전 보안 업데이트 지원이 2020.11.30 일부로 지원이 종료되어 발생
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
위의 명령어를 통해 정상적으로 yum 명령이 사용가능함
댓글 남기기