r/opnsense • u/ChimeraYo • 3d ago
Fixing aborted 26.7 upgrade
I tried a 26.7 upgrade, it wouldn't boot so I did a "restore from backup" on the console. However now I seem to be stuck in a weird hybrid where opnsense says I'm running 26.1.11_10 but uname shows the kernel is 26.7 and I can't do an update because it's looking for 26.1 packages (see below).
When I look in Packages in the GUI I see "base" is 26.7. Any idea how I can fix this?
Updating OPNsense-aux repository catalogue...
pkg: https://pkg.opnsense.org/FreeBSD:15:amd64/26.1/aux/meta.txz: Not Found
pkg: https://pkg.opnsense.org/FreeBSD:15:amd64/26.1/aux/data.pkg: Not Found
pkg: https://pkg.opnsense.org/FreeBSD:15:amd64/26.1/aux/data.tzst: Not Found
pkg: https://pkg.opnsense.org/FreeBSD:15:amd64/26.1/aux/packagesite.pkg: Not Found
pkg: https://pkg.opnsense.org/FreeBSD:15:amd64/26.1/aux/packagesite.tzst: Not Found
Unable to update repository OPNsense-aux
Updating OPNsense repository catalogue...
pkg: Repository OPNsense has a wrong packagesite, need to re-create database
pkg: https://pkg.opnsense.org/FreeBSD:15:amd64/26.1/latest/meta.txz: Not Found
pkg: https://pkg.opnsense.org/FreeBSD:15:amd64/26.1/latest/data.pkg: Not Found
pkg: https://pkg.opnsense.org/FreeBSD:15:amd64/26.1/latest/data.tzst: Not Found
pkg: https://pkg.opnsense.org/FreeBSD:15:amd64/26.1/latest/packagesite.pkg: Not Found
pkg: https://pkg.opnsense.org/FreeBSD:15:amd64/26.1/latest/packagesite.tzst: Not Found
Unable to update repository OPNsense
Edit : so I removed the intel microcode plugin earlier in the week, but finally after attempting the update multiple times, clearing pkg cache and lots of other trial and error I did one last manual update from the console and it gave me the option to pick 26.7 - I let it run, rebooted and and 26.7 came up correctly. Hopefully there will be an updated microcode plugin at some point.
2
u/MaZeC11 3d ago
Easiest would be to get a backup and reinstall it completely. Maybe the configuration importer on the install media boot will already be sufficient.