.\" Automatically generated by Pandoc 3.1.3
.\"
.\" Define V font for inline verbatim, using C font in formats
.\" that render this, and otherwise B font.
.ie "\f[CB]x\f[]"x" \{\
. ftr V B
. ftr VI BI
. ftr VB B
. ftr VBI BI
.\}
.el \{\
. ftr V CR
. ftr VI CI
. ftr VB CB
. ftr VBI CBI
.\}
.TH "RPMDB" "8" "29 June 2010" "" ""
.hy
.SH NAME
.PP
rpmdb - RPM Database Tool
.SH SYNOPSIS
.PP
\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
.PP
The general form of an rpmdb command is
.PP
\f[B]rpm\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 transfporting 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
.PP
\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]rpm --help\f[R] - as rpm 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
.nf
\f[C]
Marc Ewing
Jeff Johnson
Erik Troan
Panu Matilainen
\f[R]
.fi