FreeBSD 13.0-RELEASE-p2. Malformation arose whilst testing UFS file system resilience.
Re: <https://github.com/freebsd/pkg/issues/633> (2013) I removed /var/db/pkg/repo-FreeBSD.sqlite, this does not resolve the issue. I see three other files:
With reference to a 2021-03-12 commit:
<https://github.com/freebsd/pkg/blob/cd8f896d23d55516737f5886a7f69a6e1cc3c77d/libpkg/pkgdb.c#L1825>
pkg: sqlite error while executing INSERT INTO files (path, sha256, package_id) VALUES (?1, ?2, ?3) in file pkgdb.c:1825: database disk image is malformed
Re: <https://github.com/freebsd/pkg/issues/633> (2013) I removed /var/db/pkg/repo-FreeBSD.sqlite, this does not resolve the issue. I see three other files:
- FreeBSD.meta
- local.sqlite
- local.sqlite-journal
With reference to a 2021-03-12 commit:
<https://github.com/freebsd/pkg/blob/cd8f896d23d55516737f5886a7f69a6e1cc3c77d/libpkg/pkgdb.c#L1825>