.\" Automatically generated by Pandoc 3.1.11.1
.\"
.TH "RPMDB" "8" "29 June 2010" "" ""
.SH NAME
rpmdb \- RPM Database Tool
.SH SYNOPSIS
\f[B]rpmdb\f[R] {\f[B]\-\-initdb|\-\-rebuilddb\f[R]}
.PP
\f[B]rpmdb\f[R] {\f[B]\-\-verifydb\f[R]}
.PP
\f[B]rpmdb\f[R] {\f[B]\-\-exportdb|\-\-importdb\f[R]}
.SH DESCRIPTION
The general form of an rpmdb command is
.PP
\f[B]rpmdb\f[R] {\f[B]\-\-initdb|\-\-rebuilddb\f[R]} [\f[B]\-v\f[R]]
[\f[B]\-\-dbpath\f[R] \f[I]DIRECTORY\f[R]] [\f[B]\-\-root\f[R]
\f[I]DIRECTORY\f[R]]
.PP
Use \f[B]\-\-initdb\f[R] to create a new database if one doesn\[aq]t
already exist (existing database is not overwritten), use
\f[B]\-\-rebuilddb\f[R] to rebuild the database indices from the
installed package headers.
.PP
\f[B]\-\-verifydb\f[R] performs a low\-level integrity check on the
database.
.PP
\f[B]\-\-exportdb\f[R] exports the database in header\-list format,
suitable for transporting to another host or database type.
.PP
\f[B]\-\-importdb\f[R] imports a database from a header\-list format as
created by \f[B]\-\-exportdb\f[R].
.SH SEE ALSO
\f[B]popt\f[R](3), \f[B]rpm\f[R](8), \f[B]rpmkeys\f[R](8),
\f[B]rpmsign\f[R](8), \f[B]rpm2cpio\f[R](8), \f[B]rpmbuild\f[R](8),
\f[B]rpmspec\f[R](8)
.PP
\f[B]rpmdb \-\-help\f[R] \- as \f[B]rpm\f[R](8) supports customizing the
options via popt aliases it\[aq]s impossible to guarantee that
what\[aq]s described in the manual matches what\[aq]s available.
.PP
\f[B]http://www.rpm.org/ \f[R]
.SH AUTHORS
.IP
.EX
Marc Ewing
Jeff Johnson
Erik Troan
Panu Matilainen
.EE