OPNsense Forum

English Forums => 24.7, 24.10 Legacy Series => Topic started by: passeri on October 05, 2024, 03:47:21 AM

Title: Problem upgrading from 24.7.1 to 24.7.5
Post by: passeri on October 05, 2024, 03:47:21 AM
I have two routers running 24.7.5 happily. I have upgraded a newer (intended replacement) box from 24.1_10 to 24.7.1 but it wishes to go no further. Upgrade starts then produces the following message:
[1/53] Fetching php82-session-8.2.23.pkg: ..... done
pkg-static: cached package php82-session-8.2.23: missing or size mismatch, fetching from remote
[2/53] Fetching php82-session-8.2.23.pkg: ..... done
[2/53] Fetching php82-session-8.2.23.pkg: ..... done
pkg-static: cached package php82-session-8.2.23: missing or size mismatch, cannot continue
Consider running 'pkg update -f'


I duly tried pkg update -f to no avail; it simply said my packages were up to date:
Updating OPNsense repository catalogue...
Fetching meta.conf: 100%    163 B   0.2kB/s    00:01   
Fetching packagesite.pkg: 100%  240 KiB 246.0kB/s    00:01   
Processing entries: 100%
OPNsense repository update completed. 848 packages processed.
All repositories are up to date.


Including with a reboot, the GUI still shows 24.7.1 as would be expected after the error.

Preferably without doing a new installation from scratch, what should I check or how do I get past this please?
Title: Re: Problem upgrading from 24.7.1 to 24.7.5
Post by: newsense on October 05, 2024, 08:21:50 AM
Change the mirror, should be fine after
Title: Re: Problem upgrading from 24.7.1 to 24.7.5
Post by: passeri on October 05, 2024, 09:43:51 AM
Yes, that fixed it thank you newsense.