Invalid argument errors while trying to upgrade from 26.1.11 to 26.7

Started by Shad, October 22, 2026, 08:23:23 PM

Previous topic - Next topic
Hello guys,

Following the php2shell crisis, I tried to upgrade to 26.7.
For some reasons, I got the failed signature error while fetching the new packages.
I read that changing mirrors could help, but ended out with another error :

***GOT REQUEST TO UPGRADE***
Currently running OPNsense 26.1.11_10 (amd64) at Thu Oct 22 20:13:25 CEST 2026
Fetching packages-26.7-amd64.tar: ............................................................................. done
Fetching base-26.7-amd64.txz: .... done
Fetching kernel-26.7-amd64.txz: ... done
Flushing temporary package files...find: /usr/local/include/boost/thread/is_locked_by_this_thread.hpp: Invalid argument
find: /usr/local/include/boost/thread/interruption.hpp: Invalid argument
find: /usr/local/include/boost/thread/future.hpp: Invalid argument
find: /usr/local/include/boost/thread/externally_locked_stream.hpp: Invalid argument
find: /usr/local/include/boost/thread/externally_locked.hpp: Invalid argument
find: /usr/local/include/boost/thread/executors/work.hpp: Invalid argument
find: /usr/local/include/boost/thread/executors/thread_executor.hpp: Invalid argument
find: /usr/local/include/boost/thread/executors/serial_executor_cont.hpp: Invalid argument
***DONE***

I then ran an health audit, and got this as a result :

***GOT REQUEST TO AUDIT HEALTH***
Currently running OPNsense 26.1.11_10 (amd64) at Thu Oct 22 20:19:17 CEST 2026
>>> Root file system: /dev/ada0p2
>>> Check installed kernel version
Version 26.1.11 is correct.
>>> Check for missing or altered kernel files
No problems detected.
>>> Check installed base version
Version 26.1.11 is correct.
>>> Check for missing or altered base files
Error 2 occurred.
usr/bin/lldb:
sha256digest (0x9afbd73a548f72d1271c9c3625905d2843009fd594127adb5bbadf8bbecc6f4b, 0xac0dde3bbcfc81ba2c0d5cd11f112b0976f0c18185e438c7db9654d4b38d03cd)
>>> Check installed repositories
OPNsense (Priority: 11)
>>> Check installed plugins
os-apcupsd 1.2_3
os-ddclient 1.31_1
os-gdrive-backup 1.0_1
os-isc-dhcp 1.0_6
os-mdns-repeater 1.2
os-nut 1.9_1
>>> Check locked packages
No locks found.
>>> Check for missing package dependencies
Checking all packages: .......... done
>>> Check for missing or altered package files
Checking all packages:
boost-libs-1.89.0_2: checksum mismatch for /usr/local/include/boost/phoenix/scope/detail/cpp03/preprocessed/lambda_40.hpp
boost-libs-1.89.0_2: checksum mismatch for /usr/local/include/boost/thread/executors/serial_executor_cont.hpp
boost-libs-1.89.0_2: checksum mismatch for /usr/local/include/boost/thread/executors/thread_executor.hpp
boost-libs-1.89.0_2: checksum mismatch for /usr/local/include/boost/thread/executors/work.hpp
boost-libs-1.89.0_2: checksum mismatch for /usr/local/include/boost/thread/externally_locked.hpp
boost-libs-1.89.0_2: checksum mismatch for /usr/local/include/boost/thread/externally_locked_stream.hpp
boost-libs-1.89.0_2: checksum mismatch for /usr/local/include/boost/thread/future.hpp
boost-libs-1.89.0_2: checksum mismatch for /usr/local/include/boost/thread/interruption.hpp
boost-libs-1.89.0_2: checksum mismatch for /usr/local/include/boost/thread/is_locked_by_this_thread.hpp
Checking all packages..........
py313-botocore-1.43.14: checksum mismatch for /usr/local/lib/python3.13/site-packages/botocore/data/forecast/2018-06-26/service-2.json
Checking all packages...... done
>>> Check for core packages consistency
Core package "opnsense" at 26.1.11_10 has 68 dependencies to check.
Checking packages: ..................................................................... done
***DONE***

AI tells me that there are .pkgtemp files that are locking the upgrade process and give me directions to follow, but I'd rather ask you guys before doing something stupid.

Any help would extremely valuable !

Hi,

First, back up your configuration.

Then, check disk/storage health:

-------------------------------------
df -h
dmesg | grep -iE 'ada0|error|fail|cam'
smartctl -a /dev/ada0
-------------------------------------

Reinstall only the two packages flagged by the health audit:

-----------------------------------------------------
pkg update
pkg install --force --reinstall boost-libs py313-botocore
---------------------------------------------------------

Retry the upgrade.

Afterwards, check:

--------------------------
opnsense-version
---------------------------

If it fails again, check:

-------------------------------------
smartctl -a /dev/ada0
dmesg | grep -iE 'ada0|error|fail|cam'
-------------------------------------


https://docs.opnsense.org/troubleshooting.html
https://docs.opnsense.org/manual/updates.html
Hardware: N5105 Intel Celeron  
                       OPNsense | Home Lab | Linux & Home Automation
                               "Secure the network, automate the rest."