OPNsense Forum

Archive => 24.1, 24.4 Legacy Series => Topic started by: halpdesk on August 27, 2024, 03:41:57 PM

Title: Receiving an error when trying to upgrade OPNsense
Post by: halpdesk on August 27, 2024, 03:41:57 PM
When I click 'Update' in the system settings, I receive the following error accompanied by the logs below:

The release type "opnsense" is not available on this repository.

***GOT REQUEST TO CHECK FOR UPDATES***
Currently running OPNsense 24.1.10_8 at Tue Aug 27 09:40:02 EDT 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
Waiting for another process to update repository OPNsense
Updating mimugmail repository catalogue...
Fetching meta.conf: . done
Fetching packagesite.pkg: ........ done
Processing entries: .......... done
mimugmail repository update completed. 202 packages processed.
All repositories are up to date.
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.
pkg: Repository OPNsense has a wrong packagesite, need to re-create database
pkg: Repository OPNsense cannot be opened. 'pkg update' required


I've searched for this error and have tried as many solutions as possible (manually triggering updates from the command line, changing mirror, etc.) with no luck.

Is there something obvious I might be missing?
Title: Re: Receiving an error when trying to upgrade OPNsense
Post by: franco on August 27, 2024, 03:47:14 PM
# opnsense-update -p -A 24.7


Cheers,
Franco
Title: Re: Receiving an error when trying to upgrade OPNsense
Post by: halpdesk on August 28, 2024, 11:06:31 AM
This worked perfectly - almost wish I had just asked here first! Thanks!
Title: Re: Receiving an error when trying to upgrade OPNsense
Post by: franco on August 28, 2024, 12:03:32 PM
Ok great :)
Title: Re: Receiving an error when trying to upgrade OPNsense
Post by: scottandbothered on September 02, 2024, 03:12:46 PM
Quote from: franco on August 27, 2024, 03:47:14 PM
# opnsense-update -p -A 24.7


Cheers,
Franco

Perfect. I had the same error and was about to post a new thread. Thanks!
Title: Re: Receiving an error when trying to upgrade OPNsense
Post by: konatodiel on October 14, 2024, 06:23:00 PM
Hello

Same problem here but

# opnsense-update -p -A 24.7

return the error :

pkg-static: https://pkg.opnsense.org/FreeBSD:14:amd64/24.7/latest/packagesite.txz: Connection refused
Title: Re: Receiving an error when trying to upgrade OPNsense
Post by: konatodiel on October 14, 2024, 08:38:23 PM
Quote from: konatodiel on October 14, 2024, 06:23:00 PM
Hello

Same problem here but

# opnsense-update -p -A 24.7

return the error :

pkg-static: https://pkg.opnsense.org/FreeBSD:14:amd64/24.7/latest/packagesite.txz: Connection refused

And now it works ...
Title: Re: Receiving an error when trying to upgrade OPNsense
Post by: franco on October 16, 2024, 01:32:02 PM
The availability of our infrastructure is currently riddled with intermittent disruptions as it's been under attack for the past couple of days since the weekend.


Cheers,
Franco