Sg-8860 won't update
-
Updated to 2.3.4-RELEASE-p1 this morning, and the GUI shows it can't check for updates. Going in via SSH and choosing option 13 gives these errors, and searches here aren't pointing me anywhere:
0) Logout (SSH only) 9) pfTop 1) Assign Interfaces 10) Filter Logs 2) Set interface(s) IP address 11) Restart webConfigurator 3) Reset webConfigurator password 12) PHP shell + pfSense tools 4) Reset to factory defaults 13) Update from console 5) Reboot system 14) Disable Secure Shell (sshd) 6) Halt system 15) Restore recent configuration 7) Ping host 16) Restart PHP-FPM 8) Shell Enter an option: 13 >>> Updating repositories metadata... Updating pfSense-core repository catalogue... pkg-static: Repository pfSense-core has a wrong packagesite, need to re-create database Fetching meta.txz: . done Fetching packagesite.txz: . done Processing entries: pkg-static: wrong architecture: FreeBSD:11:amd64 instead of freebsd:11:x86:64 pkg-static: repository pfSense-core contains packages with wrong ABI: FreeBSD:11:amd64 Processing entries... done Unable to update repository pfSense-core Updating pfSense repository catalogue... pkg-static: Repository pfSense has a wrong packagesite, need to re-create database Fetching meta.txz: . done Fetching packagesite.txz: .......... done Processing entries: pkg-static: wrong architecture: FreeBSD:11:amd64 instead of freebsd:11:x86:64 pkg-static: repository pfSense contains packages with wrong ABI: FreeBSD:11:amd64 Processing entries... done Unable to update repository pfSense Error updating repositories! *** Welcome to pfSense 2.3.4-RELEASE-p1 (amd64 full-install) on pfSense ***
What's the best way to convince the installer to switch from amd64 to x86:64 (which I thought were the same thing, but apparently not)?
-
Try this:
Go to System > Update, Update Settings
Switch to Legacy/Stable 2.3.X
Navigate back to System Update tab
Give it a bit. You should see 2.3.5 available after a bit.
Go to System > Update, Update Settings
Switch to Latest Stable Version 2.4.X
Navigate back to System Update tab and see if that helps.If none of that works, try hitting it with this hammer at the shell prompt: pkg-static clean -ya ; pkg-static install -yf pkg pfSense-repo pfSense-upgrade
-
I tried changing the update settings but gave up after > 30 minutes.
Running that command doesn't seem to do much; option 13 gives the same error messages afterward. :(
-
Actually I think your directions worked. It just wasn't immediate.
Nothing appeared to happen, so I rebooted hopefully - nothing. Reset to the 2.3.x branch and waited 15 minutes - nothing. Tried doing it from console option 13 again, and it downloaded new packages and upgraded to 2.3.5_1.
So thanks. :D
-
Now you should switch to latest stable and go to 2.4.3 unless you have a reason to stay ad 2.3.5. The only valid reason is you're on 32-bit hardware so that would pretty much eliminate any valid reasons for an 8860.
-
I'm trying. I switched the branch to current, waited, rebooted, waited, and it still thinks its up to date.
Trying to upgrade from SSH again gives this now:
Enter an option: 13 >>> Updating repositories metadata... Updating pfSense-core repository catalogue... pkg-static: Repository pfSense-core load error: access repo file(/var/db/pkg/repo-pfSense-core.sqlite) failed: No such file or directory Fetching meta.txz: . done Fetching packagesite.txz: . done Processing entries: pkg-static: wrong architecture: FreeBSD:11:amd64 instead of freebsd:11:x86:64 pkg-static: repository pfSense-core contains packages with wrong ABI: FreeBSD:11:amd64 Processing entries... done Unable to update repository pfSense-core Updating pfSense repository catalogue... pkg-static: Repository pfSense load error: access repo file(/var/db/pkg/repo-pfSense.sqlite) failed: No such file or directory Fetching meta.txz: . done Fetching packagesite.txz: .......... done Processing entries: pkg-static: wrong architecture: FreeBSD:11:amd64 instead of freebsd:11:x86:64 pkg-static: repository pfSense contains packages with wrong ABI: FreeBSD:11:amd64 Processing entries... done Unable to update repository pfSense Error updating repositories! Netgate SG-8860 - Serial: 1134...
-
Seems pretty hosed up.
Personally I would backup the config, reinstall 2.4.3 fresh, and restore the config.
That really looks like something got mismatched between 32-bit and 64-bit to me, but I'm probably wrong.
Quickest path forward is probably a reinstall.
-
Well, I guess that's the best way forward.
Thanks for the help. :)