6.
Verifying
RPM-Tips.html#toc6
Contents of this section
Verifying packages can be a very enlightenting experience.  To verify,
use
-V
along with one of the ``package selection options'' listed
in the Querying section.  For instance, if you are having trouble
with the Emacs package, and can not figure out the problem, one of
the first things you might do is verify the package:
rpm -Vf /usr/bin/emacs
If any anomolies are reported, you should rerun the verification in
verbose mode with
-v
:
rpm -Vvf /usr/bin/emacs
This will list the exact discrepencies the rpm finds, including
changed permission, owners, groups, file sizes, etc.  Sometimes,
these changes are normal and are not cause for alarm.  For instance,
if you modify a configuration file, the verification will report
it, but it is not necessarily a problem.  The /dev/tty* files are
another example.  These files change ownership as users log in and
out, so changes in ownership may not be cause for alarm.
RPM-Tips-7.html
Next
Chapter,
RPM-Tips-5.html
Previous
Chapter
Table of contents of
RPM-Tips.html#toc6
this chapter
,
General
RPM-Tips.html#toc
table of contents
RPM-Tips.html
Top
of the document,
#0
Beginning of this Chapter
