rpm --rebuild: what does it do?
Aaron Konstam
akonstam at sbcglobal.net
Fri Mar 19 20:29:56 UTC 2010
On Fri, 2010-03-19 at 14:03 -0600, Stuart McGraw wrote:
> Hello all,
>
> The man page for "rpm --rebuild", with rather excessive
> terseness, says:
>
> > [...] use --rebuilddb to rebuild the database indices
> > from the installed package headers.
>
> I want to backup the "rpm database". Presumably I
> do not need to backup the "database indices" since
> they are recreated by rpm --rebuild.
>
> Can some translate "rpm database" and "database indices"
> into filenames? Thanks.
>
> [P.S., I quickly scanned the Max RPM book, especially
> chapters 6 and 7 and did not find an answer there though
> it is a long book and I may have missed it.]
I thought the answer was simple. The rpm databases are named:
/var/lib/rpm/__db.00x where x =1,2,3,4
However I notice there are other files called:
/var/lib/rpmrebuilddb.2702/__db.00x where x=1,2,3
I have never seen them before but they seem to be related to rpm
--rebuilddb
--
=======================================================================
PCMCIA slave driver
=======================================================================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam at sbcglobal.net
More information about the users
mailing list