[Bug 269810] ports-mgmt/pkg: how to restore pkg database

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 27 Feb 2023 08:02:55 UTC

--- Comment #4 from Baptiste Daroussin <bapt@FreeBSD.org> ---
the fact that the new db is smaller means nothing, the original one has lived
for a while and may benefit from a vaccum for example to release free blocks if

xzcat /var/backups/pkg.sql.xz | pkg shell

is the right way to retore a corrupted db.

You are receiving this mail because:
You are on the CC list for the bug.