"pkg delete -a" error: . . . cannot VACUUM - SQL statements in progress

From: Mark Millard <marklmi_at_yahoo.com>
Date: Mon, 01 May 2023 17:30:51 UTC
# pkg delete -a
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 309 packages (of 0 packages in the universe):
. . .
[308/309] Deleting files for bonnie-2.0.6_2: 100%
Removing gdk-pixbuf cache directory
You may need to manually remove /usr/local/etc/poudriere.conf if it is no longer needed.
pkg: sqlite error while executing VACUUM; in file pkgdb.c:2333: cannot VACUUM - SQL statements in progress

# pkg -v
1.19.1

# uname -apKU
FreeBSD CA78C_WDK23_ZFS 14.0-CURRENT FreeBSD 14.0-CURRENT #0 main-n262658-b347c2284603-dirty: Mon May  1 03:47:39 PDT 2023     root@CA72_16Gp_ZFS:/usr/obj/BUILDs/main-CA78C-nodbg-clang/usr/main-src/arm64.aarch64/sys/GENERIC-NODBG-CA78C arm64 aarch64 1400088 1400088

===
Mark Millard
marklmi at yahoo.com