245
CeotOS7에서 잘되던 yum 업데이트가 안되고 오류가 나온다…
젠장.. 다른일들도 바쁜데 가만 놔두질 않는다..🤬🤬🤬
문제는 다운받는 저장소가 맘데로 바뀌었기 때문…………으~~~끓는다…ㅠㅠ
vi /etc/yum.repos.d/CentOS-Base.repo [base] name=CentOS-$releasever - Base #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra #baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/ baseurl=http://centos.mirror.cdnetworks.com/7/os/x86_64 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 #released updates [updates] name=CentOS-$releasever - Updates #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra #baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/ baseurl=http://centos.mirror.cdnetworks.com/7/os/x86_64 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 #additional packages that may be useful [extras] name=CentOS-$releasever - Extras #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra #baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/ baseurl=http://centos.mirror.cdnetworks.com/7/os/x86_64 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 #additional packages that extend functionality of existing packages [centosplus] name=CentOS-$releasever - Plus #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus&infra=$infra #baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/ baseurl=http://centos.mirror.cdnetworks.com/7/os/x86_64 gpgcheck=1 enabled=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
다음 처럼 기존 미러나 저장소를 #으로 못읽게 해놓고
baseurl=http://centos.mirror.cdnetworks.com/7/os/x86_64
이와같이 잘되는 저장소를 넣어주면 한방에 끝!~~
업데이트가 아주 잘될것 이다…
이글을 읽는 순간까지 또 안바뀌었으면.. 화이팅!~~~. 😅😅😅