Chinaunix首页 | 论坛 | 博客
  • 博客访问: 49707
  • 博文数量: 30
  • 博客积分: 2031
  • 博客等级: 大尉
  • 技术积分: 265
  • 用 户 组: 普通用户
  • 注册时间: 2009-05-25 10:37
文章存档

2010年(3)

2009年(27)

我的朋友

分类: LINUX

2009-07-01 13:49:59

Fedora 11安装后无法yum的问题

2009-06-18 19:35
 
Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again

  • 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. You will see, the error is now resolved and the error message is not shown anymore.

阅读(361) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~