yum Error reading from file /var/cache/yum/x86_64/7/ 错误处理
yum 安装报错如下:
[root@localhost ~]# yum update
已加载插件:fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.tuna.tsinghua.edu.cn
* extras: mirrors.tuna.tsinghua.edu.cn
* updates: mirrors.tuna.tsinghua.edu.cn
错误:Error reading from file /var/cache/yum/x86_64/7/extras/511a574b4c3f907f9acfe5603566958fb6f09137292c5cd5d5d57c298864790f-primary.sqlite.bz2: invalid data stream
处理方法:清除缓存
yum clean metadata
清除缓存后,执行就不报错了
正文到此结束
评论
登录后才能发表评论 登录/注册
0评论