yum [Errno 14] HTTP Error 404 - Not Found
程序员文章站
2022-01-03 10:04:33
...
概述
由于安装的是CentOS 7最小版,故需要使用yum安装相应的依赖包
报错提示
# yum makecache
已加载插件:fastestmirror
Repository base is listed more than once in the configuration
base | 3.6 kB 00:00:00
Not using downloaded repomd.xml because it is older than what we have:
Current : Mon Oct 24 16:22:33 2016
Downloaded: Thu Dec 10 06:35:45 2015
extras | 3.4 kB 00:00:00
update | 2.9 kB 00:00:00
updates | 3.4 kB 00:00:00
Loading mirror speeds from cached hostfile
base/7/x86_64/filelists_db FAILED
http://mirrors.163.com/centos/7/os/x86_64/repodata/68f2490c8f8cb5d6645365679b9ffef7508cc330688b31b0393f8ca2b28b773a-filelists.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found ] 0.0 B/s | 0 B --:--:-- ETA
正在尝试其它镜像。
To address this issue please refer to the below knowledge base article
https://access.redhat.com/articles/1320623
If above article doesn't help to resolve this issue please create a bug on https://bugs.centos.org/
base/7/x86_64/other_db FAILED
http://mirrors.163.com/centos/7/os/x86_64/repodata/e58fdb116e3fcc50700c4ed940933e3c7cc468ae3ef6957586f3af8ed3a5fde2-other.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found ] 0.0 B/s | 0 B --:--:-- ETA
正在尝试其它镜像。
http://mirrors.163.com/centos/7/os/x86_64/repodata/68f2490c8f8cb5d6645365679b9ffef7508cc330688b31b0393f8ca2b28b773a-filelists.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
正在尝试其它镜像。
问题原因
- 经查找分析,yum镜像数据库坏了
解决方法
# yum clean all
# rpm --rebuilddb
# yum update
# yum install automake libtool flex bison pkgconfig gcc-c++ boost-devel libevent-devel zlib-devel python-devel ruby-devel
转载于:https://my.oschina.net/siiiso/blog/779219
推荐阅读
-
nginx访问localhost:80端口被占用并提示HTTP Error 404. The requested resource is not found
-
WebSocket Error: Incorrect HTTP response. Status code 404, Not Found
-
Docker 安装错误 repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found Trying other mirror.
-
centos 7 yum安装失败(HTTP Error 404 - Not Found)的解决方法
-
yum makecache时报错[Errno 14] PYCURL ERROR 22 - “The requested URL returned error: 404 Not Found“
-
yum源 报错:[Errno 14] HTTP Error 404 - Not Found
-
Centos 7 阿里yum源 [Errno 14] HTTP Error 404 – Not Found 问题解决方案
-
在rhel7上安装ZeroTier时遇到的错误-HTTP Error 404 - Not Found
-
yum makecache时报错[Errno 14] PYCURL ERROR 22 - “The requested URL returned error: 404 Not Found“
-
centos7 yum 出现 [Errno 14] HTTP Error 404 - Not Found 的解决方法