Chinaunix首页 | 论坛 | 博客
  • 博客访问: 419686
  • 博文数量: 121
  • 博客积分: 10
  • 博客等级: 民兵
  • 技术积分: 540
  • 用 户 组: 普通用户
  • 注册时间: 2012-01-16 16:28
文章分类

全部博文(121)

文章存档

2021年(3)

2018年(1)

2017年(5)

2016年(9)

2015年(23)

2014年(80)

我的朋友

分类: LINUX

2015-12-08 17:06:13

1、

[root@v01lab yum.repos.d]# yum update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
[Errno 14] PYCURL ERROR 22 – “The requested URL returned error: 404 Not Found”
Trying other mirror.
Error: failure: repodata/b6020f66c9f3f4041d88195660845c0d20d685a6d1a7dc608ce943a1be05d579-primary.sqlite.bz2 from updates: [Errno 256] No more mirrors to try.

处理

在 /etc/yum.conf添加一行,问题解决。

http_caching=packages

 

2.

 vi /etc/yum/pluginconf.d/fastestmirror.conf  

设置 “enable=0”

enable=0
#yum clean all
#yum clean metadata
yum makecache
阅读(972) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~