`
cloudtech
  • 浏览: 4610068 次
  • 性别: Icon_minigender_1
  • 来自: 武汉
文章分类
社区版块
存档分类
最新评论

How to fix the “Cannot retrieve repository metadata (repomd.xml)” error in Fedora?

 
阅读更多
  • You need to edit two of your repository files: /etc/yum.repos.d/fedora.repo and /etc/yum.repos.d/fedora-updates.repo . Now un-comment all the lines that start with the term baseurl and place a comment before all lines that start with mirrorlist . This should be done for both the above files.
  • Now edit your /etc/hosts file and append the following to it’s contents:
    80.239.156.215          mirrors.fedoraproject.org
    213.129.242.84 mirrors.rpmfusion.org

Now try updating your system or installing any software via Yum.

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics