Error saat update atau install software Error: Failed to download metadata for repo ‘appstream’: Cannot prepare internal mirrorlist: No URLs in mirrorlist pada Linux CentOS 8. Jalankan perintah ini untuk mengaktifkan repository http://vault.centos.org
sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS*
sed -i 's|#baseurl=http://mirror|baseurl=http://vault|g' /etc/yum.repos.d/CentOS*
Selesai, semoga bermanfaat.