Yum update to Red Hat Enterprise Linux 6.7 fails with AttributeError: 'module' object has no attribute 'RELEASE STATUS CACHE'

Solution Verified - Updated -

Issue

  • After running yum update to RHEL 6.7 it fails with the following error:
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in <module>
    yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/yummain.py", line 294, in user_main
    errcode = hotshot(main, args)
  File "/usr/share/yum-cli/yummain.py", line 229, in main
    return_code = base.doTransaction()
  File "/usr/share/yum-cli/cli.py", line 586, in doTransaction

  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 1619, in runTransaction
    resultobject.return_code):
  File "/usr/lib/python2.6/site-packages/yum/plugins.py", line 184, in run
    func(conduitcls(self, self.base, conf, **kwargs))
  File "/usr/lib/yum-plugins/product-id.py", line 43, in posttrans_hook
    init_dep_injection()
  File "/usr/share/rhsm/subscription_manager/injectioninit.py", line 56, in init_dep_injection
    inj.provide(inj.RELEASE_STATUS_CACHE, ReleaseStatusCache,
AttributeError: 'module' object has no attribute 'RELEASE_STATUS_CACHE'

Environment

  • Red Hat Enterprise Linux (RHEL) 6.7
  • Red Hat Network
  • Red Hat Satellite 5.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In