Product SiteDocumentation Site

6.24.3. Usage examples

The calls without package specification will take some time, please be patient.
# yum verify
# yum verify-all
# yum verify-rpm
An example with a package specified.
$ yum verify squid
...
==================== Installed Packages ====================
squid.x86_64 : The Squid proxy caching server
    File: /usr/share/squid/errors/ar-ae
        Problem:  symlink does not match
        Current:  ar
        Original: 
    File: /usr/share/squid/errors/ar-bh
        Problem:  symlink does not match
        Current:  ar
        Original: 
...
An example using the options added by the extension.
$ sudo yum verify --verify-filenames='/etc/*' --verify-configuration-files=yes

Loadad plugins:aliases, presto, verify
==================== Installed Packages ====================
PackageKit-yum-plugin.x86_64 : Tell PackageKit to check for updates when yum
                             : exits
    File: /etc/yum/pluginconf.d/refresh-packagekit.conf
    Tags: configuration
        Problem:  checksum does not match
        Current:  sha256:f57b424b10afd7ef2d3e14e1fbe7871d51b5ece812d63f223d51210d822cef8f
        Original: sha256:824c5d1b7feb0bf3621bb0b5515d8df6673ae504d9c0fc5fed050070c13d305f
                                   --------                                   
        Problem:  size does not match
        Current:   17  
        Original:  18  
                                   --------                                   
        Problem:  mtime does not match
        Current:  Sun May 16 06:14:24 2010 (108 days, 22:41:18 earlier)
        Original: Thu Sep  2 04:55:42 2010

artwiz-aleczapka-anorexia-fonts.noarch : Anorexia font in Artwiz family
    File: /etc/fonts/conf.d/60-artwiz-aleczapka-anorexia.conf
    Tags: configuration
        Problem:  symlink does not match
        Current:  /usr/share/fontconfig/conf.avail/60-artwiz-aleczapka-anorexia.conf
        Original: 

...

yum-plugin-verify.noarch : Yum plugin to add verify command, and options
    File: /etc/yum/pluginconf.d/verify.conf
    Tags: configuration
        Problem:  mtime does not match
        Current:  Sun Sep 26 07:41:09 2010 (53 days, 19:49:32 later)
        Original: Tue Aug  3 11:51:37 2010
verify done