Date: Mon, 27 Feb 2023 08:02:55 +0000 From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: [Bug 269810] ports-mgmt/pkg: how to restore pkg database Message-ID: <bug-269810-32340-Dx30SXcQV9@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-269810-32340@https.bugs.freebsd.org/bugzilla/> References: <bug-269810-32340@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269810 --- 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 needed. 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.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-269810-32340-Dx30SXcQV9>
