| 1 |
.\" Automatically generated by Pandoc 3.1.11.1 |
| 2 |
.\" |
| 3 |
.TH "RPMDB" "8" "29 June 2010" "" "" |
| 4 |
.SH NAME |
| 5 |
rpmdb \- RPM Database Tool |
| 6 |
.SH SYNOPSIS |
| 7 |
\f[B]rpmdb\f[R] {\f[B]\-\-initdb|\-\-rebuilddb\f[R]} |
| 8 |
.PP |
| 9 |
\f[B]rpmdb\f[R] {\f[B]\-\-verifydb\f[R]} |
| 10 |
.PP |
| 11 |
\f[B]rpmdb\f[R] {\f[B]\-\-exportdb|\-\-importdb\f[R]} |
| 12 |
.SH DESCRIPTION |
| 13 |
The general form of an rpmdb command is |
| 14 |
.PP |
| 15 |
\f[B]rpmdb\f[R] {\f[B]\-\-initdb|\-\-rebuilddb\f[R]} [\f[B]\-v\f[R]] |
| 16 |
[\f[B]\-\-dbpath\f[R] \f[I]DIRECTORY\f[R]] [\f[B]\-\-root\f[R] |
| 17 |
\f[I]DIRECTORY\f[R]] |
| 18 |
.PP |
| 19 |
Use \f[B]\-\-initdb\f[R] to create a new database if one doesn\[aq]t |
| 20 |
already exist (existing database is not overwritten), use |
| 21 |
\f[B]\-\-rebuilddb\f[R] to rebuild the database indices from the |
| 22 |
installed package headers. |
| 23 |
.PP |
| 24 |
\f[B]\-\-verifydb\f[R] performs a low\-level integrity check on the |
| 25 |
database. |
| 26 |
.PP |
| 27 |
\f[B]\-\-exportdb\f[R] exports the database in header\-list format, |
| 28 |
suitable for transporting to another host or database type. |
| 29 |
.PP |
| 30 |
\f[B]\-\-importdb\f[R] imports a database from a header\-list format as |
| 31 |
created by \f[B]\-\-exportdb\f[R]. |
| 32 |
.SH SEE ALSO |
| 33 |
\f[B]popt\f[R](3), \f[B]rpm\f[R](8), \f[B]rpmkeys\f[R](8), |
| 34 |
\f[B]rpmsign\f[R](8), \f[B]rpm2cpio\f[R](8), \f[B]rpmbuild\f[R](8), |
| 35 |
\f[B]rpmspec\f[R](8) |
| 36 |
.PP |
| 37 |
\f[B]rpmdb \-\-help\f[R] \- as \f[B]rpm\f[R](8) supports customizing the |
| 38 |
options via popt aliases it\[aq]s impossible to guarantee that |
| 39 |
what\[aq]s described in the manual matches what\[aq]s available. |
| 40 |
.PP |
| 41 |
\f[B]http://www.rpm.org/ <URL:http://www.rpm.org/>\f[R] |
| 42 |
.SH AUTHORS |
| 43 |
.IP |
| 44 |
.EX |
| 45 |
Marc Ewing <marc\[at]redhat.com> |
| 46 |
Jeff Johnson <jbj\[at]redhat.com> |
| 47 |
Erik Troan <ewt\[at]redhat.com> |
| 48 |
Panu Matilainen <pmatilai\[at]redhat.com> |
| 49 |
.EE |