인디노트

CentOS 6 yum 업데이트가 안될때 본문

카테고리 없음

CentOS 6 yum 업데이트가 안될때

인디개발자 2021. 12. 17. 10:15

각 OS Bit에 맞춰 3줄씩 명령어 입력 후 yum update 하면 정상 동작 완료

 
32Bit
 
echo "https://vault.centos.org/6.10/os/i386/" > /var/cache/yum/i386/6/base/mirrorlist.txt
 
echo "http://vault.centos.org/6.10/extras/i386/" > /var/cache/yum/i386/6/extras/mirrorlist.txt
 
echo "http://vault.centos.org/6.10/updates/i386/" > /var/cache/yum/i386/6/updates/mirrorlist.txt
 
64Bit
 
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
반응형
Comments