Wednesday, January 7, 2015

[Fedora] Fix Yum Update crashed at the middle of updat

If the problem you having is duplicates packages, simply refer to the following info to attempt the fix:

sudo yum check all                # tells you of any problems
sudo package-cleanup --problems   # lists all known package problems
sudo package-cleanup --dupes      # lists duplicate packages
sudo package-cleanup --cleandupes # actually cleans up duplicates
sudo yum check all                # run again to check for remaining problems
sudo yum-complete-transaction --cleanup-only


Thanks to https://destefano.wordpress.com/2013/08/13/yum-update-fail/#comment-2714