반응형
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 명령으로 가능하다
yum clean all
rm -rf /var/cache/yum
# make new repo with vault.centos
mkdir -p /var/cache/yum/x86_64/6/base/
mkdir -p /var/cache/yum/x86_64/6/extras/
mkdir -p /var/cache/yum/x86_64/6/updates/
echo https://vault.centos.org/6.10/os/x86_64/ > /var/cache/yum/x86_64/6/base/mirrorlist.txt
echo https://vault.centos.org/6.10/extras/x86_64/ > /var/cache/yum/x86_64/6/extras/mirrorlist.txt
echo https://vault.centos.org/6.10/updates/x86_64/ > /var/cache/yum/x86_64/6/updates/mirrorlist.txt
# makecache
yum makecache
yum update
반응형
'Linux' 카테고리의 다른 글
CentOS 6 Yum repository update (0) | 2021.10.04 |
---|---|
error while loading shared libraries: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory (0) | 2021.08.20 |
좀비 프로세스 죽이기 defunct process (0) | 2020.09.15 |
PostgreSQL설치 (0) | 2020.01.22 |
PHP 5.3 이상 Zend Guard Loader 설치 (0) | 2019.11.02 |
댓글