개요
CentOS6 EOL에 따라 repository 를 vault.centos.org 로 변경 후 구버전 centos 에서 yum 사용시 오류 발생
에러메세지
# yum repolist Loaded plugins: security http://vault.centos.org/centos/6/os/x86_64/repodata/repomd.xml: [Errno 14] problem making ssl connection Trying other mirror. http://vault.centos.org/centos/6/extras/x86_64/repodata/repomd.xml: [Errno 14] problem making ssl connection Trying other mirror. http://vault.centos.org/centos/6/updates/x86_64/repodata/repomd.xml: [Errno 14] problem making ssl connection Trying other mirror. http://vault.centos.org/centos/6/os/x86_64/repodata/repomd.xml: [Errno 14] problem making ssl connection Trying other mirror. http://vault.centos.org/centos/6/os/x86_64/repodata/repomd.xml: [Errno 14] problem making ssl connection Trying other mirror. repo id repo name status base CentOS-6 - Base 6,713 epel Extra Packages for Enterprise Linux 6 - x86_64 12,155 extras CentOS-6 - Extras 47 rpmforge RHEL 6 - RPMforge.net - dag 4,718 updates CentOS-6 - Updates 1,193 vault CentOS-6 - Vault 0
yum 사용시 필요한 일부 패키지에 대한 수동 업데이트
다운로드
wget --no-check-certificate https://vault.centos.org/centos/6.10/os/x86_64/Packages/yum-3.2.29-81.el6.centos.noarch.rpm wget --no-check-certificate https://vault.centos.org/centos/6.10/os/x86_64/Packages/yum-plugin-fastestmirror-1.1.30-41.el6.noarch.rpm wget --no-check-certificate https://vault.centos.org/centos/6.10/os/x86_64/Packages/yum-utils-1.1.30-41.el6.noarch.rpm wget --no-check-certificate https://vault.centos.org/centos/6.10/os/x86_64/Packages/yum-metadata-parser-1.1.2-16.el6.x86_64.rpm wget --no-check-certificate https://vault.centos.org/centos/6.10/os/x86_64/Packages/openssl-1.0.1e-57.el6.x86_64.rpm wget --no-check-certificate https://vault.centos.org/centos/6.10/os/x86_64/Packages/openssl-perl-1.0.1e-57.el6.x86_64.rpm wget --no-check-certificate https://vault.centos.org/centos/6.10/os/x86_64/Packages/openssl-static-1.0.1e-57.el6.x86_64.rpm wget --no-check-certificate https://vault.centos.org/centos/6.10/os/x86_64/Packages/curl-7.19.7-53.el6_9.x86_64.rpm wget --no-check-certificate https://vault.centos.org/centos/6.10/os/x86_64/Packages/libcurl-7.19.7-53.el6_9.x86_64.rpm wget --no-check-certificate https://vault.centos.org/centos/6.10/os/x86_64/Packages/python-urlgrabber-3.9.1-11.el6.noarch.rpm wget --no-check-certificate https://vault.centos.org/centos/6.10/os/x86_64/Packages/nss-3.36.0-8.el6.x86_64.rpm wget --no-check-certificate https://vault.centos.org/centos/6.10/os/x86_64/Packages/nss-util-3.36.0-1.el6.x86_64.rpm wget --no-check-certificate https://vault.centos.org/centos/6.10/os/x86_64/Packages/nss-tools-3.36.0-8.el6.x86_64.rpm wget --no-check-certificate https://vault.centos.org/centos/6.10/os/x86_64/Packages/nss-sysinit-3.36.0-8.el6.x86_64.rpm wget --no-check-certificate https://vault.centos.org/centos/6.10/os/x86_64/Packages/nss-softokn-3.14.3-23.3.el6_8.x86_64.rpm wget --no-check-certificate https://vault.centos.org/centos/6.10/os/x86_64/Packages/nss-softokn-freebl-3.14.3-23.3.el6_8.x86_64.rpm wget --no-check-certificate https://vault.centos.org/centos/6.10/os/x86_64/Packages/nspr-4.19.0-1.el6.x86_64.rpm wget --no-check-certificate https://vault.centos.org/centos/6.10/os/x86_64/Packages/p11-kit-0.18.5-2.el6_5.2.x86_64.rpm wget --no-check-certificate https://vault.centos.org/centos/6.10/os/x86_64/Packages/p11-kit-trust-0.18.5-2.el6_5.2.x86_64.rpm wget --no-check-certificate https://vault.centos.org/centos/6.10/os/x86_64/Packages/ca-certificates-2018.2.22-65.1.el6.noarch.rpm
설치
rpm -Uvh openssl-1.0.1e-57.el6.x86_64.rpm rpm -Uvh ca-certificates-2018.2.22-65.1.el6.noarch.rpm rpm -Uvh ns* rpm -Uvh *curl*.rpm rpm -Uvh python-urlgrabber-3.9.1-11.el6.noarch.rpm rpm -Uvh yum-* rpm -Uvh p11-kit-*
확인
# yum repolist Loaded plugins: fastestmirror, security Loading mirror speeds from cached hostfile repo id repo name status base CentOS-6 - Base 6,713 epel Extra Packages for Enterprise Linux 6 - x86_64 12,581 extras CentOS-6 - Extras 47 remi-safe Safe Remi's RPM repository for Enterprise Linux 6 - x86_64 2,973 rpmforge RHEL 6 - RPMforge.net - dag 4,718 updates CentOS-6 - Updates 1,193 repolist: 28,225