yum update – TypeError: unsubscriptable object

Odd error when running yum update on my slice. This appears to be a currently outstanding bug which can be worked around by issuing a

user@computer:$ yum clean metadata

or

user@computer:$ yum clean all

The former worked fine for me. Original error shown below.

user@computer:$ yum updateSetting up Update ProcessResolving Dependencies–> Running transaction checkTraceback (most recent call last):File “/usr/bin/yum”, line [...]