ERROR: YUM UPDATE :No URLs in mirrorlist || CentOS 8 || LINUX #CentOS8 #YUM_UPDATE_ERROR #REPOLIST
Error: Failed to download metadata for repo’appstream’:cannot prepare internal mirrorlist:No URLs in mirrorlist.
Step1: Go to :- /etc/yum.repos.d/
Step2: Run:
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-*
#CentOS
centos 8
Thank you so much, spent hours trying to figure this out.
Thanks my friend!!! i tried a lot of videos and your method helped me!!
It works perfectly, thanks.
Thanks !!
Hello i run command and it worked but i have now different issue.
sudo docker build –tag linuxtest_rocky .
Sending build context to Docker daemon 53.25kB
Step 1/7 : FROM centos:8
—> 5d0da3dc9764
Step 2/7 : RUN yum -y update
—> Running in e94ab7024232
CentOS Linux 8 – AppStream 115 B/s | 38 B 00:00
Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist
The command '/bin/sh -c yum -y update' returned a non-zero code: 1
What is causing that issue?
Im aware about EOL but this is just killing me…i tried everything
i love you 😀
Nice
Funfou! Thanks
It works perfectly, thanks.
You are my light broo
..
After wasting whole day it worked for me thanks man
Gracias
Merci
very helpful