Unable to check for updates
-
Good afternoon,
I am currently unable to install packages and/or install updates.
Netgate 2100
Version: 22.05-RELEASE (arm64)
FreeBSD 12.3-STABLEI have implemented the solution suggested here but does not help.
https://forum.netgate.com/topic/174768/unable-to-check-for-updates-solved?lang=nlResult of this command:
pkg-static -d updateDBG(1)[7448]> pkg initialized
Updating pfSense-core repository catalogue...
DBG(1)[7448]> PkgRepo: verifying update for pfSense-core
DBG(1)[7448]> PkgRepo: need forced update of pfSense-core
DBG(1)[7448]> Pkgrepo, begin update of '/var/db/pkg/repo-pfSense-core.sqlite'
DBG(1)[7448]> Request to fetch pkg+https://firmware.netgate.com/beta/packages/pfSense_plus-master_aarch64-core/meta.conf
DBG(1)[7448]> opening libfetch fetcher
DBG(1)[7448]> Fetch > libfetch: connecting
DBG(1)[7448]> Fetch: fetching from: https://pkg01-atx.netgate.com/beta/packages/pfSense_plus-master_aarch64-core/meta.conf with opts "i"
Certificate verification failed for /C=GB/ST=Greater Manchester/L=Salford/O=Comodo CA Limited/CN=AAA Certificate Services
1086423040:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:/var/jenkins/workspace/pfSense-Plus-snapshots-23_01-main/sources/FreeBSD-src-plus-RELENG_23_01/crypto/openssl/ssl/statem/statem_clnt.c:1921:
DBG(1)[7448]> Fetch: fetching from: https://pkg01-atx.netgate.com/beta/packages/pfSense_plus-master_aarch64-core/meta.conf with opts "i"
...
...
1086423040:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:/var/jenkins/workspace/pfSense-Plus-snapshots-23_01-main/sources/FreeBSD-src-plus-RELENG_23_01/crypto/openssl/ssl/statem/statem_clnt.c:1921:
pkg-static: https://pkg01-atx.netgate.com/beta/packages/pfSense_plus-master_aarch64-pfSense_plus_devel/packagesite.txz: Authentication error
Unable to update repository pfSense
Error updating repositories!Kind Regards,
-
@dw-help said in Unable to check for updates:
https://forum.netgate.com/topic/174768/unable-to-check-for-updates-solved?lang=nl
If after all that your still unable to upgrade, after 'many' years (22.05 == old) you might want to take the short cut.
And if you haven't the ZFS file system, and you want it / can use it, you have to re install anyway.
Contact Netgate support, they send you very quickly the actual version (23.09.1), burn in to a key, and install.
When done, you can import the backup of the config that you've kept in a secure place, and 10, maybe 15 you'll be up to date and online. -
@Gertjan
ZFS is already being used.
Bit of a shame that one cannot just update and have to go through all this procedure.... -
@dw-help said in Unable to check for updates:
Bit of a shame that one cannot just update
I'm not saying it isn't possible to make the upgrade work.
An solution for you is probably avaible here : Home >
pfSense Software >Problems Installing or Upgrading pfSense Software. For ols stuff you have to dig deep ^^The thing is, knowledge that you might need for upgrading from 22.05 to a newer version is more then a year old.
Maybe @stephenw10 has the magic command for you ... -
Try running
certctl rehash
and retesting.That said it's a bit odd that it's trying to pull pkgs from a beta branch for 23.01. So nother thing you could try is setting the branch back to 22.05 then running:
pkg-static clean -ay; pkg-static install -fy pkg pfSense-repo pfSense-upgrade
Then trying to upgrade to 23.01 again.
However you will have at least two further upgrade steps after that. Installing 23.09.1 clean and restoring the config will probably be quicker.
-
@Gertjan said in Unable to check for updates:
@dw-help said in Unable to check for updates:
Bit of a shame that one cannot just update
I'm not saying it isn't possible to make the upgrade work.
An solution for you is probably avaible here : Home >
pfSense Software >Problems Installing or Upgrading pfSense Software. For ols stuff you have to dig deep ^^The thing is, knowledge that you might need for upgrading from 22.05 to a newer version is more then a year old.
Maybe @stephenw10 has the magic command for you ...pkg-static: Warning: Major OS version upgrade detected. Running "pkg bootstrap -f" recommended Updating pfSense-core repository catalogue... Certificate verification failed for /C=GB/ST=Greater Manchester/L=Salford/O=Comodo CA Limited/CN=AAA Certificate Services 1086423040:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:/var/jenkins/workspace/pfSense-Plus-snapshots-23_01-main/sources/FreeBSD-src-plus-RELENG_23_01/crypto/openssl/ssl/statem/statem_clnt.c:1921: Certificate verification failed for /C=GB/ST=Greater Manchester/L=Salford/O=Comodo CA Limited/CN=AAA Certificate Services 1086423040:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:/var/jenkins/workspace/pfSense-Plus-snapshots-23_01-main/sources/FreeBSD-src-plus-RELENG_23_01/crypto/openssl/ssl/statem/statem_clnt.c:1921: Certificate verification failed for /C=GB/ST=Greater Manchester/L=Salford/O=Comodo CA Limited/CN=AAA Certificate Services 1086423040:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:/var/jenkins/workspace/pfSense-Plus-snapshots-23_01-main/sources/FreeBSD-src-plus-RELENG_23_01/crypto/openssl/ssl/statem/statem_clnt.c:1921: Certificate verification failed for /C=GB/ST=Greater Manchester/L=Salford/O=Comodo CA Limited/CN=AAA Certificate Services ... ... ... Certificate verification failed for /C=GB/ST=Greater Manchester/L=Salford/O=Comodo CA Limited/CN=AAA Certificate Services 1086423040:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:/var/jenkins/workspace/pfSense-Plus-snapshots-23_01-main/sources/FreeBSD-src-plus-RELENG_23_01/crypto/openssl/ssl/statem/statem_clnt.c:1921: Certificate verification failed for /C=GB/ST=Greater Manchester/L=Salford/O=Comodo CA Limited/CN=AAA Certificate Services 1086423040:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:/var/jenkins/workspace/pfSense-Plus-snapshots-23_01-main/sources/FreeBSD-src-plus-RELENG_23_01/crypto/openssl/ssl/statem/statem_clnt.c:1921: pkg-static: https://pkg01-atx.netgate.com/pkg/pfSense_plus-v22_05_aarch64-pfSense_plus_v22_05/packagesite.txz: Authentication error Unable to update repository pfSense Error updating repositories!
-
Can you show what happens when you execute the command proposed ?
-
@Gertjan said in Unable to check for updates:
Ok executed what command ?
Can you show what happens when you execute the command proposed ?
First this one (success):
certctl rehashThis One (resulted in the logging):
pkg-static clean -ay; pkg-static install -fy pkg pfSense-repo pfSense-upgradeEdit:
Ohw, i did quoted the wrong user.
-
@stephenw10 said in Unable to check for updates:
Try running
certctl rehash
and retesting.That said it's a bit odd that it's trying to pull pkgs from a beta branch for 23.01. So nother thing you could try is setting the branch back to 22.05 then running:
pkg-static clean -ay; pkg-static install -fy pkg pfSense-repo pfSense-upgrade
Then trying to upgrade to 23.01 again.
However you will have at least two further upgrade steps after that. Installing 23.09.1 clean and restoring the config will probably be quicker.
pkg-static: Warning: Major OS version upgrade detected. Running "pkg bootstrap -f" recommended
Updating pfSense-core repository catalogue...
Certificate verification failed for /C=GB/ST=Greater Manchester/L=Salford/O=Comodo CA Limited/CN=AAA Certificate Services
1086423040:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:/var/jenkins/workspace/pfSense-Plus-snapshots-23_01-main/sources/FreeBSD-src-plus-RELENG_23_01/crypto/openssl/ssl/statem/statem_clnt.c:1921:
Certificate verification failed for /C=GB/ST=Greater Manchester/L=Salford/O=Comodo CA Limited/CN=AAA Certificate Services
1086423040:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:/var/jenkins/workspace/pfSense-Plus-snapshots-23_01-main/sources/FreeBSD-src-plus-RELENG_23_01/crypto/openssl/ssl/statem/statem_clnt.c:1921:
Certificate verification failed for /C=GB/ST=Greater Manchester/L=Salford/O=Comodo CA Limited/CN=AAA Certificate Services
1086423040:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:/var/jenkins/workspace/pfSense-Plus-snapshots-23_01-main/sources/FreeBSD-src-plus-RELENG_23_01/crypto/openssl/ssl/statem/statem_clnt.c:1921:
Certificate verification failed for /C=GB/ST=Greater Manchester/L=Salford/O=Comodo CA Limited/CN=AAA Certificate Services
...
...
...
Certificate verification failed for /C=GB/ST=Greater Manchester/L=Salford/O=Comodo CA Limited/CN=AAA Certificate Services
1086423040:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:/var/jenkins/workspace/pfSense-Plus-snapshots-23_01-main/sources/FreeBSD-src-plus-RELENG_23_01/crypto/openssl/ssl/statem/statem_clnt.c:1921:
Certificate verification failed for /C=GB/ST=Greater Manchester/L=Salford/O=Comodo CA Limited/CN=AAA Certificate Services
1086423040:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:/var/jenkins/workspace/pfSense-Plus-snapshots-23_01-main/sources/FreeBSD-src-plus-RELENG_23_01/crypto/openssl/ssl/statem/statem_clnt.c:1921:
pkg-static: https://pkg01-atx.netgate.com/pkg/pfSense_plus-v22_05_aarch64-pfSense_plus_v22_05/packagesite.txz: Authentication error
Unable to update repository pfSense
Error updating repositories! -
You saw :
@dw-help said in Unable to check for updates:Running "pkg bootstrap -f" recommended
-
@Gertjan said in Unable to check for updates:
pkg bootstrap -f
pkg-static: Warning: Major OS version upgrade detected. Running "pkg bootstrap -f" recommended
pkg(8) is already installed. Forcing reinstallation through pkg(7).
Certificate verification failed for /C=GB/ST=Greater Manchester/L=Salford/O=Comodo CA Limited/CN=AAA Certificate Services
1076281344:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:/var/jenkins/workspace/pfSense-img-build/BUILD_NODE/aarch64/OS_MAJOR_VERSION/freebsd12/PLATFORM/aws/sources/FreeBSD-src-plus-RELENG_22_05/crypto/openssl/ssl/statem/statem_clnt.c:1916:
Certificate verification failed for /C=GB/ST=Greater Manchester/L=Salford/O=Comodo CA Limited/CN=AAA Certificate Services
1076281344:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:/var/jenkins/workspace/pfSense-img-build/BUILD_NODE/aarch64/OS_MAJOR_VERSION/freebsd12/PLATFORM/aws/sources/FreeBSD-src-plus-RELENG_22_05/crypto/openssl/ssl/statem/statem_clnt.c:1916:
Certificate verification failed for /C=GB/ST=Greater Manchester/L=Salford/O=Comodo CA Limited/CN=AAA Certificate Services
1076281344:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:/var/jenkins/workspace/pfSense-img-build/BUILD_NODE/aarch64/OS_MAJOR_VERSION/freebsd12/PLATFORM/aws/sources/FreeBSD-src-plus-RELENG_22_05/crypto/openssl/ssl/statem/statem_clnt.c:1916:
Certificate verification failed for /C=GB/ST=Greater Manchester/L=Salford/O=Comodo CA Limited/CN=AAA Certificate Services
1076281344:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:/var/jenkins/workspace/pfSense-img-build/BUILD_NODE/aarch64/OS_MAJOR_VERSION/freebsd12/PLATFORM/aws/sources/FreeBSD-src-plus-RELENG_22_05/crypto/openssl/ssl/statem/statem_clnt.c:1916:
Certificate verification failed for /C=GB/ST=Greater Manchester/L=Salford/O=Comodo CA Limited/CN=AAA Certificate Services
1076281344:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:/var/jenkins/workspace/pfSense-img-build/BUILD_NODE/aarch64/OS_MAJOR_VERSION/freebsd12/PLATFORM/aws/sources/FreeBSD-src-plus-RELENG_22_05/crypto/openssl/ssl/statem/statem_clnt.c:1916:
Certificate verification failed for /C=GB/ST=Greater Manchester/L=Salford/O=Comodo CA Limited/CN=AAA Certificate Services
1076281344:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:/var/jenkins/workspace/pfSense-img-build/BUILD_NODE/aarch64/OS_MAJOR_VERSION/freebsd12/PLATFORM/aws/sources/FreeBSD-src-plus-RELENG_22_05/crypto/openssl/ssl/statem/statem_clnt.c:1916:
pkg: Error fetching https://firmware.netgate.com/pkg/pfSense_plus-v22_05_aarch64-pfSense_plus_v22_05/Latest/pkg.txz: Authentication error
A pre-built version of pkg could not be found for your system.
Consider changing PACKAGESITE or installing it from ports: 'ports-mgmt/pkg'.
Bootstrapping pkg from pkg+https://firmware.netgate.com/pkg/pfSense_plus-v22_05_aarch64-pfSense_plus_v22_05, please wait... -
@dw-help said in Unable to check for updates:
1086423040:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:/var/jenkins/workspace/pfSense-Plus-snapshots-23_01-main/sources/FreeBSD-src-plus-RELENG_23_01/crypto/openssl/ssl/statem/statem_clnt.c:1921:
pkg-static: https://pkg01-atx.netgate.com/pkg/pfSense_plus-v22_05_aarch64-pfSense_plus_v22_05/packagesite.txz: Authentication errorThat's with the branch set to 22.05?
It looks like it's trying to use the wrong cert.
-
@stephenw10 said in Unable to check for updates:
@dw-help said in Unable to check for updates:
1086423040:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:/var/jenkins/workspace/pfSense-Plus-snapshots-23_01-main/sources/FreeBSD-src-plus-RELENG_23_01/crypto/openssl/ssl/statem/statem_clnt.c:1921:
pkg-static: https://pkg01-atx.netgate.com/pkg/pfSense_plus-v22_05_aarch64-pfSense_plus_v22_05/packagesite.txz: Authentication errorThat's with the branch set to 22.05?
It looks like it's trying to use the wrong cert.
Yes, indeed!
We are reinstalling the firewall. :) -
Probably the fastest way forward at this point.
-
@stephenw10 @Gertjan
Reinstall succeeded, thanks for troubleshooting with me!