How do I fix yum if it is cancelled during an update due to a Ctrl-C or a reboot?

Updated -

Disrupting 'yum' during an update can cause numerous errors and is never recommended. This can severely break 'yum' and cause traceback errors like the ones listed here:

# yum update
Reading repository metadata in from local files 
Traceback (most recent call last): 
 File "/usr/sbin/system-install-packages", line 204, in _apply 
 File "/usr/lib...

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