Centos6 yum update 오류
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 |
yum -y update
'리눅스' 카테고리의 다른 글
리눅스 du 디렉토리별 총 용량 계산 (0) | 2021.06.11 |
---|---|
리눅스 crontab 사용법 (0) | 2021.04.30 |
리눅스 중복 프로세스 확인 (0) | 2021.04.30 |
시작 프로그램 등록 (0) | 2021.04.30 |
리눅스의 logrotate를 이용한 tomcat 로그파일 롤링방법 (0) | 2021.04.30 |