我dnf update
在 CentOS 8 机器上运行 a 并且它卡住了,所以我在半小时左右后终止了该进程。现在似乎没有任何效果,甚至sudo
无法访问。我已经重启了服务器,但这些基本命令仍然不起作用。
再次运行dnf update
显示名称解析错误:
Errors during downloading metadata for repository 'AppStream':
— Curl error (6): Couldn't resolve host name for https://mirrorlist.centos.org/?release=8&arch=x86_64&repo=AppStream&infra=stock
[Could not resolve host: mirrorlist.centos.org: Unknown error]
Error: Failed to download metadata for repo 'AppStream':
Cannot prepare internal mirror list: 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: mirrorlist.centos.org; Unknown error]
我现在该怎么办?