Anne Wilson wrote:
On Tuesday 05 December 2006 12:12, Craig White wrote:
On Tue, 2006-12-05 at 11:36 +0000, Anne Wilson wrote:
On Monday 04 December 2006 20:59, Anne Wilson wrote:
Yup. Craig mentioned the man file. I'd already been there, but V
doesn't seem to be listed as an option. I'm still trying to understand
...
Thanks, Craig. You're absolutely right. The man page is so long that I must
have been bog-eyed by the time I got down there :-)
When trying to reverse the commands people give, use the search function
in man (same as firefox, less etc) of
man rpm
/
-V
{enter}
Saves me heaps of time !
==
With regard to rpm -qV:
The operation modes {query|verify|install|upgrade} are mutually
exclusive; only one can be specified. Probably due to the order of
matches that are use when the command line is pulled apart, verify is
acted upon only.
==
With regards to rpm verify: $ rpm -V yum
- no output = package installed and all files in package actually
installed at correct location according to the rpm, no config changes
- otherwise you'll see the differences eg:
S.5....T c /etc/yum.conf
the last c means a user config file that has been customized (could be
by hand or through a tool - whether text or gui).
To see the result of the verify for all files (not just changed ones):
$ rpm -Vv yum
(perhaps you don't really want this much info after all ?)
DaveT.