This YUM database issue troubled me a fair few times in the past, … Repair “Repository Error: database disk image is malformed” YUM Issue