On Sun, 27 Jan 2019 14:00:15 +0100
"Carlos E. R."
4-Why isn't rebuilddb in the rpm manual?
It is on another manual. Let me see if I can find it [...] no luck so far [...]
man -K rebuilddb
finds it.
RPMDB(8)
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 overwrit- ten), use --rebuilddb to rebuild the database indices from the installed package headers.
Well, there it is :-)
If you found "rpm --rebuilddb" in some doc, it is old and has not been corrected. It is "rpmdb --rebuilddb".
Err, surely you yourself found it. Although it is labelled 'RPMDB(8)' it actually claims 'rpm {--initdb|--rebuilddb} ...'. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org