how to fix Errors during downloading metadata for repository appstream centos Linux

Опубликовано: 25 Февраль 2025
на канале: Silent Solution
613
5

how to fix #Errors during downloading metadata for repository #Appstream centos #Linux
Errors during downloading metadata for repository 'appstream':
Curl error (6): Couldn't resolve host name for http://mirrorlist.centos.org/?release... [Could not resolve host: mirrorlist.centos.org]
Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: Curl error (6): Couldn't resolve host name for http://mirrorlist.centos.org/?release... [Could not resolve host: mirrorlist.centos.org]

how to fix Errors during downloading metadata for repository appstream centos Linux

RUN sed i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS*
RUN sed i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS*
RUN yum update -y

errors during downloading metadata for repository 'appstream' almalinux 9,
failed to download metadata for repo 'appstream' centos 8,
error: failed to download metadata for repo 'appstream'
failed to download metadata for repo 'appstream' rhel 8
errors during downloading metadata for repository 'appstream' rocky Linux,
Linux Cloud DevOps & windows Support :   / lcdwsupport  
My Facebook Page :-   / silentsolutionbd  
This is my Another Voice Channel
   / techsolutionbdit  
#silentsolution

*******Like, Comment , Support & Subscribe Me**