• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
yuzaipiaofei
博客园    首页    新随笔    联系   管理    订阅  订阅

yum 无法使用解决方法


今天安装了  fedora14,没有手动安装,出现个问题。yum 不能使用。

解决方法为把你的fedora.repo  和其他repo 里面的https,变为http,

并把红色的加到host里面,一般就可以解决了。 参照了国外一些朋友的解决方法。

http://fedoraforum.org/forum/showthread.php?t=223472&page=3 



[root@localhost Downloads]# cat /etc/hosts
127.0.0.1 localhost.localdomain localhost localhost4
::1 localhost6.localdomain6 localhost6
80.239.156.215          mirrors.fedoraproject.org
213.129.242.84          mirrors.rpmfusion.org

[yuanwei@localhost Downloads]$ ls
fedora-163.repo  fedora-updates-163.repo
[yuanwei@localhost Downloads]$ su
Password: 
[root@localhost Downloads]# mv * /etc/yum.repos.d/
[root@localhost Downloads]# ls
[root@localhost Downloads]# yum update
Loaded plugins: langpacks, presto, refresh-packagekit
Adding en_US to language list
Repository updates is listed more than once in the configuration
Repository updates-debuginfo is listed more than once in the configuration
Repository updates-source is listed more than once in the configuration
Repository fedora is listed more than once in the configuration
Repository fedora-debuginfo is listed more than once in the configuration
Repository fedora-source is listed more than once in the configuration
Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again


posted @ 2012-02-08 00:05  yuzaipiaofei  阅读(501)  评论(0)    收藏  举报
刷新页面返回顶部
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3