***GOT REQUEST TO CHECK FOR UPDATES***Currently running OPNsense 23.7 at Thu Oct 19 21:22:47 CEST 2023Fetching changelog information, please wait... doneUpdating OPNsense repository catalogue...Fetching meta.conf: . doneFetching packagesite.pkg: .......... doneProcessing entries: .......... doneOPNsense repository update completed. 853 packages processed.All repositories are up to date.pkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedChecking integrity... done (0 conflicting)Your packages are up to date.pkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedChecking for upgrades (1 candidates): . doneProcessing candidates (1 candidates): . donepkg: sqlite error while executing SELECT DISTINCT d.name, d.origin, p.version, 0 FROM deps AS d LEFT JOIN packages AS p ON (p.origin = d.origin AND p.name = d.name) WHERE d.package_id = 159 ORDER BY d.origin DESC in file pkgdb_iterator.c:274: database disk image is malformedpkg: sqlite error while executing SELECT p.name, p.origin, p.version, 0 FROM packages AS p INNER JOIN deps AS d ON (p.id = d.package_id) WHERE d.name = 'openssl' in file pkgdb_iterator.c:412: database disk image is malformedpkg: sqlite error while executing SELECT p.name, p.origin, p.version, 0 FROM packages AS p INNER JOIN deps AS d ON (p.id = d.package_id) WHERE d.name = 'openssl' in file pkgdb_iterator.c:412: database disk image is malformedpkg: sqlite error while executing SELECT DISTINCT d.name, d.origin, p.version, 0 FROM deps AS d LEFT JOIN packages AS p ON (p.origin = d.origin AND p.name = d.name) WHERE d.package_id = 127 ORDER BY d.origin DESC in file pkgdb_iterator.c:274: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing SELECT p.name, p.origin, p.version, 0 FROM packages AS p INNER JOIN deps AS d ON (p.id = d.package_id) WHERE d.name = 'python39' in file pkgdb_iterator.c:412: database disk image is malformedpkg: sqlite error while executing SELECT p.name, p.origin, p.version, 0 FROM packages AS p INNER JOIN deps AS d ON (p.id = d.package_id) WHERE d.name = 'python39' in file pkgdb_iterator.c:412: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing SELECT p.name, p.origin, p.version, 0 FROM packages AS p INNER JOIN deps AS d ON (p.id = d.package_id) WHERE d.name = 'py39-setuptools' in file pkgdb_iterator.c:412: database disk image is malformedpkg: sqlite error while executing SELECT p.name, p.origin, p.version, 0 FROM packages AS p INNER JOIN deps AS d ON (p.id = d.package_id) WHERE d.name = 'py39-setuptools' in file pkgdb_iterator.c:412: database disk image is malformedpkg: sqlite error while executing SELECT DISTINCT d.name, d.origin, p.version, 0 FROM deps AS d LEFT JOIN packages AS p ON (p.origin = d.origin AND p.name = d.name) WHERE d.package_id = 149 ORDER BY d.origin DESC in file pkgdb_iterator.c:274: database disk image is malformedpkg: sqlite error while executing SELECT p.name, p.origin, p.version, 0 FROM packages AS p INNER JOIN deps AS d ON (p.id = d.package_id) WHERE d.name = 'py39-numpy' in file pkgdb_iterator.c:412: database disk image is malformedpkg: sqlite error while executing SELECT p.name, p.origin, p.version, 0 FROM packages AS p INNER JOIN deps AS d ON (p.id = d.package_id) WHERE d.name = 'py39-numpy' in file pkgdb_iterator.c:412: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing SELECT DISTINCT d.name, d.origin, p.version, 0 FROM deps AS d LEFT JOIN packages AS p ON (p.origin = d.origin AND p.name = d.name) WHERE d.package_id = 49 ORDER BY d.origin DESC in file pkgdb_iterator.c:274: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing SELECT DISTINCT d.name, d.origin, p.version, 0 FROM deps AS d LEFT JOIN packages AS p ON (p.origin = d.origin AND p.name = d.name) WHERE d.package_id = 49 ORDER BY d.origin DESC in file pkgdb_iterator.c:274: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing SELECT DISTINCT d.name, d.origin, p.version, 0 FROM deps AS d LEFT JOIN packages AS p ON (p.origin = d.origin AND p.name = d.name) WHERE d.package_id = 149 ORDER BY d.origin DESC in file pkgdb_iterator.c:274: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing SELECT DISTINCT d.name, d.origin, p.version, 0 FROM deps AS d LEFT JOIN packages AS p ON (p.origin = d.origin AND p.name = d.name) WHERE d.package_id = 38 ORDER BY d.origin DESC in file pkgdb_iterator.c:274: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing SELECT DISTINCT d.name, d.origin, p.version, 0 FROM deps AS d LEFT JOIN packages AS p ON (p.origin = d.origin AND p.name = d.name) WHERE d.package_id = 38 ORDER BY d.origin DESC in file pkgdb_iterator.c:274: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing SELECT DISTINCT d.name, d.origin, p.version, 0 FROM deps AS d LEFT JOIN packages AS p ON (p.origin = d.origin AND p.name = d.name) WHERE d.package_id = 127 ORDER BY d.origin DESC in file pkgdb_iterator.c:274: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing SELECT DISTINCT d.name, d.origin, p.version, 0 FROM deps AS d LEFT JOIN packages AS p ON (p.origin = d.origin AND p.name = d.name) WHERE d.package_id = 22 ORDER BY d.origin DESC in file pkgdb_iterator.c:274: database disk image is malformedpkg: sqlite error while executing SELECT DISTINCT d.name, d.origin, p.version, 0 FROM deps AS d LEFT JOIN packages AS p ON (p.origin = d.origin AND p.name = d.name) WHERE d.package_id = 22 ORDER BY d.origin DESC in file pkgdb_iterator.c:274: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing SELECT DISTINCT d.name, d.origin, p.version, 0 FROM deps AS d LEFT JOIN packages AS p ON (p.origin = d.origin AND p.name = d.name) WHERE d.package_id = 43 ORDER BY d.origin DESC in file pkgdb_iterator.c:274: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing SELECT DISTINCT d.name, d.origin, p.version, 0 FROM deps AS d LEFT JOIN packages AS p ON (p.origin = d.origin AND p.name = d.name) WHERE d.package_id = 43 ORDER BY d.origin DESC in file pkgdb_iterator.c:274: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformedpkg: sqlite error while executing SELECT DISTINCT d.name, d.origin, p.version, 0 FROM deps AS d LEFT JOIN packages AS p ON (p.origin = d.origin AND p.name = d.name) WHERE d.package_id = 159 ORDER BY d.origin DESC in file pkgdb_iterator.c:274: database disk image is malformedpkg: sqlite error while executing END TRANSACTION; in file pkgdb.c:2333: database disk image is malformedChecking integrity...pkg: sqlite error while executing SELECT p.name, p.origin, p.version, 0 FROM packages AS p INNER JOIN deps AS d ON (p.id = d.package_id) WHERE d.name = 'py39-numpy' in file pkgdb_iterator.c:412: database disk image is malformedAssertion failed: (p != NULL), function pkg_conflicts_check_local_path, file pkg_jobs_conflicts.c, line 313.Child process pid=46138 terminated abnormally: Abort trap***DONE***
root@OPNsense:~ # sqlite3 /var/db/pkg/local.sqliteSQLite version 3.42.0 2023-05-16 12:36:15Enter ".help" for usage hints.sqlite> .selftestMissing SELFTEST table - default checks only1: error-code-1: database disk image is malformed1 errors out of 1 tests
sqlite> REINDEX;Runtime error: database disk image is malformed (11)
Version 23.7 is correct.>>> Check for missing or altered base filesNo problems detected.>>> Check installed repositoriesOPNsense>>> Check installed pluginspkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformed>>> Check locked packagespkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformed>>> Check for missing package dependenciespkg: sqlite error while executing iterator in file pkgdb_iterator.c:1183: database disk image is malformedChecking all packages: pkg: sqlite error while executing iterator in file pkgdb_iterator.c:1183: database disk image is malformedChecking all packages... donepkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformed>>> Check for missing or altered package filespkg: sqlite error while executing iterator in file pkgdb_iterator.c:1183: database disk image is malformedChecking all packages: pkg: sqlite error while executing iterator in file pkgdb_iterator.c:1183: database disk image is malformedChecking all packages... donepkg: sqlite error while executing iterator in file pkgdb_iterator.c:1110: database disk image is malformed>>> Check for core packages consistencyCore package "opnsense" not known to package database.***DONE***