ã¡ã¢æ¸ãã
èªå® 㧠CentOS 8 ãåãã¦ãããµã¼ããããã®ã§ãããå æ¥ dnf ã³ãã³ãã使ããªããªã£ã¦ãã¾ããããããããã° CentOS 8 ã£ã¦ãæ¨å¹´æ«ã§ EOL ãè¿ãã¦ãã¾ã£ã¦ããã®ãã¼ã¼ãã¨æ°ã¥ãã次第ã
ã¡ãªã¿ã«âã®æã«ã¤ã³ã¹ãã¼ã«ãããã¤ã
ãã¦ããã
# dnf update CentOS Linux 8 - AppStream 24 B/s | 38 B 00:01 ã¨ã©ã¼: repo 'appstream' ã®ã¡ã¿ãã¼ã¿ã®ãã¦ã³ãã¼ãã«å¤±æãã¾ãã : Cannot prepare internal mirrorlist: No URLs in mirrorlist
dnf ã³ãã³ããå®è¡ããã¨ãããªæããè±èªã ã¨ã以ä¸ã®ãããªæããã
Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist
ããããã°ãâã®ã¨ã³ããªã®éã CentOS 6 ã®æãä¸æçã«åãããã«å¯¾å¿ããã®ã§ããããªãã¸ããªãªã¹ãã®URLã vault.centos.org (éå»ãã¼ã¸ã§ã³ãå«ãã¦ãããã±ã¼ã¸ãå ¬éããã¦ãã) ã¸åãããã¨ã«ãã¾ãã
# sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-Linux-* # sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-Linux-*
ãã®2ã¤ã®ã³ãã³ããå®è¡ãã¦ãªãã¸ããªãæ¸ãæãã
# dnf clean all 47 ãã¡ã¤ã«ãåé¤ããã¾ãã # dnf update CentOS Linux 8 - AppStream 421 kB/s | 8.4 MB 00:20 CentOS Linux 8 - BaseOS 566 kB/s | 4.6 MB 00:08 CentOS Linux 8 - Extras 3.2 kB/s | 10 kB 00:03 ä¾åé¢ä¿ã解決ãã¾ããã
ãããªæãã§ããã¡ãã¨ã¡ã¿ãã¼ã¿ããã¦ã³ãã¼ãã§ããããã«ãªã£ãã
ãã¦ããã® CentOS 8 ã EOL ãè¿ãã¦ããã®ã§ã次㯠Rocky Linux ã¨ããè¯ãã®ã ãããã
ããã§ã¯ï¼=ÍÍÍÍ(à¹â¢Ì=ÍÍÍÍ(à¹â¢Ìдâ¢Ì=ÍÍÍÍ(à¹â¢Ìдâ¢Ìà¹)=ÍÍÍÍ(à¹â¢Ìдâ¢Ì