Hello,
While attempting to upgrade from 25.7 to 25.7.1 via web interface got the following error:
pkg-static: Fail to truncate file: /usr/local/include/boost/math/quadrature/detail/.pkgtemp.exp_sinh_detail.hpp.kP2zrwFlhKPB:Input/output error
tried to re-install from 25.7 then tried to upgrade again, every time the pkg attempting to upgrade boost the machine reboot by itself then error occurred. So for now stuck with v25.7.
Any suggestion or ideas on how to fix this or should i wait for the upgrade?
Thanks, Sam
Not that it helps you, but I've upgraded 4 OPNSense routers from 25.7 to 25.7.1 with no issues whatsoever.
Looks like a damaged inode. As a quick fix I move these to /tmp to avoid them causing more harm:
# mv /usr/local/include/boost/math/quadrature/detail/.pkgtemp.exp_sinh_detail.hpp.kP2zrwFlhKPB /tmp
Suffice to say this is a file system issue and should be dealt with accordingly.
Cheers,
Franco
I ran into this issue as well. System looked to reboot during the middle of the update. I did run the command Franco provided but it told me the file didn't exist. Now if I try to run the update again I get this output and its telling me there is no update available.
***GOT REQUEST TO CHECK FOR UPDATES***
Currently running OPNsense 25.7 (amd64) at Thu Jul 31 13:49:26 CDT 2025
Fetching changelog information, please wait... done
Updating OPNsense repository catalogue...
Waiting for another process to update repository OPNsense
All repositories are up to date.
Checking integrity... done (0 conflicting)
Your packages are up to date.
Checking for upgrades (12 candidates): .......... done
Processing candidates (12 candidates): .......... done
Checking integrity...Assertion failed: (strcmp(uid, p->uid) != 0), function pkg_conflicts_check_local_path, file pkg_jobs_conflicts.c, line 315.
Child process pid=18275 terminated abnormally: Abort trap
***DONE***
I got this fixed by replacing the drive (spare nvme in my case, the old one might be corrupted), do a fresh install of 25.7 (now using zfs instead of ufs), after that restoring backup config, then upgrade to 25.7.1. Currently working fine.
I did a fresh install with 25.7 and upgraded to 25.7.1. Then restored my backup. Seems to be working now. Also used ZFS and it could just be me but seems quicker. Hopefully it isn't a bad hard drive that actually caused this.
@jxxaxxy not the same issue. In your case the package manager database was trashed. Reinstall works, or running opnsense-bootstrap.
Cheers,
Franco