Braindump

Broken Yum Update

What to do if yum update is broken

If yum update is broken and you get a Python stack trace similar to this one:

[root@someserver ~]# yum update
... stack trace here ...
TypeError: unsubscriptable object
[root@someserver ~]# 

Fix it like that:

[root@someserver ~]# yum clean metadata
Loaded plugins: kernel-module
24 metadata files removed
12 sqlite files removed
0 metadata files removed
[root@someserver ~]#