Re-installing with yum
October 14th, 2009 by robg
I recently had a problem where a yum update broke things because of my umask setting, I needed to reinstall the packages.
Yum doesn’t have a reinstall feature, and I didn’t want to do a remove first, the packages were currently in use. So how to do a reinstall?
Remove the package from the RPM database without actually removing it:
# rpm -e --justdb --nodeps "package name"
The package is still installed but when yum queries the RPM DB it will find it missing and allow you to install it:
# yum install "package name"
Posted in Uncategorized