IMPORTANT UPDATE | CENTOS Failed to download metadata for repo 'appstream' | CentOS 8 EOL

Опубликовано: 11 Октябрь 2024
на канале: LogicOps Lab
4,585
74

Hey guys,

Welcome back to another video in the series of "Bash Scripting for Beginners"

This is to update that CentOS Linux 8 had reached the End Of Life (EOL) on December 31st, 2021. It means that CentOS 8 will no longer receive development resources from the official CentOS project. After Dec 31st, 2021, if you need to update your CentOS, you need to change the mirrors to vault.centos.org where they will be archived permanently.

You might face this error - CENTOS Failed to download metadata for repo 'appstream'

DO NOT WORRY, in order to get rid of that follow these steps

Step 1: Go to the /etc/yum.repos.d/ directory.

Step 2: Run the below commands
sed i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS*
sed i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS*

Step 3: To clean all cached information, use the following command
yum clean all

Step 4: Now run the yum update
yum update -y

Credits link - https://forums.centos.org/viewtopic.p...

LogicOps Lab -    / @logicopslab  
LogicOps Lab - Hindi -    / @logicopslabhindi  
GitHub - https://bit.ly/3lsUjdE
Twitter - ​  / logicopslab  
Instagram - https://bit.ly/3tJ9Jyf
Facebook - https://bit.ly/3ziMoVq

Like | Share | Subscribe | Follow

centos 8 eol, centos 8 end of life