Ошибка:

Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist

Поправляем:

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-*
yum update -y
Enter your comment. Wiki syntax is allowed:
O V᠎ X L S
 
  • centos/failed_to_download_metadata_for_repo_no_urls_in_mirrorlist.txt
  • Last modified: 2022/03/03 04:29
  • by admin