开发者社区> 问答> 正文

运行yum update时出错

运行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通外网。

展开
收起
a123456678 2016-06-12 15:37:21 4975 0
1 条回答
写回答
取消 提交回答
  • 在/etc/yum.repos.d/下建立了一个sohu的源,那个文件可能不正确,将那个源移除,将原来fedora的源恢复回来,再运行yum update时就可以了

    2019-07-17 19:34:17
    赞同 展开评论 打赏
问答分类:
SQL
问答地址:
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载