1 2 3 4 5 | CentOS-8 - AppStream 0.0 B/s | 0 B 00:00 Errors during downloading metadata for repository 'AppStream': - Curl error (6): Couldn't resolve host name for http://mirrorlist.centos.org/ ?release=8&arch=x86_64&repo=AppStream&infra=stock [Could not resolve host: mirro rlist.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.ce ntos.org/?release=8&arch=x86_64&repo=AppStream&infra=stock [Could not resolve ho st: mirrorlist.centos.org] |
Genelde bu hata nameserver bulamamasından kaynaklanmaktadır.
Nano ile ilgili dosyaya giriş yapıp.
1 | nano -w /etc/resolv.conf |
1 2 | nameserver 8.8.8.8 nameserver 8.8.4.4 |
Üsteki kodları yapıştırın sonra tekrardan yum update çalıştıra bilirsiniz.