[Rpm-maint] [rpm-software-management/rpm] Add a --salvagedb option to the rpmdb tool (#1042)

Michael Schroeder notifications at github.com
Mon Feb 3 13:31:16 UTC 2020

This can be used to recover as much data as possibly from a terminally broken database. It is currently only supported for the 'ndb' database.

This method is currently hidden from the API by using a macro to select salvage mode. If it should be more exposed, we can add a rpmtsSalvageDB() method.
You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * ndb: add a rpmpkgSalvage() method
  * Add a --salvagedb option to the rpmdb tool

-- File Changes --

    M lib/backend/dbi.h (1)
    M lib/backend/ndb/glue.c (7)
    M lib/backend/ndb/rpmpkg.c (157)
    M lib/backend/ndb/rpmpkg.h (1)
    M lib/rpmdb.c (7)
    M lib/rpmdb_internal.h (8)
    M lib/rpmts.c (8)
    M rpmdb.c (6)

-- Patch Links --


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20200203/2f755b05/attachment.html>

More information about the Rpm-maint mailing list