Verifying an RPM

If you want to verify whether an RPM is correctly installed, you can use the rpm -V command. Using the verify command will check the files, their permissions, and also if the package's dependencies are installed so that it can function correctly.

If rpm -V returns nothing, then the RPM itself has been successfully verified and all is well.

On the other hand, if something is wrong with the package, you are told what file in the package is different from the original installed file from the RPM.

bible:~ # rpm -V i4l-isdnlog S.5 ... .T c /etc/isdn/isdn.conf bible:~ #

For each file in an RPM that differs from the norm, you receive a letter that dictates what the difference was and why. Table 12-1 details what the differences can be and their respective status letters (or numbers).

Was this article helpful?

0 0

Post a comment