Yum throws traceback, including "AttributeError: 'module' object has no attribute 'RHSM_ICON_CACHE'", when doing "yum update"

Solution Unverified - Updated -


yum update failed with the following python traceback.

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
    import pdb
  File "/usr/share/yum-cli/yummain.py", line 229, in main
    return exPluginExit(e)
  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
  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
  File "/usr/share/rhsm/subscription_manager/injectioninit.py", line 55, in init_dep_injection
    inj.provide(inj.RHSM_ICON_CACHE, RhsmIconCache, singleton=True)
AttributeError: 'module' object has no attribute 'RHSM_ICON_CACHE'


Red Hat Enterprise Linux 6.8

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