[SOLVED] New Install Will Not Update Past 24.1

Started by deltatech, July 08, 2024, 07:48:11 PM

Previous topic - Next topic
You can disable IPv6 on the WAN interface and also in Firewall - Advanced.

Reinstalling should not be required, simply installing the opnsense package and then checking for updates should suffice. You can post here the full output from both commands just to be sure.

If all goes well, post reboot do another healthcheck just to be extra safe.

I have a similar issue.

I proceeded with a series of updates on an old install and I am now stuck on the system trying to get:

http://pkg.opnsense.org/FreeBSD:14:amd64/24.1/sets/changelog.txz

which does not exist.

However
://pkg.opnsense.org/FreeBSD:13:amd64/24.1/sets/changelog.txz

exists.

The question is:
- Is that useable?
- How to force to get that file?

July 30, 2024, 04:15:53 PM #17 Last Edit: July 30, 2024, 04:23:04 PM by le_top
I have a similar issue.

I proceeded with a series of updates on an old install and I am now stuck on the system trying to get:

http://pkg.opnsense.org/FreeBSD:14:amd64/24.1/sets/changelog.txz

which does not exist.

However
http://pkg.opnsense.org/FreeBSD:13:amd64/24.1/sets/changelog.txz

exists.

The question is:
- Is that useable?
- How to force to get that file?

Quote
***GOT REQUEST TO CHECK FOR UPDATES***
Currently running OPNsense 24.1.10_8 at Tue Jul 30 16:04:03 CEST 2024
Fetching changelog information, please wait... fetch: https://pkg.opnsense.org/FreeBSD:14:amd64/24.1/sets/changelog.txz: Not Found
Updating OPNsense repository catalogue...
pkg: Repository OPNsense has a wrong packagesite, need to re-create database
pkg: https://pkg.opnsense.org/FreeBSD:14:amd64/24.1/latest/meta.txz: Not Found
repository OPNsense has no meta file, using default settings
pkg: https://pkg.opnsense.org/FreeBSD:14:amd64/24.1/latest/packagesite.pkg: Not Found
pkg: https://pkg.opnsense.org/FreeBSD:14:amd64/24.1/latest/packagesite.txz: Not Found
Unable to update repository OPNsense
Error updating repositories!
pkg: Repository OPNsense has a wrong packagesite, need to re-create database
pkg: Repository OPNsense cannot be opened. 'pkg update' required
Checking integrity... done (0 conflicting)
Your packages are up to date.
***DONE***

You somehow managed to update your system to FreeBSD 14 while staying at OPNsense 24.1 or below. That's why the URL is not found. 24.1 is built on FreeBSD 13.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Oh we have another one... at least these days we know this helps:

# opnsense-update -pA 24.7


Cheers,
Franco

Thank you both for your quick replies.

"opnsense-update -pA 24.7" does partially work, I stumble on another error:

===> Pre-installation configuration for squid-6.10
[6/8] Extracting squid-6.10:  79%
pkg-static: Fail to set time on /usr/local/sbin/.pkgtemp.squid.8Gwysv47Hapu:No such file or directory
[6/8] Extracting squid-6.10: 100%


Thay maybe why the system updated to a newer OS version, but not the corresponding OPNsense version.  I've been performing the updates from the WEBUI previously.

EDIT:
Calling upon "opnsense-update -pA 24.7" a second time fixes the issue.

> pkg-static: Fail to set time on /usr/local/sbin/.pkgtemp.squid.8Gwysv47Hapu:No such file or directory

Ok, could have been the reason why the installation failed during the actual 24.7 upgrade. I'll think about it.


Cheers,
Franco