yum Error – TypeError: unsubscriptable object

We use yum as the patching mechanism for our CentOS servers. It has worked smoothly for several years without incidents. I ran into a problem related to yum yesterday. Whenever I tried to update my system using the yum update command, I got a lot of error messages on the screen and it crashed. The last message shown is

TypeError: unsubscriptable object

Using Google, I was able to find this post about how to fix it. The proposed fix is to use this command:

yum clean metadata

. If this does not fix your yum problem, use this command:

yum clean all


Be the first to comment

Leave a Reply

Social Widgets powered by AB-WebLog.com.

Advertisment ad adsense adlogger