6/7/12

Yum Error: Unable to read consumer identity

Problem:

Yum update throws the error: "Unable to read consumer identity"


Resolution:

Please note: This solution was applied to fix the above yum update error on a machine running RedHat Enterprise release 5.8 Tikanga.

The solution is to use RHN Classic and to disable subscription-manager by editing the katello plugin configuration file and set "enabled" value to '0'

Disable the plugin by editing the file /etc/yum/pluginconf.d/katello.conf  then change the value "enabled=1" to "enabled=0" and save file.

Once the change is performed and saved, execute following commands:

rm -rf /var/cache/yum/*
yum clean all

4 comments:

Owen said...

There is an error/mismatch between this and the RHN erratera, maybe things have changed as subscription certificates came off hte devel branch?

File to disable subscription mananger is:
/etc/yum/pluginconf.d/subscription-manager.conf
..katello.conf does not appear to exist on production RHEL systems.

Victor F. said...

Sorry for my oversight not specifying the version of redhat release relevant to this post.

This solution was applied to RHEL release 5.8

Thanks Owen.

Exploration said...

Well I have RHEL 5.8 and your solution works great. I also changed the /etc/yum/pluginconf.d/subscription-manager.conf. I changed the value of enabled equal to 0 in that file as well.

Pravanjan Hota said...

/etc/yum/pluginconf.d/subscription-manager.conf is the File to set enabled=0 in RHEL 8

Quick HTTP to HTTPS - Apache2

There are several methods for redirecting your Apache-based website visitors who might type your servers URL using the plain (non-secure) HT...