When using CentOS, RedHat, Fedora, etc… you may experience traceback errors when attempting to run updates using yum. One simple you thing you can try to get yourself back up and running is the following command.
yum clean all
This is used to clean up various things from your yum cache.
For more information about using the clean option do the following:
man yum
Then type “/CLEAN OPTIONS”