Computer Tips - How can fake an uninstall of a package?

Date: 2017sep7 Distro: RedHat/Fedora/CentOS Q. How can fake an uninstall of a package? A. Use the --justdb option of rpm. eg:
rpm -e --justdb --nodeps systemd
I have used this when `yum check` gave errors like:
glibc-devel-2.12-1.107.el6_4.5.x86_64 has missing requires of glibc-headers = ('...', '...', '...');
I did a fake remove of glibc-headers then installed it with
yum install glibc-headers
And the correct version was installed.