rpmdb (8) - Linux Manuals
rpmdb: RPM Database Tool
NAME
rpmdb - RPM Database ToolSYNOPSIS
rpm {--initdb|--rebuilddb}
DESCRIPTION
The general form of an rpm rebuild database command is
rpm {--initdb|--rebuilddb} [-v] [--dbpath DIRECTORY] [--root DIRECTORY]
Use --initdb to create a new database if one doesn't already exist (existing database is not overwritten), use --rebuilddb to rebuild the database indices from the installed package headers.
AUTHORS
Marc Ewing <marc [at] redhat.com> Jeff Johnson <jbj [at] redhat.com> Erik Troan <ewt [at] redhat.com> Panu Matilainen <pmatilai [at] redhat.com>
SEE ALSO
popt(3), rpm(8), rpmkeys(8), rpmsign(8), rpm2cpio(8), rpmbuild(8), rpmspec(8),
rpm --help - as rpm supports customizing the options via popt aliases it's impossible to guarantee that what's described in the manual matches what's available.