红联Linux门户
Linux帮助

yum无法使用解决方法

发布时间:2015-11-01 15:40:57来源:linux网站作者:Moving_on_the_way

今天安装了fedora,没有手动安装,出现个问题。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

yum无法使用解决方法


更换阿里云YUM源:http://www.linuxdiyf.com/linux/15169.html

更新yum源/apt-get源:http://www.linuxdiyf.com/linux/13136.html

Fedora更新源(sohu yum源):http://www.linuxdiyf.com/linux/11638.html

RHEL5.x&RHEL6.x更换CentOS yum源:http://www.linuxdiyf.com/linux/8248.html

Yum已死,DNF当立(Yum is dead long live DNF):http://www.linuxdiyf.com/linux/12233.html