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


转载于:https://www.cnblogs.com/yuzaipiaofei/archive/2012/02/08/4124274.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值