5/20/2023 0 Comments Centos 8 stream downloadPackage Architecture Version Repository SizeĬentos-linux-release noarch 8.8 BaseOS 22 k Last metadata expiration check: 0:03:09 ago on Thu 11:27:35 PM EDT. Alternatively, we can also think of migrating CentOS 8 to CentOS 8 Stream to get rid of problems like this. Once the mirror is changed and updated, we can now try to update again by using dnf update command as shown below. ~]# cd ]# sed -i 's/mirrorlist/#mirrorlist/g' ]# sed -i 's|#baseurl=|baseurl=|g' /etc//CentOS-* To fix the above error, we need to change the repo URL pointing from official CentOS URL to using below commands. ~]# dnf updateįailed to download metadata for repo 'AppStream'Įrror: Failed to download metadata for repo 'AppStream' For more information Please check Step by Step: How to Add User to Sudoersto provide sudo access to the User. You can use any user with sudo access to run all these commands. ![]() Please note that here I am using root user to run all the below commands. So when I tried to update my CentOS 8 Server using dnf update command then I end up having below Failed to download metadata for repo 'AppStream' error. Solved "Failed to download metadata for repo AppStream"Īlso Read: How to Install and Use balenaEtcher on Debian 11 (Bullseye) I am sure many of you are still using CentOS 8 system so probably you might be facing the same issue so I thought to create an article about this so that it will help you guys also. The reason is because CentOS 8 had already reached its End of Life(EOL) on this date which means that it will no longer receive any development updates from official CentOS Project.īut if you are still thinking to use or already using this OS after Dec 31st, 2021 due to any reason then you need to change the mirror to Vault where it will be archived permanently like it happened for other older CentOS versions. ![]() This problem can be encountered in any of the CentOS 8 system which is still in use post December 31st, 2021. ![]() ![]() In this article, I will take you through the steps to solve "Failed to download metadata for repo AppStream" error which I was getting in my CentOS 8 Server while trying to update it using dnf update command.
0 Comments
Leave a Reply. |