问题描述
- 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 解决办法
解决方案二:
网络不可用呗。检查你的网络有没有什么问题。
解决方案三:
镜像地址不可用,开vpn试试
解决方案四:
这个的意思是你的镜像文件的链接已经过期了,你官网上别的镜像,进去有os文件的,有的版本的镜像文件里面是空的。
解决方案五:
可以直接下载安装epel——yum,下载安装后自动生成epel.repo文件,然后你进去启用就可以了,具体链接可以上网去找
解决方案六:
可以直接下载安装epel——yum,下载安装后自动生成epel.repo文件,然后你进去启用就可以了,具体链接可以上网去找
时间: 2025-01-02 15:08:27