探索,發現,愛好、學習,記錄,分享。
學海無涯,天涯若比鄰,三人行,必有我師。

AlmaLinux 8 Errors during downloading metadata for repository 'baseos': - Curl error (6): Couldn't resolve host name

在使用AlmaLinux 8 系統遇到以下報錯的解決方法:

Errors during downloading metadata for repository 'baseos': - Curl error (6): Couldn't resolve host name for https://mirrors.almalinux.org/mirrorlist/8/baseos [Could not resolve host: mirrors.almalinux.org] Error: Failed to download metadata for repo 'baseos': Cannot prepare internal mirrorlist: Curl error (6): Couldn't resolve host name for https://mirrors.almalinux.org/mirrorlist/8/baseos [Could not resolve host: mirrors.almalinux.org]

這樣的情況因為系統的DNS出現問題所致,或許因為某些情況原有的DNS被清空了,你只要重新設置系統的DNS,一切回復正常。

版權聲明:本文采用知識共享 署名4.0國際許可協議 [BY-NC-SA] 進行授權
轉載事宜:如需轉載需徵得應允,轉載必須注明來源於本站的信息。
文章名称:《AlmaLinux 8 Errors during downloading metadata for repository 'baseos': - Curl error (6): Couldn't resolve host name》
文章链接:https://www.thefreesky.com/blog/27954.html
本站資源僅供個人學習交流,請於下載後24小時內刪除,不允許用於商業用途,否則法律問題自行承擔。

評論 抢沙发