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,一切回復正常。

© 版权声明
THE END
請多多支持
点赞0
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称表情图片

    暂无评论内容