RHN yum command: Unable to read consumer identity Warning and Solution

文章详细介绍了如何解决在使用RHN Classic或RHNSatellite更新系统时遇到的订阅管理器无法读取消费者身份的警告。通过编辑特定配置文件并禁用订阅管理器,清理缓存,最终可以顺利安装或更新系统。

 

RHN yum command: Unable to read consumer identity Warning and Solution

 

Getting the following waring:

 

Loaded plugins: amazon-id, product-id, rhui-lb, security, subscription-manager

Updating certificate-based repositories.

Unable to read consumer identity

 

 

You need to edit the following files

 

[a] /etc/yum/pluginconf.d/subscription-manager.conf

[b] /etc/yum/pluginconf.d/product-id.conf

Use a text editor such as vi:

# vi /etc/yum/pluginconf.d/product-id.conf

/etc/yum/pluginconf.d/subscription-manager.conf

Set enabled to 0 as follows in both files:

[main] 

enabled=0

Save and close the file. Finally, type the following command to clean cache:

rm -rfv /var/cache/yum/*

yum clean all  

You can now install or update the system:

# yum install packageNameHere

OR

yum -y update

 

REFERENCE

As per RHEL KB # 165803 root cause for this error was:

When RHN Classic or RHN Satellite is used for updating the system, subscription-manager should be disabled

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值