Updates not working??
-
I've got a Netgate 1100 installed with 23.01-RELEASE (arm64). Update says this is the latest version.
Is this true? Shouldn't I see 23.09.1?
Appreciate any help.
Tnx. -
Yes it should.
Try running at the command line:
pfSense-repoc
pkg-static -d update
See what errors those commands report.
Steve
-
@stephenw10 said in Updates not working??:
pfSense-repoc
When I run pfSense-repoc, I get...
ld-elf.so.1: /usr/local/sbin/pfSense-repoc: Undefined symbol "__libc_start1@FBSD_1.7"
when I run pkg-static -d update, I get...
DBG(1)[58719]> pkg initialized Updating pfSense-core repository catalogue... DBG(1)[58719]> PkgRepo: verifying update for pfSense-core pkg-static: Repository pfSense-core has a wrong packagesite, need to re-create database DBG(1)[58719]> PkgRepo: need forced update of pfSense-core DBG(1)[58719]> Pkgrepo, begin update of '/var/db/pkg/repo-pfSense-core.sqlite' DBG(1)[58719]> Request to fetch pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v23_09_aarch64-core/meta.conf DBG(1)[58719]> opening libfetch fetcher DBG(1)[58719]> Fetch > libfetch: connecting DBG(1)[58719]> Fetch: fetching from: https://pfsense-plus-pkg00.atx.netgate.com/pfSense_plus-v23_09_aarch64-core/meta.conf with opts "i" DBG(1)[58719]> Fetch: fetcher chosen: https Fetching meta.conf: . done DBG(1)[58719]> Request to fetch pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v23_09_aarch64-core/packagesite.pkg DBG(1)[58719]> opening libfetch fetcher DBG(1)[58719]> Fetch > libfetch: connecting DBG(1)[58719]> Fetch: fetching from: https://pfsense-plus-pkg00.atx.netgate.com/pfSense_plus-v23_09_aarch64-core/packagesite.pkg with opts "i" DBG(1)[58719]> Fetch: fetcher chosen: https Fetching packagesite.pkg: . done DBG(1)[58719]> PkgRepo: extracting packagesite.yaml of repo pfSense-core DBG(1)[59039]> PkgRepo: extracting signature of repo in a sandbox DBG(1)[58719]> Pkgrepo, reading new packagesite.yaml for '/var/db/pkg/repo-pfSense-core.sqlite' Processing entries: . done pfSense-core repository update completed. 5 packages processed. Updating pfSense repository catalogue... DBG(1)[58719]> PkgRepo: verifying update for pfSense pkg-static: Repository pfSense has a wrong packagesite, need to re-create database DBG(1)[58719]> PkgRepo: need forced update of pfSense DBG(1)[58719]> Pkgrepo, begin update of '/var/db/pkg/repo-pfSense.sqlite' DBG(1)[58719]> Request to fetch pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v23_09_aarch64-pfSense_plus_v23_09/meta.conf DBG(1)[58719]> opening libfetch fetcher DBG(1)[58719]> Fetch > libfetch: connecting DBG(1)[58719]> Fetch: fetching from: https://pfsense-plus-pkg00.atx.netgate.com/pfSense_plus-v23_09_aarch64-pfSense_plus_v23_09/meta.conf with opts "i" DBG(1)[58719]> Fetch: fetcher chosen: https Fetching meta.conf: . done DBG(1)[58719]> Request to fetch pkg+https://pfsense-plus-pkg.netgate.com/pfSense_plus-v23_09_aarch64-pfSense_plus_v23_09/packagesite.pkg DBG(1)[58719]> opening libfetch fetcher DBG(1)[58719]> Fetch > libfetch: connecting DBG(1)[58719]> Fetch: fetching from: https://pfsense-plus-pkg00.atx.netgate.com/pfSense_plus-v23_09_aarch64-pfSense_plus_v23_09/packagesite.pkg with opts "i" DBG(1)[58719]> Fetch: fetcher chosen: https Fetching packagesite.pkg: .......... done DBG(1)[58719]> PkgRepo: extracting packagesite.yaml of repo pfSense DBG(1)[59305]> PkgRepo: extracting signature of repo in a sandbox DBG(1)[58719]> Pkgrepo, reading new packagesite.yaml for '/var/db/pkg/repo-pfSense.sqlite' Processing entries: Newer FreeBSD version for package wol: To ignore this error set IGNORE_OSVERSION=yes - package: 1400094 - running kernel: 1400073 Ignore the mismatch and continue? [y/N]: pkg-static: repository pfSense contains packages for wrong OS version: FreeBSD:14:aarch64 Processing entries... done Unable to update repository pfSense Error updating repositories!
Now when I go to System Update, it recognizes that the latest base system is 23.09. However, when I confirm to install the updates, I get the following message:
Another instance of pfSense-upgrade is running. Try again later.
Any ideas what to do now?
Tnx. -
@alano Follow what Steve says, but for reference https://docs.netgate.com/pfsense/en/latest/troubleshooting/upgrades.html#upgrade-not-offered-library-errors
Re “running” did you try restarting it?
-
@SteveITS , yes, I restarted it and it still recognizes the newer version, but if I press Confirm, I get the same message, "Another instance... try later".
-
Ok, try running:
pfSense-repoc-static
Then try upgrading at the command line:
pfSense-upgrade -d
-
@stephenw10 When I run pfSense-repoc-static, I get:
pkg-static: No package(s) matching pfSense-pkg-* pfSense-repoc-static: cannot get package information failed to collect the system information.
Am I doing something wrong? I'm running these commands within the GUI command line.
-
Nope that's a legitimate error. Try checking the pkg versions:
pkg-static info -x pfsense
-
@stephenw10 Here's what I got...
pfSense-23.01 pfSense-Status_Monitoring-1.8 pfSense-base-23.01 pfSense-boot-23.01 pfSense-default-config-serial-23.01 pfSense-kernel-pfSense-23.01 pfSense-rc-23.01 pfSense-repo-23.01 pfSense-repoc-20230418_1 pfSense-u-boot-1100-20220428 pfSense-u-boot-2100-20210930_1 pfSense-u-boot-env-20230123 pfSense-upgrade-1.0_65 php81-pfSense-module-0.91
-
Ah, OK. It's because you have a bad version of pfSense-upgrade. But since you can still see the repos you should be able upgrade it.
Run:
pkg-static upgrade pfSense-upgrade
It should offer you version 1.2.1. You will have to agree to ignore the mismatch to allow it.
You may also need to:
pkg-static upgrade pfSense-repoc
Steve
-
@stephenw10 Here's what I get...
Updating pfSense-core repository catalogue... pfSense-core repository is up to date. Updating pfSense repository catalogue... Fetching meta.conf: . done Fetching packagesite.pkg: .......... done Processing entries: Newer FreeBSD version for package wol: To ignore this error set IGNORE_OSVERSION=yes - package: 1400094 - running kernel: 1400073 Ignore the mismatch and continue? [y/N]: pkg-static: repository pfSense contains packages for wrong OS version: FreeBSD:14:aarch64 Processing entries... done Unable to update repository pfSense Error updating repositories!
Not sure how to answer y/N with the GUI command line??
-
Better to use the actual command line not the GUI command prompt.
But if you have to use the gui you can run:
pkg-static upgrade -y pfSense-upgrade
-
Seems to be upgrading now... Will report back later today. Thanks for your help!
-
Now I'm stuck. After a reboot, no GUI, no command line. I contacted netgate and they sent me a link to pfSense-plus-compat-recovery-23.09.1-RELEASE-aarch64.img, which I flashed on a USB drive, connected to the 1100 and restarted. However nothing.
Next steps would be appreciated.
-
I can get to the console, but when I enter my username and password, I get..
login: /etc/rc.initial: No such file or directory
Not sure how to restore the software back to factory defaults get the device to load the firmware from the USB drive.
Please help
-
You are able to connect to the serial console?
What do you see when you try to boot the USB drive? How does it fail?
https://docs.netgate.com/pfsense/en/latest/solutions/sg-1100/reinstall-pfsense.htmlSteve
-
S stephenw10 moved this topic from General pfSense Questions on