https://mirrors.cqu.edu.cn/fedora
Fedora Linux 软件仓库
x86_64
仅release
首先做好备份操作:
# fedora
mv /etc/yum.repos.d/fedora.repo /etc/yum.repos.d/fedora.repo.bak
mv /etc/yum.repos.d/fedora-updates.repo /etc/yum.repos.d/fedora-updates.repo.bak
# fedora modular
mv /etc/yum.repos.d/fedora-modular.repo /etc/yum.repos.d/fedora-modular.repo.bak
mv /etc/yum.repos.d/fedora-updates-modular.repo /etc/yum.repos.d/fedora-updates-modular.repo.bak
然后执行:
wget -O /etc/yum.repos.d/fedora.repo http://mirrors.cqu.edu.cn/repo/fedora/fedora.repo
wget -O /etc/yum.repos.d/fedora-updates.repo http://mirrors.cqu.edu.cn/repo/fedora/fedora-updates.repo
wget -O /etc/yum.repos.d/fedora-modular.repo http://mirrors.cqu.edu.cn/repo/fedora/fedora-modular.repo
wget -O /etc/yum.repos.d/fedora-updates-modular.repo http://mirrors.cqu.edu.cn/repo/fedora/fedora-updates-modular.repo
再执行:
sudo dnf makecache
生成缓存。