upgrade from version 21.7 to 22.1 not possible with squid proxy

Started by picasso7it, November 17, 2023, 10:36:54 PM

Previous topic - Next topic
Good morning,

I am having difficulty updating opnsense through a squid proxy
I am in version 21.7 and I managed to update my server to version 21.7.8 via my squid proxy. The proxy connection string is entered in the /usr/local/etc/pkg.conf file.
pkg_env: {
http_proxy: "http://your-poxy-ip:port/"
}

I can only use the pkg.opnsense,org repository, it is the only one that is authorized on the proxy
However, I cannot upgrade to version 22.1, it tells me that I am up to date whether I launch an update via the graphical interface or via the pkg command on the command line

Has anyone ever encountered this problem?

Best Regards

Thierry

It would be faster to do a fresh install - importing the existing configuration in the process.

Once you're up and running on 23.7 simply check for updates - wait or the plugins to be reinstalled - and reboot one more time when it's done.


Make a backup of the existing configuration before anything, just to play it safe.

Hi,
thank you for the answer

It bothers me to have to restart a complete installation because I have a dozen virtual machines under vmware with opnsense and I can't see myself reinstalling from the beginning

I get the following message when I update a firewall to version 21.7 and it tells me that everything is up to date
I have a timeout with the fetch command

***GOT REQUEST TO CHECK FOR UPDATES***
Currently running OPNsense 21.7.8 (amd64/OpenSSL) at Fri Nov 24 17:12:37 CET 2023
Fetching changelog information, please wait... fetch: transfer timed out
Updating OPNsense repository catalogue...
Fetching meta.conf: . done
Fetching packagesite.txz: .......... done
Processing entries: .......... done
OPNsense repository update completed. 777 packages processed.
All repositories are up to date.
Checking integrity... done (0 conflicting)
Your packages are up to date.
Checking for upgrades (0 candidates): . done
Processing candidates (0 candidates): . done
Checking integrity... done (0 conflicting)
Your packages are up to date.
***DONE***

An idea ?

Best regards