Hi all,
I don't know what happened here...
I cannot update my main firewall anymore.
Apparently, some python test files seem to be corrupt.
I'm running a small ha cluster with two vms at home. It's been working for about three years now, updating my opnsenses frequently.
***GOT REQUEST TO UPDATE***
Currently running OPNsense 26.7.10p1 (amd64) at Mon Nov 30 18:00:20 CET 2026
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 (105 candidates): .......... done
Processing candidates (105 candidates): . done
Checking integrity... done (0 conflicting)
Your packages are up to date.
Checking integrity... done (0 conflicting)
Nothing to do.
Checking all packages: .......... done
The following package files will be deleted:
/var/cache/pkg/python313-3.13.18.pkg
/var/cache/pkg/python313-3.13.18~2$xu4mwbak.pkg
The cleanup will free 39 MiB
Deleting files: .. done
Nothing to do.
Flushing temporary package files...find: /usr/local/lib/python3.13/test/test_scope.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_setcomps.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_readline.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_sax.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_queue.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_regrtest.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_shutil.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_smtplib.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_secrets.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_runpy.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_pyrepl/test_windows_console.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_site.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_repl.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_range.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_robotparser.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_set.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_quopri.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_reprlib.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_richcmp.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_script_helper.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_select.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_random.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_shlex.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_rlcompleter.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_raise.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_sched.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_resource.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_signal.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_shelve.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_re.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_selectors.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_slice.py: Integrity check failed
Starting web GUI...done.
Partial update failure detected: report this error log to OPNsense.
No further actions will be taken. Please restart the update now.
***DONE***
I talked to copilot, checked a few things regarding zfs integrity, reinstalled python, did a zfs scrub (zpool scrub zroot) which showed 1 error but did not fix it. Copilot suggested restoring a backup, which I'm not too happy about. I have them, but it's gonna be a few hours to restore everything.
Any ideas what I could do here?
Thanks a lot in advance
Momro
Quote from: Mombro on November 30, 2026, 06:03:20 PMApparently, some python test files seem to be corrupt.
Flushing temporary package files...find: /usr/local/lib/python3.13/test/test_scope.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_setcomps.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_readline.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_sax.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_queue.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_regrtest.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_shutil.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_smtplib.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_secrets.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_runpy.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_pyrepl/test_windows_console.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_site.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_repl.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_range.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_robotparser.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_set.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_quopri.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_reprlib.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_richcmp.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_script_helper.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_select.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_random.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_shlex.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_rlcompleter.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_raise.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_sched.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_resource.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_signal.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_shelve.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_re.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_selectors.py: Integrity check failed
find: /usr/local/lib/python3.13/test/test_slice.py: Integrity check failed
Can't you manually download those files and replace them ?!
Quotedid a zfs scrub (zpool scrub zroot) which showed 1 error but did not fix it.
What was the error exactly ?
QuoteCopilot suggested restoring a backup, which I'm not too happy about. I have them, but it's gonna be a few hours to restore everything.
Don't you have snapshots of the VM or ZFS snapshots made by OPNsense ?!
QuoteAny ideas what I could do here?
- Backup your config.xml
- Reinstall OPNsense
- Restore config.xml
Seems to be the only thing left to do...
Run a SMART long selftest on your disk/SSD.