Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
24.7 Production Series
»
Update issue after updating zo 27.7
« previous
next »
Print
Pages: [
1
]
Author
Topic: Update issue after updating zo 27.7 (Read 858 times)
greaman
Newbie
Posts: 6
Karma: 1
Update issue after updating zo 27.7
«
on:
July 30, 2024, 06:30:06 am »
Good morning, seems the update in my remote opnsense didn't complete properly as the status says
OPNsense 24.1.10_8-amd64
FreeBSD 14.1-RELEASE-p2
OpenSSL 3.0.14
The kernel however seems to be on 24.7 already
root@insharam:~ # uname -a
FreeBSD insharam 14.1-RELEASE-p2 FreeBSD 14.1-RELEASE-p2 stable/24.7-n267758-4ad7ad40bc77 SMP amd64
when I try to update it can't find the version on the mirror and I get a warning
pkg: Warning: Major OS version upgrade detected. Running "pkg bootstrap -f" recommended
pkg: Repository OPNsense has a wrong packagesite, need to re-create database
pkg: Repository OPNsense cannot be opened. 'pkg update' required
I have tried a ppg update/pkg bootstrap and seeting the packagesite via ENV - no joy so far. Anything I could still try except for driving there and reinstall/update?
Update:
found this thread
https://forum.opnsense.org/index.php?topic=27062.msg131362#msg131362
opnsense-update -pA 24.7 seemed to have done the trick
«
Last Edit: July 30, 2024, 06:42:47 am by greaman
»
Logged
franco
Administrator
Hero Member
Posts: 17657
Karma: 1611
Re: Update issue after updating zo 27.7
«
Reply #1 on:
July 30, 2024, 07:26:27 am »
Ok, second report. I'm not sure why it refused to install the packages set the first time since you clearly landed on 24.7 for both base and kernel. Disk space low maybe?
Cheers,
Franco
Logged
Simon42
Newbie
Posts: 12
Karma: 0
Re: Update issue after updating zo 27.7
«
Reply #2 on:
August 17, 2024, 11:22:41 pm »
Hi,
I updated 3 opnsense vms today as well and experienced this issue on 1 of them.
I don't know if it's just a coincidence, but the one that broke is using zfs (other 2 still use ufs).
Fixed it using:
- opnsense-update -sn "24\.7\/latest"
- pkg update
- opnsense-update -pA 24.7
PS:
were at something like 24.1.6 before (don't remember the exact version)
update to 24.1.10 went through without issues
then proceeded with the update to 24.7
nothing reproduceable, just sharing some thinking to try and help track this down:
maybe something related to the recent zsh over ufs / zfs installer script changes?
@greaman do you use zsf or ufs?
«
Last Edit: August 17, 2024, 11:26:19 pm by Simon42
»
Logged
franco
Administrator
Hero Member
Posts: 17657
Karma: 1611
Re: Update issue after updating zo 27.7
«
Reply #3 on:
August 20, 2024, 02:52:26 pm »
> opnsense-update -pA 24.7
Should be all you need give that it does the same as the other two commands you posted before it.
From what I've seen this is due to
(1) pkg-upgrade leaving temporary files behind that it trips over on the next call, or
(2) "opnsense" core package not installed due to package manager database corruption.
I've worked on both problems for 24.7.2 but we'll only really see after 25.1 is out...
FWIW, I don't think anything really changed there over the years.
Cheers,
Franco
Logged
Simon42
Newbie
Posts: 12
Karma: 0
Re: Update issue after updating zo 27.7
«
Reply #4 on:
September 05, 2024, 08:24:12 pm »
Ok, thanks for the information.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
24.7 Production Series
»
Update issue after updating zo 27.7