1、备份原软件源配置

cp /etc/yum.repos.d/fedora.repo /etc/yum.repos.d/fedora.repo.bak
cp /etc/yum.repos.d/fedora-updates.repo /etc/yum.repos.d/fedora-updates.repo.bak

 

2、下载新的软件源配置文件

wget -O /etc/yum.repos.d/fedora.repo http://mirrors.aliyun.com/repo/fedora.repo
wget -O /etc/yum.repos.d/fedora-updates.repo http://mirrors.aliyun.com/repo/fedora-updates.repo

 

3、更新缓存

dnf clean all
dnf makecache

 

相关文章:

  • 2021-10-24
  • 2022-12-23
  • 2022-12-23
  • 2021-11-02
  • 2021-08-04
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-01-03
  • 2022-12-23
  • 2021-09-14
  • 2022-12-23
  • 2022-12-23
  • 2022-03-08
  • 2021-12-22
相关资源
相似解决方案