OPNsense Forum

English Forums => 26.7 Series => Topic started by: firefart on July 22, 2026, 12:03:20 AM

Title: Error on upgrading - pkg-static: wrong architecture
Post by: firefart on July 22, 2026, 12:03:20 AM
I just tried upgrading 26.1.11 to 26.7 and after the reboot it fails and falls back to 26.1.11. I tried restoring a backup and running the whole process again, same error.

Logs:
root@opnsense:~ # opnsense-update -gG
***GOT REQUEST TO UPGRADE***
Currently running OPNsense 26.1.11_10 (amd64) at Tue Jul 21 23:52:06 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... done
Extracting packages-26.7-amd64.tar... done
Extracting base-26.7-amd64.txz... done
Extracting kernel-26.7-amd64.txz... done
Please reboot.
>>> Invoking upgrade script 'sanity.sh'
Passed all upgrade tests.
!!!!!!!!!!!! ATTENTION !!!!!!!!!!!!!!!
! A critical upgrade is in progress. !
! Please do not turn off the system. !
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Installing kernel-26.7-amd64.txz... done
***REBOOT***
Updating OPNsense repository catalogue...
pkg-static: Repository OPNsense has a wrong packagesite, need to re-create database
Fetching meta.conf: . done
Fetching data.pkg: .......... done
Processing entries:
pkg-static: wrong architecture: FreeBSD:15:amd64 instead of FreeBSD:14:amd64
pkg-static: repository OPNsense contains packages with wrong ABI: FreeBSD:15:amd64
Processing entries...
Unable to update repository OPNsense
Error updating repositories!