리눅스

Cent OS 6)오류

Dev갱이 2022. 2. 15. 17:43
728x90
https://vault.centos.org/6.10/os/x86_64/repodata/repomd.xml: [Errno 14] problem making ssl connection
Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Pl                                                                                                                                                                                                                                             ease verify its path and try again
yum clean all
yum check
yum erase apf
yum update ca-certificates
yum upgrade

위에꺼 안됨

 

 

http://blog.tcltk.co.kr/?p=4451 

 

CentOS 6.5 repository 변경 – dogfoot note

CentOS 6.5 repository 변경 2021-09-11 CentOS 6.x 버전의 업데이트는 2020.11.30 일부로 종료됨. $ yum repolist Loaded plugins: fastestmirror, refresh-packagekit, security Determining fastest mirrors YumRepo Error: All mirror URLs are not using

blog.tcltk.co.kr

 

 

CentOS6 지원 중단으로 업데이트가 안되는 경우가 발생한다.

 

기존의 CentOS6 업데이트를 사용할 수 있게 Repository 를 수정해야 한다.

 

아래와 같이 수정해보자

 

 

vi /etc/yum.repos.d/CentOS-Base.repo

 

[base]
name=CentOS-$releasever - Base
baseurl=https://archive.kernel.org/centos-vault/6.10/os/x86_64/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6


epel 을 기존에 설치되어 있는경우

vi /etc/yum.repos.d/epel.repo
baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
--> 수정 : baseurl=http://archives.fedoraproject.org/pub/archive/epel/6/$basearch

baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch/debug
--> 수정 : baseurl=http://archives.fedoraproject.org/pub/archive/epel/6/$basearch/debug

baseurl=http://download.fedoraproject.org/pub/epel/6/SRPMS
--> 수정 : baseurl=http://archives.fedoraproject.org/pub/archive/epel/6/SRPMS
728x90