yum install or update시 [No more mirrors to try]오류 해결방법
1. 에러상황
: 평소 잘 되던 yum update 시도시 갑자기 아래와 같은 "No more mirrors to try"에러가 발생하면서
update가 되지 않음.
(아래는 나의 패키지며, 사람마다 다르게 나올수 있음. 에러메시지에만 신경써주기 바람.) downloading packages:
Error downloading packages: 3:docker-ce-18.09.1-3.el7.x86_64: [Errno 256] No more mirrors to try. python36u-devel-3.6.7-1.ius.centos7.x86_64: [Errno 256] No more mirrors to try. tzdata-2018i-1.el7.noarch: [Errno 256] No more mirrors to try. containerd.io-1.2.2-3.el7.x86_64: [Errno 256] No more mirrors to try. python36u-libs-3.6.7-1.ius.centos7.x86_64: [Errno 256] No more mirrors to try. python36u-3.6.7-1.ius.centos7.x86_64: [Errno 256] No more mirrors to try. 1:docker-ce-cli-18.09.1-3.el7.x86_64: [Errno 256] No more mirrors to try. tzdata-java-2018i-1.el7.noarch: [Errno 256] No more mirrors to try. python34-setuptools-39.2.0-1.el7.noarch: [Errno 256] No more mirrors to try. |
2. 해결방법
# yum clean all |
위와같이 yum을 clean해주고 다시 yum update 또는 install 시 아래와 같은 시원한 메시지를 볼 수 있다.
Complete! |