OS Manuals

/usr/bin/rpmverify

Redhat Package Management utilities (RPM)

From rpm 6.1.0-r2 (os), captured 2026-11-05 by running rpmverify --help (exit 0). permalink

Usage: rpmverify [OPTION...]

Query/Verify package selection options:
  -a, --all                          query/verify all packages
  -f, --file                         query/verify package(s) owning installed
                                     file
      --path                         query/verify package(s) owning path,
                                     installed or not
  -g, --group                        query/verify package(s) in group
  -p, --package                      query/verify a package file
  -q, --query                        rpm query mode
      --triggeredby                  query the package(s) triggered by the
                                     package
      --whatconflicts                query/verify the package(s) which
                                     conflict with a dependency
      --whatrequires                 query/verify the package(s) which require
                                     a dependency
      --whatobsoletes                query/verify the package(s) which
                                     obsolete a dependency
      --whatprovides                 query/verify the package(s) which provide
                                     a dependency
      --whatrecommends               query/verify the package(s) which
                                     recommends a dependency
      --whatsuggests                 query/verify the package(s) which
                                     suggests a dependency
      --whatsupplements              query/verify the package(s) which
                                     supplements a dependency
      --whatenhances                 query/verify the package(s) which
                                     enhances a dependency
      --nomanifest                   do not process non-package files as
                                     manifests

Query/Verify file selection options:
  -c, --configfiles                  only include configuration files
  -d, --docfiles                     only include documentation files
  -L, --licensefiles                 only include license files
  -A, --artifactfiles                only include artifact files
      --noghost                      exclude %%ghost files
      --noconfig                     exclude %%config files
      --noartifact                   exclude %%artifact files

Query options (with -q or --query):
      --dump                         dump basic file information
  -l, --list                         list files in package
      --queryformat=QUERYFORMAT      use the following query format
  -s, --state                        display the states of the listed files

Verify options (with -V or --verify):
      --nofiledigest                 don't verify digest of files
      --nofiles                      don't verify files in package
      --nodeps                       don't verify package dependencies
      --noscript                     don't execute verify script(s)

Install/Upgrade/Erase options:
      --allfiles                     install all files, even configurations
                                     which might otherwise be skipped
      --allmatches                   remove all packages which match <package>
                                     (normally an error is generated if
                                     <package> specified multiple packages)
      --badreloc                     relocate files in non-relocatable package
  -e, --erase=<package>+             erase (uninstall) package
      --excludedocs                  do not install documentation
      --excludepath=<path>           skip files with leading component <path>
      --force                        short hand for --replacepkgs
                                     --replacefiles
  -F, --freshen=<packagefile>+       upgrade package(s) if already installed
  -h, --hash                         print hash marks as package installs
                                     (good with -v)
      --ignorearch                   don't verify package architecture
      --ignoreos                     don't verify package operating system
      --ignoresize                   don't check disk space before installing
      --noverify                     short hand for --ignorepayload
                                     --ignoresignature
  -i, --install                      install package(s)
      --justdb                       update the database, but do not modify
                                     the filesystem
      --nodb                         do not update the database, but modify
                                     the filesystem
      --nodeps                       do not verify package dependencies
      --nofiledigest                 don't verify digest of files
      --nocontexts                   don't install file security contexts
      --nocaps                       don't install file capabilities
      --noorder                      do not reorder package installation to
                                     satisfy dependencies
      --noscripts                    do not execute package scriptlet(s)
      --notriggers                   do not execute any scriptlet(s) triggered
                                     by this package
      --oldpackage                   upgrade to an old version of the package
                                     (--force on upgrades does this
                                     automatically)
      --percent                      print percentages as package installs
      --prefix=<dir>                 relocate the package to <dir>, if
                                     relocatable
      --relocate=<old>=<new>         relocate files from path <old> to <new>
      --replacefiles                 ignore file conflicts between packages
      --replacepkgs                  reinstall if the package is already
                                     present
      --test                         don't install, but tell if it would work
                                     or not
  -U, --upgrade=<packagefile>+       upgrade package(s)
      --reinstall=<packagefile>+     reinstall package(s)
      --restore=<packagefile>+       restore package(s)

Common options for all rpm modes and executables:
  -D, --define='MACRO EXPR'          define MACRO with value EXPR
      --undefine=MACRO               undefine MACRO
  -E, --eval='EXPR'                  print macro expansion of EXPR
      --target=CPU-VENDOR-OS         Specify target platform
      --macros=<FILE:...>            read <FILE:...> instead of default file(s)
      --load=<FILE>                  load a single macro file
      --noplugins                    don't enable any plugins
      --nodigest                     don't verify package digest(s)
      --nosignature                  don't verify package signature(s)
      --rcfile=<FILE:...>            read <FILE:...> instead of default file(s)
  -r, --root=ROOT                    use ROOT as top level directory (default:
                                     "/")
      --dbpath=DIRECTORY             use database in DIRECTORY
      --querytags                    display known query tags
      --showrc                       display final rpmrc and macro
                                     configuration
      --quiet                        provide less detailed output
  -v, --verbose                      provide more detailed output
      --version                      print the version of rpm being used

Help options:
  -?, --help                         Show this help message
      --usage                        Display brief usage message
Options (81)
OptionDescriptionSource
-a, --allquery/verify all packageshelp
-f, --filequery/verify package(s) owning installed filehelp
--pathquery/verify package(s) owning path, installed or nothelp
-g, --groupquery/verify package(s) in grouphelp
-p, --packagequery/verify a package filehelp
-q, --queryrpm query modehelp
--triggeredbyquery the package(s) triggered by the packagehelp
--whatconflictsquery/verify the package(s) which conflict with a dependencyhelp
--whatrequiresquery/verify the package(s) which require a dependencyhelp
--whatobsoletesquery/verify the package(s) which obsolete a dependencyhelp
--whatprovidesquery/verify the package(s) which provide a dependencyhelp
--whatrecommendsquery/verify the package(s) which recommends a dependencyhelp
--whatsuggestsquery/verify the package(s) which suggests a dependencyhelp
--whatsupplementsquery/verify the package(s) which supplements a dependencyhelp
--whatenhancesquery/verify the package(s) which enhances a dependencyhelp
--nomanifestdo not process non-package files as manifestshelp
-c, --configfilesonly include configuration fileshelp
-d, --docfilesonly include documentation fileshelp
-L, --licensefilesonly include license fileshelp
-A, --artifactfilesonly include artifact fileshelp
--noghostexclude %%ghost fileshelp
--noconfigexclude %%config fileshelp
--noartifactexclude %%artifact fileshelp
--dumpdump basic file informationhelp
-l, --listlist files in packagehelp
--queryformat QUERYFORMATuse the following query formathelp
-s, --statedisplay the states of the listed fileshelp
--nofiledigestdon't verify digest of fileshelp
--nofilesdon't verify files in packagehelp
--nodepsdon't verify package dependencieshelp
--noscriptdon't execute verify script(s)help
--allfilesinstall all files, even configurations which might otherwise be skippedhelp
--allmatchesremove all packages which match <package> (normally an error is generated if <package> specified multiple packages)help
--badrelocrelocate files in non-relocatable packagehelp
-e, --erase package>+erase (uninstall) packagehelp
--excludedocsdo not install documentationhelp
--excludepath pathskip files with leading component <path>help
--forceshort hand for --replacepkgshelp
-F, --freshen packagefile>+upgrade package(s) if already installedhelp
-h, --hashprint hash marks as package installs (good with -v)help
--ignorearchdon't verify package architecturehelp
--ignoreosdon't verify package operating systemhelp
--ignoresizedon't check disk space before installinghelp
--noverifyshort hand for --ignorepayloadhelp
-i, --installinstall package(s)help
--justdbupdate the database, but do not modify the filesystemhelp
--nodbdo not update the database, but modify the filesystemhelp
--nocontextsdon't install file security contextshelp
--nocapsdon't install file capabilitieshelp
--noorderdo not reorder package installation to satisfy dependencieshelp
--noscriptsdo not execute package scriptlet(s)help
--notriggersdo not execute any scriptlet(s) triggered by this packagehelp
--oldpackageupgrade to an old version of the package (--force on upgrades does this automatically)help
--percentprint percentages as package installshelp
--prefix dirrelocate the package to <dir>, if relocatablehelp
--relocate old>=<newrelocate files from path <old> to <new>help
--replacefilesignore file conflicts between packageshelp
--replacepkgsreinstall if the package is already presenthelp
--testdon't install, but tell if it would work or nothelp
-U, --upgrade packagefile>+upgrade package(s)help
--reinstall packagefile>+reinstall package(s)help
--restore packagefile>+restore package(s)help
-D, --define 'MACROdefine MACRO with value EXPRhelp
--undefine MACROundefine MACROhelp
-E, --eval 'EXPR'print macro expansion of EXPRhelp
--target CPU-VENDOR-OSSpecify target platformhelp
--macros FILE:...read <FILE:...> instead of default file(s)help
--load FILEload a single macro filehelp
--nopluginsdon't enable any pluginshelp
--nodigestdon't verify package digest(s)help
--nosignaturedon't verify package signature(s)help
--rcfile FILE:...read <FILE:...> instead of default file(s)help
-r, --root ROOTuse ROOT as top level directory (default: "/")help
--dbpath DIRECTORYuse database in DIRECTORYhelp
--querytagsdisplay known query tagshelp
--showrcdisplay final rpmrc and macro configurationhelp
--quietprovide less detailed outputhelp
-v, --verboseprovide more detailed outputhelp
--versionprint the version of rpm being usedhelp
-?, --helpShow this help messagehelp
--usageDisplay brief usage messagehelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.