June 07, 2012

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
Share:

4 comments:

  1. 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.

    ReplyDelete
    Replies
    1. 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.

      Delete
  2. 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.

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

    ReplyDelete