yum安装报错Error: Nothing to do

yum 安装报错

Loaded plugins: product-id, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Setting up Install Process
No package finger available.
Error: Nothing to do

解决办法,更换源
1、查看系统版本
finger

2、下载163安装源,进入http://mirrors.163.com/.help/centos.html,下载自己系统对应的版本
yum-163

3、复制到/etc/yum.repos.d/ 目录下,并且备份rhe.source.repo为.bak,用VIM打开CentOS6-Base-163.repo

:$s/$releasever/6/g   #把全部$releasever替换为6,下载的什么版本,替换为几,

4、清除缓存、获取yum列表,等待完成即可
make-cache

参考:http://www.openskill.cn/article/126

取消

感谢您的支持,我会继续努力哒!

扫码打赏
支付金额随意哦!

打开支付宝扫一扫,即可进行扫码打赏哦

发表评论

电子邮件地址不会被公开。 必填项已用 * 标注