The command rpm -V (The options -y and –verify are equivalent) verifies an installed package.
The purpose would be to see if the system configuration accurately reflects the contents of the RPM database. If the system configuration doesn’t match the database, then we can reach one of two conclusions:
1. The RPM database has become corrupt. The system configuration is unchanged.
2. The RPM database is intact. The system configuration has changed.