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

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

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,以上是依据我对问题的理解给出的答案,如果解决了你的问题,望采纳。

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

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

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

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

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