
Some time yum package re-installation because of corrupt packages, we can re-install the yum package by using the following commands but make sure that you have logged in to the server as a root user else the following command won’t work properly.
yum clean all
yum update
yum reinstall $(yum list installed | awk ‘{print $1}’)
The above command will list all the install packages by yum and than re-install it, if you already know which packages is corrupt than simple re-install the package by using the following command.
yum reinstall package-name