yum [Errno 14] HTTP Error 404

2016-11-02 10:31:37来源:oschina作者:ANTMBA人点击



# 概述
> 由于安装的是CentOS 7最小版,故需要使用yum安装相应的依赖包
# 报错提示
```
# yum makecache
已加载插件:fastestmirror
Repository base is listed more than once in the configuration
base| 3.6 kB00: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 kB00:00:00
update | 2.9 kB00:00:00
updates| 3.4 kB00: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
/2014th7cj/d/file/p/20161102/2msend04c3j above article doesn't help to resolve this issue please create a bug on https://bugs.centos.org/
base/7/x86_64/other_dbFAILED
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
```

最新文章

123

最新摄影

微信扫一扫

第七城市微信公众平台