å
æ¥æ¸ãã以ä¸ã®è¨äºã¸ã®æ¤ç´¢æµå
¥ãå¤ãã®ã§ãå¥ãªæ¹æ³ãæ¸ãã¦ã¿ãã
shobon.hatenablog.com
ç®çã¯ä¸è¨ã®è¨äºã¨åãã
ãµãã¼ãçµäºã¨ãªã£ã¦yumã³ãã³ãã失æããç°å¢ã«ã¦ã
2020å¹´11ææ«ã¾ã§ã®ããããé©ç¨ãããå ´åããä½ããã®çç±ã§CentOS 6ã®ããã±ã¼ã¸ãã¤ã³ã¹ãã¼ã«ãããå ´åã«ã
Vaultãªãã¸ããªã使ãããã«ãããã¨ã
ååã®è¨äºã¨è¨å®ããæé ãç°ãªãã®ã§ã
- ååã®è¨äºã¾ãã¯ä»åã®è¨äºã®ããããã§è¨å®ãã»ã»ã»OK
- ååã¨ä»åã®è¨äºã®ä¸¡æ¹ãè¨å®ãã»ã»ã»NG
ã§ãã
両æ¹è¦ã¦ãè¨å®ããããæ¹ãé¸ã¹ã°è¯ãã¨æãã¾ãã
ä»åã®æ¹æ³ã¯ã2ã¤ã®è¨å®ãã¡ã¤ã«ãç·¨éãã¾ãã
è¨å®å¤æ´åã«ããã¡ã¤ã«ã®ããã¯ã¢ãããæ¨å¥¨ã
ï¼æé ï¼ï¼
/etc/yum.repos.d/CentOS-Base.repo ã«ã¦ã以ä¸ã®3ã¤ã®é
ä¸ã«enabled=0 ã®è¡ãã追å ã
- [base]
- [updates]
- [extras]
ããã©ã«ãã§ã¯ãCentOS-Base.repoã® [centosplus]ã[contrib] ã®é
ä¸ã«åãè¨å®ãããã®ã§åç
§ã
ããã§ãã©ã¼ãµã¼ãã®ãªãã¸ããªãç¡å¹ã«ãªãã¾ãã
ï¼æé ï¼ï¼
/etc/yum.repos.d/CentOS-Vault.repo ã®æ«å°¾ã«ãCentOS 6.10 ã®URLå®ç¾©ã追å ãã¾ãã
以ä¸ã¯ãCentOS-Vault.repo ã«è¨è¼ããã¦ãã CentOS 6.9 ã¾ã§ã®è¨å®ãåèã«ããä¾ã§ãã
[C6.10-base] name=CentOS-6.10 - Base baseurl=http://vault.centos.org/6.10/os/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 enabled=1 [C6.10-updates] name=CentOS-6.10 - Updates baseurl=http://vault.centos.org/6.10/updates/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 enabled=1 [C6.10-extras] name=CentOS-6.10 - Extras baseurl=http://vault.centos.org/6.10/extras/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 enabled=1
enabled=1 ã®è¡ãå
¥ããäºã§ããã®ãªãã¸ããªãåç
§ããããã«ãªãã¾ãã
ãããcontrib ã centosplus ãåç
§ãããªãã°ãåæ§ã«è¿½å ãã¾ãã
è¨å®å¾ããã£ãã·ã¥ãåé¤ãã¦updateãsearch/installçã試ãã¾ãã
# yum clean all # yum update/search/install ãªã©