运行YUM UPDATE 时下班中断,第二天再开机运行yum update时出错。
[root@fedora14 m]# yum makecache
已加载插件:fastestmirror, langpacks, presto, refresh-packagekit
Adding zh_CN to language list
Loading mirror speeds
from cached hostfile
Fedora/metalink | 21 kB 00:00
Could not parse metalink https://mirrors.Fedoraproject.org/me...&arch=basearch error was
No repomd file
错误:File /var/cache/yum/i386/14/Fedora/metalink.xml does not exist
[root@fedora14 m]# yum install yum-fastestmirror
已加载插件:fastestmirror, langpacks, presto, refresh-packagekit
Adding zh_CN to language list
Loading mirror speeds
from cached hostfile
错误:Cannot retrieve metalink for repository: Fedora. Please verify its path and try again
[root@fedora14 m]# yum update
已加载插件:fastestmirror, langpacks, presto, refresh-packagekit
Adding zh_CN to language list
Loading mirror speeds
from cached hostfile
错误:Cannot retrieve metalink for repository: Fedora. Please verify its path and try again
[root@fedora14 m]#
补充: /var/cache/yum/i386/14/Fedora/metalink.xml 文件存在,
另火狐打不开,但可以PING通外网。
在/etc/yum.repos.d/下建立了一个sohu的源,那个文件可能不正确,将那个源移除,将原来fedora的源恢复回来,再运行yum update时就可以了
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。