Stuck upgrade left pkg unusable on SG-1100
-
I was on 2.4.5 or 2.4.5p1 (I didn't write it down) I started the 21.02.x upgrade, it did the full 115mb 195 step/package download and rebooted as described in the docs. I had a console on the whole time to catch the logs if needed I have them saved. After coming back on line I found a non 21.x version but rather
[2.4.5-RELEASE][root@What is problematic is that I can't always get back to the system update in the gui and when going into CLI I find this:
/root: pkg clean all && pkg update Shared object "libarchive.so.7" not found, required by "pkg"I rebooted manually and tried several other options after searching none fixed
 /root: pkg-static install -f pkg Updating pfSense-core repository catalogue... y y Y Y pfSense-core repository is up to date. Updating pfSense repository catalogue... y pfSense repository is up to date. All repositories are up to date. The following 1 package(s) will be affected (of 0 checked): Installed packages to be REINSTALLED: pkg-1.16.1 [pfSense] Number of packages to be reinstalled: 1 7 MiB to be downloaded. Proceed with this action? [y/N]: y [1/1] Fetching pkg-1.16.1.txz: 100% 7 MiB 7.0MB/s 00:01 Checking integrity... done (0 conflicting) [1/1] Reinstalling pkg-1.16.1... [1/1] Extracting pkg-1.16.1: 100% You may need to manually remove /usr/local/etc/pkg.conf if it is no longer needed. [2.4.5-RELEASE][root@George.sm.sm]/root: y y: Command not found. [2.4.5-RELEASE][root@George.sm.sm]/root: pkg clean all && pkg update Shared object "libarchive.so.7" not found, required by "pkg" [2.4.5-RELEASE][root@George.sm.sm]/root: pkg -v Shared object "libarchive.so.7" not found, required by "pkg" [2.4.5-RELEASE][root@George.sm.sm]/root: pkg -v Shared object "libarchive.so.7" not found, required by "pkg" [2.4.5-RELEASE][root@George.sm.sm]/root: pkg clean all && pkg update Shared object "libarchive.so.7" not found, required by "pkg" [2.4.5-RELEASE][root@George.sm.sm]/root: pkg-static install -f pkg Updating pfSense-core repository catalogue... pfSense-core repository is up to date. Updating pfSense repository catalogue... pfSense repository is up to date. All repositories are up to date. Checking integrity... done (0 conflicting) The following 1 package(s) will be affected (of 0 checked): Installed packages to be REINSTALLED: pkg-1.16.1 [pfSense] Number of packages to be reinstalled: 1 Proceed with this action? [y/N]: y [1/1] Reinstalling pkg-1.16.1... [1/1] Extracting pkg-1.16.1: 100% You may need to manually remove /usr/local/etc/pkg.conf if it is no longer needed. [2.4.5-RELEASE][root@George.sm.sm]/root: mv /usr/local/etc/p pear.conf periodic/ php-fpm.conf.default php.conf php.ini-development php/ pkg.conf.sample pear.conf.sample php-fpm.conf php-fpm.d/ php.ini php.ini-production pkg.conf pkg/ [2.4.5-RELEASE][root@George.sm.sm]/root: mv /usr/local/etc/pk pkg.conf pkg.conf.sample pkg/ [2.4.5-RELEASE][root@George.sm.sm]/root: mv /usr/local/etc/pkg.c pkg.conf pkg.conf.sample [2.4.5-RELEASE][root@George.sm.sm]/root: mv /usr/local/etc/pkg.conf /usr/local/etc/pk pkg.conf pkg.conf.sample pkg/ [2.4.5-RELEASE][root@George.sm.sm]/root: mv /usr/local/etc/pkg.conf /usr/local/etc/pkg. pkg.conf pkg.conf.sample [2.4.5-RELEASE][root@George.sm.sm]/root: mv /usr/local/etc/pkg.conf /usr/local/etc/pkg.conf.bak [2.4.5-RELEASE][root@George.sm.sm]/root: pkg-static install -f pkg pkg-static: Warning: Major OS version upgrade detected. Running "pkg bootstrap -f" recommended Updating pfSense-core repository catalogue... Certificate verification failed for /C=US/ST=Texas/L=Austin/O=Rubicon Communications, LLC (Netgate)/CN=repo01.netgate.com 1082884096:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:/usr/local/poudriere/jails/pfSense_plus-v21_02_2_aarch64/usr/src/crypto/openssl/ssl/statem/statem_clnt.c:1915: Certificate verification failed for /C=US/ST=Texas/L=Austin/O=Rubicon Communications, LLC (Netgate)/CN=repo01.netgate.com 1082884096:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:/usr/local/poudriere/jails/pfSense_plus-v21_02_2_aarch64/usr/src/crypto/openssl/ssl/statem/statem_clnt.c:1915: Certificate verification failed for /C=US/ST=Texas/L=Austin/O=Rubicon Communications, LLC (Netgate)/CN=repo01.netgate.com 1082884096:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:/usr/local/poudriere/jails/pfSense_plus-v21_02_2_aarch64/usr/src/crypto/openssl/ssl/statem/statem_clnt.c:1915: Certificate verification failed for /C=US/ST=Texas/L=Austin/O=Rubicon Communications, LLC (Netgate)/CN=repo01.netgate.com 1082884096:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:/usr/local/poudriere/jails/pfSense_plus-v21_02_2_aarch64/usr/src/crypto/openssl/ssl/statem/statem_clnt.c:1915: Certificate verification failed for /C=US/ST=Texas/L=Austin/O=Rubicon Communications, LLC (Netgate)/CN=repo01.netgate.com 1082884096:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:/usr/local/poudriere/jails/pfSense_plus-v21_02_2_aarch64/usr/src/crypto/openssl/ssl/statem/statem_clnt.c:1915: Certificate verification failed for /C=US/ST=Texas/L=Austin/O=Rubicon Communications, LLC (Netgate)/CN=repo01.netgate.com 1082884096:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:/usr/local/poudriere/jails/pfSense_plus-v21_02_2_aarch64/usr/src/crypto/openssl/ssl/statem/statem_clnt.c:1915: pkg-static: https://repo01.netgate.com/pkg/pfSense_plus-v21_02_2_aarch64-core/meta.txz: Authentication error repository pfSense-core has no meta file, using default settings Certificate verification failed for /C=US/ST=Texas/L=Austin/O=Rubicon Communications, LLC (Netgate)/CN=repo01.netgate.com 1082884096:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:/usr/local/poudriere/jails/pfSense_plus-v21_02_2_aarch64/usr/src/crypto/openssl/ssl/statem/statem_clnt.c:1915: Certificate verification failed for /C=US/ST=Texas/L=Austin/O=Rubicon Communications, LLC (Netgate)/CN=repo01.netgate.com 1082884096:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:/usr/local/poudriere/jails/pfSense_plus-v21_02_2_aarch64/usr/src/crypto/openssl/ssl/statem/statem_clnt.c:1915: Certificate verification failed for /C=US/ST=Texas/L=Austin/O=Rubicon Communications, LLC (Netgate)/CN=repo01.netgate.com 1082884096:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:/usr/local/poudriere/jails/pfSense_plus-v21_02_2_aarch64/usr/src/crypto/openssl/ssl/statem/statem_clnt.c:1915: pkg-static: https://repo01.netgate.com/pkg/pfSense_plus-v21_02_2_aarch64-core/packagesite.txz: Authentication error Unable to update repository pfSense-core Updating pfSense repository catalogue... Certificate verification failed for /C=US/ST=Texas/L=Austin/O=Rubicon Communications, LLC (Netgate)/CN=repo00.netgate.com 1082884096:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:/usr/local/poudriere/jails/pfSense_plus-v21_02_2_aarch64/usr/src/crypto/openssl/ssl/statem/statem_clnt.c:1915: Certificate verification failed for /C=US/ST=Texas/L=Austin/O=Rubicon Communications, LLC (Netgate)/CN=repo00.netgate.com 1082884096:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:/usr/local/poudriere/jails/pfSense_plus-v21_02_2_aarch64/usr/src/crypto/openssl/ssl/statem/statem_clnt.c:1915: Certificate verification failed for /C=US/ST=Texas/L=Austin/O=Rubicon Communications, LLC (Netgate)/CN=repo00.netgate.com 1082884096:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:/usr/local/poudriere/jails/pfSense_plus-v21_02_2_aarch64/usr/src/crypto/openssl/ssl/statem/statem_clnt.c:1915: Certificate verification failed for /C=US/ST=Texas/L=Austin/O=Rubicon Communications, LLC (Netgate)/CN=repo00.netgate.com 1082884096:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:/usr/local/poudriere/jails/pfSense_plus-v21_02_2_aarch64/usr/src/crypto/openssl/ssl/statem/statem_clnt.c:1915: Certificate verification failed for /C=US/ST=Texas/L=Austin/O=Rubicon Communications, LLC (Netgate)/CN=repo00.netgate.com 1082884096:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:/usr/local/poudriere/jails/pfSense_plus-v21_02_2_aarch64/usr/src/crypto/openssl/ssl/statem/statem_clnt.c:1915: Certificate verification failed for /C=US/ST=Texas/L=Austin/O=Rubicon Communications, LLC (Netgate)/CN=repo00.netgate.com 1082884096:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:/usr/local/poudriere/jails/pfSense_plus-v21_02_2_aarch64/usr/src/crypto/openssl/ssl/statem/statem_clnt.c:1915: pkg-static: https://repo00.netgate.com/pkg/pfSense_plus-v21_02_2_aarch64-pfSense_plus-v21_02_2/meta.txz: Authentication error repository pfSense has no meta file, using default settings Certificate verification failed for /C=US/ST=Texas/L=Austin/O=Rubicon Communications, LLC (Netgate)/CN=repo00.netgate.com 1082884096:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:/usr/local/poudriere/jails/pfSense_plus-v21_02_2_aarch64/usr/src/crypto/openssl/ssl/statem/statem_clnt.c:1915: Certificate verification failed for /C=US/ST=Texas/L=Austin/O=Rubicon Communications, LLC (Netgate)/CN=repo00.netgate.com 1082884096:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:/usr/local/poudriere/jails/pfSense_plus-v21_02_2_aarch64/usr/src/crypto/openssl/ssl/statem/statem_clnt.c:1915: Certificate verification failed for /C=US/ST=Texas/L=Austin/O=Rubicon Communications, LLC (Netgate)/CN=repo00.netgate.com 1082884096:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:/usr/local/poudriere/jails/pfSense_plus-v21_02_2_aarch64/usr/src/crypto/openssl/ssl/statem/statem_clnt.c:1915: pkg-static: https://repo00.netgate.com/pkg/pfSense_plus-v21_02_2_aarch64-pfSense_plus-v21_02_2/packagesite.txz: Authentication error Unable to update repository pfSense Error updating repositories! [2.4.5-RELEASE][root@George.sm.sm]/root: [2.4.5-RELEASE][root@George.sm.sm]/root: pkg bootstrap -f The package management tool is not yet installed on your system. Do you want to fetch and install it now? [y/N]: y Bootstrapping pkg from pkg+https://repo.netgate.com/pkg/pfSense_plus-v21_02_2_aarch64-pfSense_plus-v21_02_2, please wait... Certificate verification failed for /C=US/ST=Texas/L=Austin/O=Rubicon Communications, LLC (Netgate)/CN=repo01.netgate.com 1082037296:error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed:/build/factory-crossbuild-245-aarch64/sources/FreeBSD-src/crypto/openssl/ssl/s3_clnt.c:1269: Certificate verification failed for /C=US/ST=Texas/L=Austin/O=Rubicon Communications, LLC (Netgate)/CN=repo00.netgate.com 1082037296:error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed:/build/factory-crossbuild-245-aarch64/sources/FreeBSD-src/crypto/openssl/ssl/s3_clnt.c:1269: Certificate verification failed for /C=US/ST=Texas/L=Austin/O=Rubicon Communications, LLC (Netgate)/CN=repo01.netgate.com 1082037296:error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed:/build/factory-crossbuild-245-aarch64/sources/FreeBSD-src/crypto/openssl/ssl/s3_clnt.c:1269: pkg: Error fetching https://repo.netgate.com/pkg/pfSense_plus-v21_02_2_aarch64-pfSense_plus-v21_02_2/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'. [2.4.5-RELEASE][root@George.sm.sm]/root:I do have a backup of the config and am willing to do a 'fresh install' but not sure if this is the right thing to do yet or not, please help!
TIA,
Mike
-
@maphilli14 Probably faster to get a fresh 2.5 image from Netgate Support and install that then restore your config than to try and debug this.
-
@kom just open a case at go.netgate.com?
-
@maphilli14 said in Stuck upgrade left pkg unusable on SG-1100:
go.netgate.com
That should work. Make sure you have your Netgate Device ID handy.
-
@kom I do, thank you!!!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginPrivacy Policy · Cookie Policy