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! |
'CentOS환경설정' 카테고리의 다른 글
5. CentOS7에 MariaDB 10.1 설치 (2) | 2022.09.02 |
---|---|
Postgresql DB 설치하기(CentOS7) (0) | 2019.01.14 |
Eclipse와 네트워크 상의 Linux에 있는 소스연동 (0) | 2018.12.05 |
CentOS7 yum update에러 ---초기설치 후 리파지토리 해결방법 (1) | 2018.06.01 |