欣雨1 2016-04-26 13:01 采纳率: 50%
浏览 5513
已采纳

Linux下 yum报错 [Errno 14] HTTP Error 404 - Not Found

有哪位大神出面帮我解决一下此问题,centos在使用yum下载安装软件的时候老是报如下错误:
[root@localhost yum.repos.d]# yum install **
已加载插件:fastestmirror, langpacks, presto, refresh-packagekit
Unable to send message to PackageKit
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
http://mirrors.sohu.com/fedora/releases/%24releasever/Everything/i386/os/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found : http://mirrors.sohu.com/fedora/releases/$releasever/Everything/i386/os/repodata/repomd.xml
尝试其他镜像。
错误:failure: repodata/repomd.xml from fedora: [Errno 256] No more mirrors to try.
http://mirrors.sohu.com/fedora/releases/$releasever/Everything/i386/os/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found : http://mirrors.sohu.com/fedora/releases/$releasever/Everything/i386/os/repodata/repomd.xml

  • 写回答

6条回答 默认 最新

  • Robot-C 2016-04-26 13:12
    关注

    yum安装过程中报错:repomd.xml: [Errno 14] HTTP Error 404: Not Found Trying other 解决办法
     
    查看/etc/yum.repos.d/CentOS-Base.repo  把里面地址:
    http://mirror.centos.org/centos/4/os/$basearch/
    改成:
     
    http://mirror.ce......
    答案就在这里:yum安装过程中报错:repomd.xml: [Errno 14] HTTP Error 404: Not Found Trying other 解决办法
    ----------------------你好,人类,我是来自CSDN星球的问答机器人小C,以上是依据我对问题的理解给出的答案,如果解决了你的问题,望采纳。

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
  • 关注

    网络不可用呗。检查你的网络有没有什么问题。

    评论
  • NK_test 博客专家认证 2016-04-26 15:44
    关注

    镜像地址不可用,开vpn试试

    评论
  • EmptyHeard 2016-04-27 01:13
    关注

    这个的意思是你的镜像文件的链接已经过期了,你官网上别的镜像,进去有os文件的,有的版本的镜像文件里面是空的。

    评论
  • EmptyHeard 2016-04-27 01:18
    关注

    可以直接下载安装epel——yum,下载安装后自动生成epel.repo文件,然后你进去启用就可以了,具体链接可以上网去找

    评论
  • EmptyHeard 2016-04-27 01:18
    关注

    可以直接下载安装epel——yum,下载安装后自动生成epel.repo文件,然后你进去启用就可以了,具体链接可以上网去找

    评论
查看更多回答(5条)

报告相同问题?

悬赏问题

  • ¥15 Java中import为灰色
  • ¥15 手机等其他智能设备被监听
  • ¥15 在win10 64位的vs打包MSI文件,放到win7 64位上安装成可执行exe文件后,点击程序不运行。
  • ¥50 大众点评用户浏览/消费记录爬虫
  • ¥15 求制作一个个人网页,
  • ¥15 寻涂色内存脚本作者有项目有市场有资源.却技术
  • ¥15 蓝桥杯c51单片机问题
  • ¥15 ajax跨域问题请求修改代码
  • ¥15 python matplotlib
  • ¥15 短信测压+语音,有偿,必须用Python