I'm trying to install a package with dnf
command utility, and it freezes on downloading stage. I think, it's a server problem. How I can change a server, which dnf
uses to download from?
Thank you for answers.
答案 0 :(得分:1)
服务器信息存储在repo文件中:
/etc/yum.repos.d/fedora.repo
和
/etc/yum.repos.d/fedora-updates.repo
只需要注释掉镜像网址,然后取消注册baseurl行并运行dnf update
您也可以从here
添加新镜像建议您使用以下方法激活系统上的RPMfusin:
su
#type your root password
rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm