Weird errors after update from 25.7 to 25.7.1

Started by crazywolf13, August 05, 2025, 09:42:53 PM

Previous topic - Next topic
I got these errors:

***GOT REQUEST TO UPDATE***
Currently running OPNsense 25.7 (amd64) at Tue Aug  5 21:36:40 CEST 2025
Updating OPNsense repository catalogue...
OPNsense repository is up to date.
All repositories are up to date.
Updating OPNsense repository catalogue...
OPNsense repository is up to date.
All repositories are up to date.
Checking for upgrades (16 candidates): .......... done
Processing candidates (16 candidates): .......... done
The following 16 package(s) will be affected (of 0 checked):

Installed packages to be UPGRADED:
boost-libs: 1.88.0_1 -> 1.88.0_2
curl: 8.14.1 -> 8.15.0
ivykis: 0.43.2 -> 0.43.2_1
jq: 1.8.0 -> 1.8.1
libucl: 0.9.2_1 -> 0.9.2_2
nspr: 4.36 -> 4.37
nss: 3.113.1_1 -> 3.114
opnsense: 25.7 -> 25.7.1_1
os-wol: 2.5_1 -> 2.5_3
py311-certifi: 2025.6.15 -> 2025.7.14
py311-duckdb: 1.3.1_1 -> 1.3.2
py311-typing-extensions: 4.14.0 -> 4.14.1
sudo: 1.9.17p1 -> 1.9.17p2
syslog-ng: 4.8.2_3 -> 4.8.2_4
tailscale: 1.84.2 -> 1.86.0
telegraf: 1.35.1 -> 1.35.1_1

Number of packages to be upgraded: 16

94 MiB to be downloaded.
[1/16] Fetching boost-libs-1.88.0_2.pkg: .......... done
[2/16] Fetching nss-3.114.pkg: .......... done
[3/16] Fetching tailscale-1.86.0.pkg: .......... done
[4/16] Fetching jq-1.8.1.pkg: .......... done
[5/16] Fetching syslog-ng-4.8.2_4.pkg: .......... done
[6/16] Fetching ivykis-0.43.2_1.pkg: .......... done
[7/16] Fetching py311-certifi-2025.7.14.pkg: .......... done
[8/16] Fetching telegraf-1.35.1_1.pkg: .......... done
[9/16] Fetching os-wol-2.5_3.pkg: . done
[10/16] Fetching curl-8.15.0.pkg: .......... done
[11/16] Fetching nspr-4.37.pkg: .......... done
[12/16] Fetching libucl-0.9.2_2.pkg: .......... done
[13/16] Fetching opnsense-25.7.1_1.pkg: .......... done
[14/16] Fetching py311-duckdb-1.3.2.pkg: .......... done
[15/16] Fetching py311-typing-extensions-4.14.1.pkg: .......... done
[16/16] Fetching sudo-1.9.17p2.pkg: .......... done
Checking integrity... done (0 conflicting)
[1/16] Upgrading py311-typing-extensions from 4.14.0 to 4.14.1...
[1/16] Extracting py311-typing-extensions-4.14.1: .......... done
[2/16] Upgrading py311-certifi from 2025.6.15 to 2025.7.14...
[2/16] Extracting py311-certifi-2025.7.14: .......... done
[3/16] Upgrading nspr from 4.36 to 4.37...
[3/16] Extracting nspr-4.37: .
pkg-static: Fail to set time on /usr/local/include/nspr/obsolete/.pkgtemp.pralarm.h.b4rjuQUQoSI6:No such file or directory
[3/16] Extracting nspr-4.37... done
Starting web GUI...rm: /tmp/lighttpdcompress/usr/local/opnsense/www/assets: Directory not empty
rm: /tmp/lighttpdcompress/usr/local/opnsense/www: Directory not empty
rm: /tmp/lighttpdcompress/usr/local/opnsense: Directory not empty
rm: /tmp/lighttpdcompress/usr/local: Directory not empty
rm: /tmp/lighttpdcompress/usr: Directory not empty
done.
***DONE***


I assume this is not critical but I though I report it before it potentially breaks installs.

Also the update does not seem to go away, if I click check for updates, is shows the 25.7.1 release notes again, and runs some sort of update again:

***GOT REQUEST TO UPDATE***
Currently running OPNsense 25.7 (amd64) at Tue Aug  5 21:43:49 CEST 2025
Updating OPNsense repository catalogue...
OPNsense repository is up to date.
All repositories are up to date.
Updating OPNsense repository catalogue...
OPNsense repository is up to date.
All repositories are up to date.
Checking for upgrades (14 candidates): .......... done
Processing candidates (14 candidates): .......... done
Checking integrity... done (0 conflicting)
The following 14 package(s) will be affected (of 0 checked):

Installed packages to be UPGRADED:
boost-libs: 1.88.0_1 -> 1.88.0_2
curl: 8.14.1 -> 8.15.0
ivykis: 0.43.2 -> 0.43.2_1
jq: 1.8.0 -> 1.8.1
libucl: 0.9.2_1 -> 0.9.2_2
nspr: 4.36 -> 4.37
nss: 3.113.1_1 -> 3.114
opnsense: 25.7 -> 25.7.1_1
os-wol: 2.5_1 -> 2.5_3
py311-duckdb: 1.3.1_1 -> 1.3.2
sudo: 1.9.17p1 -> 1.9.17p2
syslog-ng: 4.8.2_3 -> 4.8.2_4
tailscale: 1.84.2 -> 1.86.0
telegraf: 1.35.1 -> 1.35.1_1

Number of packages to be upgraded: 14
[1/14] Upgrading nspr from 4.36 to 4.37...
[1/14] Extracting nspr-4.37: .......... done
[2/14] Upgrading boost-libs from 1.88.0_1 to 1.88.0_2...
[2/14] Extracting boost-libs-1.88.0_2:
pkg-static: Fail to set time on /usr/local/include/boost/accumulators/framework/accumulators/.pkgtemp.external_accumulator.hpp.YyAuB2at1MjE:No such file or directory
[2/14] Extracting boost-libs-1.88.0_2... done
Starting web GUI...done.
***DONE***

You can try a cleanup audit (firmware: status) and then retry the update.

Due to related update issues this will be in 25.7.2 which automates the process so you just need to check for updates again and proceed where the update stopped:

https://github.com/opnsense/core/commit/ea75da8a35c484a


Cheers,
Franco

August 22, 2025, 08:33:01 PM #3 Last Edit: August 22, 2025, 08:35:22 PM by crazywolf13
@fran
Quote from: franco on August 06, 2025, 11:11:45 AMYou can try a cleanup audit (firmware: status) and then retry the update.

Due to related update issues this will be in 25.7.2 which automates the process so you just need to check for updates again and proceed where the update stopped:

https://github.com/opnsense/core/commit/ea75da8a35c484a


Cheers,
Franco

Hi,
I just tried the cleanup, which seemed to work, then retry the update, but it failed again:

***GOT REQUEST TO UPDATE***
Currently running OPNsense 25.7 (amd64) at Fri Aug 22 20:31:55 CEST 2025
Updating OPNsense repository catalogue...
OPNsense repository is up to date.
All repositories are up to date.
Updating OPNsense repository catalogue...
OPNsense repository is up to date.
All repositories are up to date.
Checking for upgrades (39 candidates): .......... done
Processing candidates (39 candidates): .......... done
The following 39 package(s) will be affected (of 0 checked):

Installed packages to be UPGRADED:
boost-libs: 1.88.0_1 -> 1.88.0_2
curl: 8.14.1 -> 8.15.0
ivykis: 0.43.2 -> 0.43.2_1
jq: 1.8.0 -> 1.8.1
krb5: 1.21.3_1 -> 1.22
libinotify: 20240724_2 -> 20240724_3
libpfctl: 0.15 -> 0.16
libucl: 0.9.2_1 -> 0.9.2_2
lighttpd: 1.4.79 -> 1.4.81
nss: 3.113.1_1 -> 3.115
opnsense: 25.7 -> 25.7.2
opnsense-lang: 25.1.11 -> 25.7.2
opnsense-update: 25.7 -> 25.7.2
os-telegraf: 1.12.12_1 -> 1.12.13
os-wol: 2.5_1 -> 2.5_3
perl5: 5.40.2_2 -> 5.40.3_2
php83: 8.3.23 -> 8.3.24
php83-ctype: 8.3.23 -> 8.3.24
php83-curl: 8.3.23 -> 8.3.24
php83-dom: 8.3.23 -> 8.3.24
php83-filter: 8.3.23 -> 8.3.24
php83-gettext: 8.3.23 -> 8.3.24
php83-ldap: 8.3.23 -> 8.3.24
php83-mbstring: 8.3.23 -> 8.3.24
php83-pcntl: 8.3.23 -> 8.3.24
php83-pdo: 8.3.23 -> 8.3.24
php83-session: 8.3.23 -> 8.3.24
php83-simplexml: 8.3.23 -> 8.3.24
php83-sockets: 8.3.23 -> 8.3.24
php83-sqlite3: 8.3.23_1 -> 8.3.24
php83-xml: 8.3.23 -> 8.3.24
php83-zlib: 8.3.23 -> 8.3.24
py311-duckdb: 1.3.1_1 -> 1.3.2
py311-jq: 1.8.0_1 -> 1.10.0
py311-numpy: 1.26.4_6,1 -> 1.26.4_7,1
python311: 3.11.13 -> 3.11.13_1
sudo: 1.9.17p1 -> 1.9.17p2
syslog-ng: 4.8.2_3 -> 4.8.2_4
telegraf: 1.35.1 -> 1.35.3_1

Number of packages to be upgraded: 39

140 MiB to be downloaded.
[1/39] Fetching lighttpd-1.4.81.pkg: .......... done
[2/39] Fetching php83-filter-8.3.24.pkg: ... done
[3/39] Fetching opnsense-update-25.7.2.pkg: ..... done
[4/39] Fetching php83-curl-8.3.24.pkg: ...... done
[5/39] Fetching boost-libs-1.88.0_2.pkg: .......... done
[6/39] Fetching py311-numpy-1.26.4_7,1.pkg: .......... done
[7/39] Fetching nss-3.115.pkg: .......... done
[8/39] Fetching php83-ldap-8.3.24.pkg: ..... done
[9/39] Fetching jq-1.8.1.pkg: .......... done
[10/39] Fetching krb5-1.22.pkg: .......... done
[11/39] Fetching php83-simplexml-8.3.24.pkg: .... done
[12/39] Fetching php83-pdo-8.3.24.pkg: ....... done
[13/39] Fetching syslog-ng-4.8.2_4.pkg: .......... done
[14/39] Fetching php83-sockets-8.3.24.pkg: ...... done
[15/39] Fetching py311-jq-1.10.0.pkg: ....... done
[16/39] Fetching php83-pcntl-8.3.24.pkg: ... done
[17/39] Fetching php83-sqlite3-8.3.24.pkg: .... done
[18/39] Fetching python311-3.11.13_1.pkg: .......... done
[19/39] Fetching libinotify-20240724_3.pkg: .... done
[20/39] Fetching ivykis-0.43.2_1.pkg: .......... done
[21/39] Fetching php83-session-8.3.24.pkg: ..... done
[22/39] Fetching php83-mbstring-8.3.24.pkg: .......... done
[23/39] Fetching php83-gettext-8.3.24.pkg: . done
[24/39] Fetching telegraf-1.35.3_1.pkg: .......... done
[25/39] Fetching php83-zlib-8.3.24.pkg: ... done
[26/39] Fetching os-wol-2.5_3.pkg: . done
[27/39] Fetching php83-ctype-8.3.24.pkg: . done
[28/39] Fetching curl-8.15.0.pkg: .......... done
[29/39] Fetching php83-8.3.24.pkg: .......... done
[30/39] Fetching os-telegraf-1.12.13.pkg: .. done
[31/39] Fetching libpfctl-0.16.pkg: .. done
[32/39] Fetching php83-xml-8.3.24.pkg: ... done
[33/39] Fetching php83-dom-8.3.24.pkg: .......... done
[34/39] Fetching libucl-0.9.2_2.pkg: .......... done
[35/39] Fetching perl5-5.40.3_2.pkg: .......... done
[36/39] Fetching opnsense-25.7.2.pkg: .......... done
[37/39] Fetching py311-duckdb-1.3.2.pkg: .......... done
[38/39] Fetching sudo-1.9.17p2.pkg: .......... done
[39/39] Fetching opnsense-lang-25.7.2.pkg: .......... done
Checking integrity... done (0 conflicting)
[1/39] Upgrading python311 from 3.11.13 to 3.11.13_1...
pkg-static: sqlite error while executing INSERT OR REPLACE INTO packages( origin, name, version, comment, desc, message, arch, maintainer, www, prefix, flatsize, automatic, licenselogic, time, manifestdigest, dep_formula, vital)VALUES( 'lang/python311', 'python311', '3.11.13_1', 'Interpreted object-oriented programming language', 'Python is an interpreted object-oriented programming language, and is
often compared to Tcl, Perl or Scheme.', '[{"message":"Note that some standard Python modules are provided as separate ports\nas they require additional dependencies. They are available as:\n\npy311-gdbm       databases/py-gdbm@py311\npy311-sqlite3    databases/py-sqlite3@py311\npy311-tkinter    x11-toolkits/py-tkinter@py311","type":"install"}]', 'FreeBSD:14:amd64', 'python@FreeBSD.org', 'https://www.python.org/', '/usr/local', 211048567, 1, 1, NOW(), '2$2$n7q3f14jmcorkwcqbzfescqd858unir8uqe7fgbc5qbpdqq4u3ccueyyeeytcup49a9efi9etmg3earnbrunefij6uzjd9bp65hxfkb', NULL, 0 ) in file pkgdb.c:1633: database disk image is malformed
Starting web GUI...done.
***DONE***

Some other error previously before cleanup:
[1/39] Extracting python311-3.11.13_1:
pkg-static: Fail to set time on /usr/local/include/python3.11/.pkgtemp.ceval.h.4FtuqDzVA0Ss:No such file or directory

I upgraded to 25.7 and effectively made my device a brick! I tried a fresh install of 25.7 and did a conf restore, but still a brick ended up reverted to 25.1 and am back up running but not very impressed with the QA that appears to not have been done.

August 24, 2025, 02:15:16 PM #5 Last Edit: August 24, 2025, 02:17:07 PM by opnonce
Just want to chime in here because I have seen consistent file system corruption when upgrading to 25.7.1

I did some tests on the same production hardware and ran 2 tests which ended the same. B test started with 24.7 upgrade every version and the up from 25.7 to 25.7.1 caused file system corruption, ending up in a reboot and a broken system.

This is a video of the A test where I just upgraded from a freshly installed 25.7 to 25.7.1 and well you can see the results.

Still experiencing this error with an upgrade to 25.7.2

@franco

***GOT REQUEST TO UPDATE***
Currently running OPNsense 25.7 (amd64) at Mon Aug 25 07:55:17 CEST 2025
Updating OPNsense repository catalogue...
OPNsense repository is up to date.
All repositories are up to date.
Updating OPNsense repository catalogue...
OPNsense repository is up to date.
All repositories are up to date.
Checking for upgrades (39 candidates): .......... done
Processing candidates (39 candidates): .......... done
The following 39 package(s) will be affected (of 0 checked):

Installed packages to be UPGRADED:
boost-libs: 1.88.0_1 -> 1.88.0_2
curl: 8.14.1 -> 8.15.0
ivykis: 0.43.2 -> 0.43.2_1
jq: 1.8.0 -> 1.8.1
krb5: 1.21.3_1 -> 1.22
libinotify: 20240724_2 -> 20240724_3
libpfctl: 0.15 -> 0.16
libucl: 0.9.2_1 -> 0.9.2_2
lighttpd: 1.4.79 -> 1.4.81
nss: 3.113.1_1 -> 3.115
opnsense: 25.7 -> 25.7.2
opnsense-lang: 25.1.11 -> 25.7.2
opnsense-update: 25.7 -> 25.7.2
os-telegraf: 1.12.12_1 -> 1.12.13
os-wol: 2.5_1 -> 2.5_3
perl5: 5.40.2_2 -> 5.40.3_2
php83: 8.3.23 -> 8.3.24
php83-ctype: 8.3.23 -> 8.3.24
php83-curl: 8.3.23 -> 8.3.24
php83-dom: 8.3.23 -> 8.3.24
php83-filter: 8.3.23 -> 8.3.24
php83-gettext: 8.3.23 -> 8.3.24
php83-ldap: 8.3.23 -> 8.3.24
php83-mbstring: 8.3.23 -> 8.3.24
php83-pcntl: 8.3.23 -> 8.3.24
php83-pdo: 8.3.23 -> 8.3.24
php83-session: 8.3.23 -> 8.3.24
php83-simplexml: 8.3.23 -> 8.3.24
php83-sockets: 8.3.23 -> 8.3.24
php83-sqlite3: 8.3.23_1 -> 8.3.24
php83-xml: 8.3.23 -> 8.3.24
php83-zlib: 8.3.23 -> 8.3.24
py311-duckdb: 1.3.1_1 -> 1.3.2
py311-jq: 1.8.0_1 -> 1.10.0
py311-numpy: 1.26.4_6,1 -> 1.26.4_7,1
python311: 3.11.13 -> 3.11.13_1
sudo: 1.9.17p1 -> 1.9.17p2
syslog-ng: 4.8.2_3 -> 4.8.2_4
telegraf: 1.35.1 -> 1.35.3_1

Number of packages to be upgraded: 39

140 MiB to be downloaded.
[1/39] Fetching lighttpd-1.4.81.pkg: .......... done
[2/39] Fetching php83-filter-8.3.24.pkg: ... done
[3/39] Fetching opnsense-update-25.7.2.pkg: ..... done
[4/39] Fetching php83-curl-8.3.24.pkg: ...... done
[5/39] Fetching boost-libs-1.88.0_2.pkg: .......... done
[6/39] Fetching py311-numpy-1.26.4_7,1.pkg: .......... done
[7/39] Fetching nss-3.115.pkg: .......... done
[8/39] Fetching php83-ldap-8.3.24.pkg: ..... done
[9/39] Fetching jq-1.8.1.pkg: .......... done
[10/39] Fetching krb5-1.22.pkg: .......... done
[11/39] Fetching php83-simplexml-8.3.24.pkg: .... done
[12/39] Fetching php83-pdo-8.3.24.pkg: ....... done
[13/39] Fetching syslog-ng-4.8.2_4.pkg: .......... done
[14/39] Fetching php83-sockets-8.3.24.pkg: ...... done
[15/39] Fetching py311-jq-1.10.0.pkg: ....... done
[16/39] Fetching php83-pcntl-8.3.24.pkg: ... done
[17/39] Fetching php83-sqlite3-8.3.24.pkg: .... done
[18/39] Fetching python311-3.11.13_1.pkg: .......... done
[19/39] Fetching libinotify-20240724_3.pkg: .... done
[20/39] Fetching ivykis-0.43.2_1.pkg: .......... done
[21/39] Fetching php83-session-8.3.24.pkg: ..... done
[22/39] Fetching php83-mbstring-8.3.24.pkg: .......... done
[23/39] Fetching php83-gettext-8.3.24.pkg: . done
[24/39] Fetching telegraf-1.35.3_1.pkg: .......... done
[25/39] Fetching php83-zlib-8.3.24.pkg: ... done
[26/39] Fetching os-wol-2.5_3.pkg: . done
[27/39] Fetching php83-ctype-8.3.24.pkg: . done
[28/39] Fetching curl-8.15.0.pkg: .......... done
[29/39] Fetching php83-8.3.24.pkg: .......... done
[30/39] Fetching os-telegraf-1.12.13.pkg: .. done
[31/39] Fetching libpfctl-0.16.pkg: .. done
[32/39] Fetching php83-xml-8.3.24.pkg: ... done
[33/39] Fetching php83-dom-8.3.24.pkg: .......... done
[34/39] Fetching libucl-0.9.2_2.pkg: .......... done
[35/39] Fetching perl5-5.40.3_2.pkg: .......... done
[36/39] Fetching opnsense-25.7.2.pkg: .......... done
[37/39] Fetching py311-duckdb-1.3.2.pkg: .......... done
[38/39] Fetching sudo-1.9.17p2.pkg: .......... done
[39/39] Fetching opnsense-lang-25.7.2.pkg: .......... done
Checking integrity... done (0 conflicting)
[1/39] Upgrading python311 from 3.11.13 to 3.11.13_1...
pkg-static: sqlite error while executing INSERT OR REPLACE INTO packages( origin, name, version, comment, desc, message, arch, maintainer, www, prefix, flatsize, automatic, licenselogic, time, manifestdigest, dep_formula, vital)VALUES( 'lang/python311', 'python311', '3.11.13_1', 'Interpreted object-oriented programming language', 'Python is an interpreted object-oriented programming language, and is
often compared to Tcl, Perl or Scheme.', '[{"message":"Note that some standard Python modules are provided as separate ports\nas they require additional dependencies. They are available as:\n\npy311-gdbm       databases/py-gdbm@py311\npy311-sqlite3    databases/py-sqlite3@py311\npy311-tkinter    x11-toolkits/py-tkinter@py311","type":"install"}]', 'FreeBSD:14:amd64', 'python@FreeBSD.org', 'https://www.python.org/', '/usr/local', 211048567, 1, 1, NOW(), '2$2$n7q3f14jmcorkwcqbzfescqd858unir8uqe7fgbc5qbpdqq4u3ccueyyeeytcup49a9efi9etmg3earnbrunefij6uzjd9bp65hxfkb', NULL, 0 ) in file pkgdb.c:1633: database disk image is malformed
Starting web GUI...done.
***DONE***


Is any more details needed?
Can I somehow correct that db, or what is the cause of this?

seems like the db is corrupt, can we fix it or will this be fixed upstream?

Corrupt local package db is a local issue and can only be amended by opnsense-bootstrap.

But I am guessing this is a systemic issue that could be related to N100 hardware...


Cheers,
Franco

Hi Franco,

So what are we supposed to do?

I see other people having the same issue, so there seems to be something broken.

Can we fix the db or examine this further?

Make a backup of your config.xml and attempt to run a bootstrap:

# opnsense-bootstrap

> I see other people having the same issue

True, which clusters around N100.

To stress this:

"pkg-static: Fail to set time on /usr/local/include/python3.11/.pkgtemp.ceval.h.4FtuqDzVA0Ss:No such file or directory"

There is no fix for this in our core code. The package manager asked for the file to change but the file system said no. It could be the disk, the kernel, the hardware, but it's not a single pkg-update call.

You can see this issue in FreeBSD and even pfSense, e.g. https://forums.freebsd.org/threads/issue-updating-pkg-shared-mime-info-2-0.83736/


Cheers,
Franco


Warning to anyone here, using opnsense-bootstrap renders the running installation unusable and manual reinstall is neccessary:

root@OPNsense:/home/tobias # sh opnsense-bootstrap.sh.in
Must specify an OPNsense release.
root@OPNsense:/home/tobias # sh opnsense-bootstrap.sh.in -r 25.7
This utility will attempt to turn this installation into the latest
OPNsense 25.7 release.  All packages will be deleted, the base
system and kernel will be replaced, and if all went well the system
will automatically reboot.

Proceed with this action? [y/N]: y
fetch: https://github.com/opnsense/core/archive/stable/25.7.tar.gz: size of remote file is not known
/tmp/opnsense-bootstrap/core.tar.gz                     11 MB 3878 kBps    03s
pkg: 163 packages installed
beep-1.0_2: already unlocked
boost-libs-1.88.0_1: already unlocked
brotli-1.1.0,1: already unlocked
ca_root_nss-3.115: already unlocked
choparp-20150613_1: already unlocked
cpdup-1.22_1: already unlocked
cpustats-0.1: already unlocked
curl-8.14.1: already unlocked
cyrus-sasl-2.1.28_5: already unlocked
cyrus-sasl-gssapi-2.1.28: already unlocked
dhcp6c-20250513: already unlocked
dhcrelay-1.0: already unlocked
dmidecode-3.6: already unlocked
dnsmasq-2.91_1,1: already unlocked
dpinger-3.3: already unlocked
easy-rsa-3.2.3,1: already unlocked
expat-2.7.1: already unlocked
filterlog-0.7_1: already unlocked
flock-2.37.2_1: already unlocked
flowd-0.9.1_5: already unlocked
gettext-runtime-0.23.1: already unlocked
glib-2.84.1_3,2: already unlocked
gmp-6.3.0: already unlocked
hostapd-2.11_3: already unlocked
hyperscan-5.4.2: already unlocked
icu-76.1,1: already unlocked
ifinfo-13.0_1: already unlocked
iftop-1.0.p4_1: already unlocked
indexinfo-0.3.1_1: already unlocked
isc-dhcp44-server-4.4.3P1_2: already unlocked
ivykis-0.43.2: already unlocked
jansson-2.14.1: already unlocked
jq-1.8.0: already unlocked
json-c-0.18: already unlocked
kea-2.6.3_1: already unlocked
krb5-1.21.3_1: already unlocked
ldns-1.8.4: already unlocked
libargon2-20190702_1: already unlocked
libcbor-0.12.0_2: already unlocked
libedit-3.1.20250104,1: already unlocked
libevent-2.1.12: already unlocked
libffi-3.5.1: already unlocked
libfido2-1.16.0: already unlocked
libiconv-1.17_1: already unlocked
libidn2-2.3.8: already unlocked
libinotify-20240724_2: already unlocked
libltdl-2.5.4: already unlocked
liblz4-1.10.0,1: already unlocked
libmcrypt-2.5.8_4: already unlocked
libnet-1.3,1: already unlocked
libnghttp2-1.66.0: already unlocked
libpfctl-0.15: already unlocked
libpsl-0.21.5_2: already unlocked
libsodium-1.0.19: already unlocked
libucl-0.9.2_1: already unlocked
libunistring-1.3: already unlocked
libuuid-2.41.1_1: already unlocked
libxml2-2.14.5: already unlocked
libyaml-0.2.5: already unlocked
lighttpd-1.4.79: already unlocked
log4cplus-2.1.2: already unlocked
lua54-5.4.8: already unlocked
lzo2-2.10_1: already unlocked
monit-5.35.2: already unlocked
mpd5-5.9_19: already unlocked
mpdecimal-4.0.1: already unlocked
nano-8.4: already unlocked
nettle-3.10.2: already unlocked
nspr-4.37: already unlocked
ntp-4.2.8p18_4: already unlocked
oniguruma-6.9.10: already unlocked
openldap26-client-2.6.10: already unlocked
openssh-portable-10.0.p1_1,1: already unlocked
openssl-3.0.17,1: already unlocked
openvpn-2.6.14: already unlocked
opnsense-installer-25.1: already unlocked
opnsense-lang-25.1.11: already unlocked
opnsense-update-25.7: already unlocked
os-dmidecode-1.2: already unlocked
os-telegraf-1.12.12_1: already unlocked
os-theme-rebellion-1.9.3: already unlocked
os-wol-2.5_1: already unlocked
p5-Error-0.17030: already unlocked
pam_opnsense-24.1: already unlocked
pcre2-10.45_1: already unlocked
perl5-5.40.2_2: already unlocked
pftop-0.13: already unlocked
php83-8.3.23: already unlocked
php83-ctype-8.3.23: already unlocked
php83-dom-8.3.23: already unlocked
php83-filter-8.3.23: already unlocked
php83-gettext-8.3.23: already unlocked
php83-mbstring-8.3.23: already unlocked
php83-pcntl-8.3.23: already unlocked
php83-pdo-8.3.23: already unlocked
php83-pear-1.10.13: already unlocked
php83-pecl-mcrypt-1.0.7: already unlocked
php83-pecl-radius-1.4.0b1_3: already unlocked
php83-phalcon-5.9.3: already unlocked
php83-phpseclib-3.0.46: already unlocked
php83-session-8.3.23: already unlocked
php83-simplexml-8.3.23: already unlocked
php83-sockets-8.3.23: already unlocked
php83-xml-8.3.23: already unlocked
php83-zlib-8.3.23: already unlocked
pkcs11-helper-1.29.0_3: already unlocked
pkg-1.19.2_5: already unlocked
py311-Babel-2.17.0_1: already unlocked
py311-Jinja2-3.1.6: already unlocked
py311-anyio-4.9.0: already unlocked
py311-async_generator-1.10_1: already unlocked
py311-attrs-25.3.0: already unlocked
py311-bottleneck-1.3.8_1: already unlocked
py311-certifi-2025.7.14: already unlocked
py311-cffi-1.17.1: already unlocked
py311-charset-normalizer-3.4.2: already unlocked
py311-h11-0.16.0: already unlocked
py311-h2-4.1.0_1: already unlocked
py311-hpack-4.0.0_1: already unlocked
py311-hyperframe-6.0.0_1: already unlocked
py311-idna-3.10: already unlocked
py311-ldap3-2.9.1_1: already unlocked
py311-markupsafe-3.0.2: already unlocked
py311-netaddr-1.3.0: already unlocked
py311-numexpr-2.11.0: already unlocked
py311-numpy-1.26.4_6,1: already unlocked
py311-outcome-1.3.0_2: already unlocked
py311-packaging-25.0: already unlocked
py311-pyasn1-0.6.0: already unlocked
py311-pyasn1-modules-0.4.1: already unlocked
py311-pycparser-2.22: already unlocked
py311-pylsqpack-0.3.22: already unlocked
py311-pysocks-1.7.1_1: already unlocked
py311-python-dateutil-2.9.0: already unlocked
py311-pytz-2025.2_1,1: already unlocked
py311-pyyaml-6.0.1_1: already unlocked
py311-requests-2.32.4: already unlocked
py311-six-1.17.0: already unlocked
py311-sniffio-1.3.1: already unlocked
py311-socksio-1.0.0_1: already unlocked
py311-sortedcontainers-2.4.0_1: already unlocked
py311-trio-0.30.0: already unlocked
py311-truststore-0.10.1: already unlocked
py311-typing-extensions-4.14.1: already unlocked
py311-tzdata-2025.2: already unlocked
py311-ujson-5.10.0_1: already unlocked
py311-urllib3-1.26.20,1: already unlocked
py311-vici-5.9.11_1: already unlocked
python311-3.11.13: already unlocked
radvd-2.20: already unlocked
readline-8.2.13_2: already unlocked
rrdtool-1.9.0_1: already unlocked
samplicator-1.3.8.r1_1: already unlocked
strongswan-5.9.14: already unlocked
sudo-1.9.17p1: already unlocked
syslog-ng-4.8.2_3: already unlocked
tailscale-1.86.4: already unlocked
telegraf-1.35.1: already unlocked
unbound-1.23.1: already unlocked
wol-0.7.1_5: already unlocked
wpa_supplicant-2.11_5: already unlocked
zip-3.0_4: already unlocked
zstd-1.5.7: already unlocked
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 163 packages (of 0 packages in the universe):

Installed packages to be REMOVED:
        beep: 1.0_2
        boost-libs: 1.88.0_1
        brotli: 1.1.0,1
        ca_root_nss: 3.115
        choparp: 20150613_1
        cpdup: 1.22_1
        cpustats: 0.1
        curl: 8.14.1
        cyrus-sasl: 2.1.28_5
        cyrus-sasl-gssapi: 2.1.28
        dhcp6c: 20250513
        dhcrelay: 1.0
        dmidecode: 3.6
        dnsmasq: 2.91_1,1
        dpinger: 3.3
        easy-rsa: 3.2.3,1
        expat: 2.7.1
        filterlog: 0.7_1
        flock: 2.37.2_1
        flowd: 0.9.1_5
        gettext-runtime: 0.23.1
        glib: 2.84.1_3,2
        gmp: 6.3.0
        hostapd: 2.11_3
        hyperscan: 5.4.2
        icu: 76.1,1
        ifinfo: 13.0_1
        iftop: 1.0.p4_1
        indexinfo: 0.3.1_1
        isc-dhcp44-server: 4.4.3P1_2
        ivykis: 0.43.2
        jansson: 2.14.1
        jq: 1.8.0
        json-c: 0.18
        kea: 2.6.3_1
        krb5: 1.21.3_1
        ldns: 1.8.4
        libargon2: 20190702_1
        libcbor: 0.12.0_2
        libedit: 3.1.20250104,1
        libevent: 2.1.12
        libffi: 3.5.1
        libfido2: 1.16.0
        libiconv: 1.17_1
        libidn2: 2.3.8
        libinotify: 20240724_2
        libltdl: 2.5.4
        liblz4: 1.10.0,1
        libmcrypt: 2.5.8_4
        libnet: 1.3,1
        libnghttp2: 1.66.0
        libpfctl: 0.15
        libpsl: 0.21.5_2
        libsodium: 1.0.19
        libucl: 0.9.2_1
        libunistring: 1.3
        libuuid: 2.41.1_1
        libxml2: 2.14.5
        libyaml: 0.2.5
        lighttpd: 1.4.79
        log4cplus: 2.1.2
        lua54: 5.4.8
        lzo2: 2.10_1
        monit: 5.35.2
        mpd5: 5.9_19
        mpdecimal: 4.0.1
        nano: 8.4
        nettle: 3.10.2
        nspr: 4.37
        ntp: 4.2.8p18_4
        oniguruma: 6.9.10
        openldap26-client: 2.6.10
        openssh-portable: 10.0.p1_1,1
        openssl: 3.0.17,1
        openvpn: 2.6.14
        opnsense-installer: 25.1
        opnsense-lang: 25.1.11
        opnsense-update: 25.7
        os-dmidecode: 1.2
        os-telegraf: 1.12.12_1
        os-theme-rebellion: 1.9.3
        os-wol: 2.5_1
        p5-Error: 0.17030
        pam_opnsense: 24.1
        pcre2: 10.45_1
        perl5: 5.40.2_2
        pftop: 0.13
        php83: 8.3.23
        php83-ctype: 8.3.23
        php83-dom: 8.3.23
        php83-filter: 8.3.23
        php83-gettext: 8.3.23
        php83-mbstring: 8.3.23
        php83-pcntl: 8.3.23
        php83-pdo: 8.3.23
        php83-pear: 1.10.13
        php83-pecl-mcrypt: 1.0.7
        php83-pecl-radius: 1.4.0b1_3
        php83-phalcon: 5.9.3
        php83-phpseclib: 3.0.46
        php83-session: 8.3.23
        php83-simplexml: 8.3.23
        php83-sockets: 8.3.23
        php83-xml: 8.3.23
        php83-zlib: 8.3.23
        pkcs11-helper: 1.29.0_3
        pkg: 1.19.2_5
        py311-Babel: 2.17.0_1
        py311-Jinja2: 3.1.6
        py311-anyio: 4.9.0
        py311-async_generator: 1.10_1
        py311-attrs: 25.3.0
        py311-bottleneck: 1.3.8_1
        py311-certifi: 2025.7.14
        py311-cffi: 1.17.1
        py311-charset-normalizer: 3.4.2
        py311-h11: 0.16.0
        py311-h2: 4.1.0_1
        py311-hpack: 4.0.0_1
        py311-hyperframe: 6.0.0_1
        py311-idna: 3.10
        py311-ldap3: 2.9.1_1
        py311-markupsafe: 3.0.2
        py311-netaddr: 1.3.0
        py311-numexpr: 2.11.0
        py311-numpy: 1.26.4_6,1
        py311-outcome: 1.3.0_2
        py311-packaging: 25.0
        py311-pyasn1: 0.6.0
        py311-pyasn1-modules: 0.4.1
        py311-pycparser: 2.22
        py311-pylsqpack: 0.3.22
        py311-pysocks: 1.7.1_1
        py311-python-dateutil: 2.9.0
        py311-pytz: 2025.2_1,1
        py311-pyyaml: 6.0.1_1
        py311-requests: 2.32.4
        py311-six: 1.17.0
        py311-sniffio: 1.3.1
        py311-socksio: 1.0.0_1
        py311-sortedcontainers: 2.4.0_1
        py311-trio: 0.30.0
        py311-truststore: 0.10.1
        py311-typing-extensions: 4.14.1
        py311-tzdata: 2025.2
        py311-ujson: 5.10.0_1
        py311-urllib3: 1.26.20,1
        py311-vici: 5.9.11_1
        python311: 3.11.13
        radvd: 2.20
        readline: 8.2.13_2
        rrdtool: 1.9.0_1
        samplicator: 1.3.8.r1_1
        strongswan: 5.9.14
        sudo: 1.9.17p1
        syslog-ng: 4.8.2_3
        tailscale: 1.86.4
        telegraf: 1.35.1
        unbound: 1.23.1
        wol: 0.7.1_5
        wpa_supplicant: 2.11_5
        zip: 3.0_4
        zstd: 1.5.7

Number of packages to be removed: 163

The operation will free 1 GiB.
[1/163] Deinstalling rrdtool-1.9.0_1...
[1/163] Deleting files for rrdtool-1.9.0_1:   0%
rrdtool-1.9.0_1: missing file /usr/local/bin/rrdcached
[1/163] Deleting files for rrdtool-1.9.0_1:   4%
rrdtool-1.9.0_1: missing file /usr/local/bin/rrdcreate
[1/163] Deleting files for rrdtool-1.9.0_1:   8%
rrdtool-1.9.0_1: missing file /usr/local/bin/rrdinfo
[1/163] Deleting files for rrdtool-1.9.0_1:  12%
rrdtool-1.9.0_1: missing file /usr/local/bin/rrdtool
[1/163] Deleting files for rrdtool-1.9.0_1:  16%
rrdtool-1.9.0_1: missing file /usr/local/bin/rrdupdate
[1/163] Deleting files for rrdtool-1.9.0_1:  20%
rrdtool-1.9.0_1: missing file /usr/local/etc/rc.d/rrdcached
[1/163] Deleting files for rrdtool-1.9.0_1:  25%
rrdtool-1.9.0_1: missing file /usr/local/include/rrd.h
[1/163] Deleting files for rrdtool-1.9.0_1:  29%
rrdtool-1.9.0_1: missing file /usr/local/include/rrd_client.h
[1/163] Deleting files for rrdtool-1.9.0_1:  33%
rrdtool-1.9.0_1: missing file /usr/local/include/rrd_format.h
[1/163] Deleting files for rrdtool-1.9.0_1:  37%
rrdtool-1.9.0_1: missing file /usr/local/lib/librrd.a
[1/163] Deleting files for rrdtool-1.9.0_1:  41%
rrdtool-1.9.0_1: missing file /usr/local/lib/librrd.so
[1/163] Deleting files for rrdtool-1.9.0_1:  45%
rrdtool-1.9.0_1: missing file /usr/local/lib/librrd.so.8
[1/163] Deleting files for rrdtool-1.9.0_1:  50%
rrdtool-1.9.0_1: missing file /usr/local/lib/librrd.so.8.3.0
[1/163] Deleting files for rrdtool-1.9.0_1:  54%
rrdtool-1.9.0_1: missing file /usr/local/lib/perl5/site_perl/RRDp.pm
[1/163] Deleting files for rrdtool-1.9.0_1:  58%
rrdtool-1.9.0_1: missing file /usr/local/lib/perl5/site_perl/mach/5.40/RRDs.pm
[1/163] Deleting files for rrdtool-1.9.0_1:  62%
rrdtool-1.9.0_1: missing file /usr/local/lib/perl5/site_perl/mach/5.40/auto/RRDp/.packlist
[1/163] Deleting files for rrdtool-1.9.0_1:  66%
rrdtool-1.9.0_1: missing file /usr/local/lib/perl5/site_perl/mach/5.40/auto/RRDs/.packlist
[1/163] Deleting files for rrdtool-1.9.0_1:  70%
rrdtool-1.9.0_1: missing file /usr/local/lib/perl5/site_perl/mach/5.40/auto/RRDs/RRDs.so
[1/163] Deleting files for rrdtool-1.9.0_1:  75%
rrdtool-1.9.0_1: missing file /usr/local/lib/perl5/site_perl/man/man3/RRDp.3.gz
[1/163] Deleting files for rrdtool-1.9.0_1:  79%
rrdtool-1.9.0_1: missing file /usr/local/lib/perl5/site_perl/man/man3/RRDs.3.gz
[1/163] Deleting files for rrdtool-1.9.0_1:  83%
rrdtool-1.9.0_1: missing file /usr/local/libdata/pkgconfig/librrd.pc
[1/163] Deleting files for rrdtool-1.9.0_1:  87%
rrdtool-1.9.0_1: missing file /usr/local/share/licenses/rrdtool-1.9.0_1/GPLv2
[1/163] Deleting files for rrdtool-1.9.0_1:  91%
rrdtool-1.9.0_1: missing file /usr/local/share/licenses/rrdtool-1.9.0_1/LICENSE
[1/163] Deleting files for rrdtool-1.9.0_1:  95%
rrdtool-1.9.0_1: missing file /usr/local/share/licenses/rrdtool-1.9.0_1/catalog.mk
[1/163] Deleting files for rrdtool-1.9.0_1: 100%
pkg: sqlite error while executing DELETE FROM packages WHERE id = 1508; in file pkgdb.c:2296: database disk image is malformed
root@OPNsense:/home/tobias #

I will now manually reinstall the machine via usb-stick