Unable to check for updates (SOLVED)
-
@kb8doa What is the output of this command:
cat /usr/local/etc/pkg/repos/pfSense.conf
run at Diagnostics->Command Prompt in the GUI.
-
@kb8doa
FreeBSD: { enabled: no }pfSense-core: {
url: "pkg+https://firmware.netgate.com/pkg/pfSense_plus-v23_01_amd64-core",
mirror_type: "srv",
signature_type: "fingerprints",
fingerprints: "/usr/local/share/pfSense/keys/pkg",
enabled: yes
}pfSense: {
url: "pkg+https://firmware.netgate.com/pkg/pfSense_plus-v23_01_amd64-pfSense_plus_v23_01",
mirror_type: "srv",
signature_type: "fingerprints",
fingerprints: "/usr/local/share/pfSense/keys/pkg",
enabled: yes
} -
Ok, that is correct. What does
pkg-static -d update
show? -
@stephenw10 said in Unable to check for updates (SOLVED):
pkg-static -d update
I uninstalled ntop quite some time ago and am seeing mention of it, in what you requested:
DBG(1)[88664]> pkg initialized
pkg-static: Warning: Major OS version upgrade detected. Running "pkg bootstrap -f" recommended
Updating ntop repository catalogue...
DBG(1)[88664]> PkgRepo: verifying update for ntop
DBG(1)[88664]> PkgRepo: need forced update of ntop
DBG(1)[88664]> Pkgrepo, begin update of '/var/db/pkg/repo-ntop.sqlite'
DBG(1)[88664]> Request to fetch https://packages.ntop.org/FreeBSD/FreeBSD:14:amd64/latest/meta.conf
DBG(1)[88664]> opening libfetch fetcher
DBG(1)[88664]> Fetch > libfetch: connecting
DBG(1)[88664]> Fetch: fetching from: https://packages.ntop.org/FreeBSD/FreeBSD:14:amd64/latest/meta.conf with opts "i"
DBG(1)[88664]> Request to fetch https://packages.ntop.org/FreeBSD/FreeBSD:14:amd64/latest/meta.txz
DBG(1)[88664]> opening libfetch fetcher
DBG(1)[88664]> Fetch > libfetch: connecting
DBG(1)[88664]> Fetch: fetching from: https://packages.ntop.org/FreeBSD/FreeBSD:14:amd64/latest/meta.txz with opts "i"
pkg-static: https://packages.ntop.org/FreeBSD/FreeBSD:14:amd64/latest/meta.txz: Not Found
repository ntop has no meta file, using default settings
DBG(1)[88664]> Request to fetch https://packages.ntop.org/FreeBSD/FreeBSD:14:amd64/latest/packagesite.pkg
DBG(1)[88664]> opening libfetch fetcher
DBG(1)[88664]> Fetch > libfetch: connecting
DBG(1)[88664]> Fetch: fetching from: https://packages.ntop.org/FreeBSD/FreeBSD:14:amd64/latest/packagesite.pkg with opts "i"
pkg-static: https://packages.ntop.org/FreeBSD/FreeBSD:14:amd64/latest/packagesite.pkg: Not Found
DBG(1)[88664]> Request to fetch https://packages.ntop.org/FreeBSD/FreeBSD:14:amd64/latest/packagesite.txz
DBG(1)[88664]> opening libfetch fetcher
DBG(1)[88664]> Fetch > libfetch: connecting
DBG(1)[88664]> Fetch: fetching from: https://packages.ntop.org/FreeBSD/FreeBSD:14:amd64/latest/packagesite.txz with opts "i"
pkg-static: https://packages.ntop.org/FreeBSD/FreeBSD:14:amd64/latest/packagesite.txz: Not Found
Unable to update repository ntop
Updating pfSense-core repository catalogue...
DBG(1)[88664]> PkgRepo: verifying update for pfSense-core
DBG(1)[88664]> Pkgrepo, begin update of '/var/db/pkg/repo-pfSense-core.sqlite'
DBG(1)[88664]> Request to fetch pkg+https://firmware.netgate.com/pkg/pfSense_plus-v23_01_amd64-core/meta.conf
DBG(1)[88664]> opening libfetch fetcher
DBG(1)[88664]> Fetch > libfetch: connecting
DBG(1)[88664]> Fetch: fetching from: https://pkg00-atx.netgate.com/pkg/pfSense_plus-v23_01_amd64-core/meta.conf with opts "i"
DBG(1)[88664]> Fetch: fetcher chosen: https
DBG(1)[88664]> Request to fetch pkg+https://firmware.netgate.com/pkg/pfSense_plus-v23_01_amd64-core/packagesite.pkg
DBG(1)[88664]> opening libfetch fetcher
DBG(1)[88664]> Fetch > libfetch: connecting
DBG(1)[88664]> Fetch: fetching from: https://pkg00-atx.netgate.com/pkg/pfSense_plus-v23_01_amd64-core/packagesite.pkg with opts "i"
DBG(1)[88664]> Fetch: fetcher chosen: https
DBG(1)[88664]> Request to fetch pkg+https://firmware.netgate.com/pkg/pfSense_plus-v23_01_amd64-core/packagesite.txz
DBG(1)[88664]> opening libfetch fetcher
DBG(1)[88664]> Fetch > libfetch: connecting
DBG(1)[88664]> Fetch: fetching from: https://pkg00-atx.netgate.com/pkg/pfSense_plus-v23_01_amd64-core/packagesite.txz with opts "i"
DBG(1)[88664]> Fetch: fetcher chosen: https
pfSense-core repository is up to date.
Updating pfSense repository catalogue...
DBG(1)[88664]> PkgRepo: verifying update for pfSense
DBG(1)[88664]> Pkgrepo, begin update of '/var/db/pkg/repo-pfSense.sqlite'
DBG(1)[88664]> Request to fetch pkg+https://firmware.netgate.com/pkg/pfSense_plus-v23_01_amd64-pfSense_plus_v23_01/meta.conf
DBG(1)[88664]> opening libfetch fetcher
DBG(1)[88664]> Fetch > libfetch: connecting
DBG(1)[88664]> Fetch: fetching from: https://pkg01-atx.netgate.com/pkg/pfSense_plus-v23_01_amd64-pfSense_plus_v23_01/meta.conf with opts "i"
DBG(1)[88664]> Fetch: fetcher chosen: https
DBG(1)[88664]> Request to fetch pkg+https://firmware.netgate.com/pkg/pfSense_plus-v23_01_amd64-pfSense_plus_v23_01/packagesite.pkg
DBG(1)[88664]> opening libfetch fetcher
DBG(1)[88664]> Fetch > libfetch: connecting
DBG(1)[88664]> Fetch: fetching from: https://pkg01-atx.netgate.com/pkg/pfSense_plus-v23_01_amd64-pfSense_plus_v23_01/packagesite.pkg with opts "i"
DBG(1)[88664]> Fetch: fetcher chosen: https
DBG(1)[88664]> Request to fetch pkg+https://firmware.netgate.com/pkg/pfSense_plus-v23_01_amd64-pfSense_plus_v23_01/packagesite.txz
DBG(1)[88664]> opening libfetch fetcher
DBG(1)[88664]> Fetch > libfetch: connecting
DBG(1)[88664]> Fetch: fetching from: https://pkg01-atx.netgate.com/pkg/pfSense_plus-v23_01_amd64-pfSense_plus_v23_01/packagesite.txz with opts "i"
DBG(1)[88664]> Fetch: fetcher chosen: https
pfSense repository is up to date.
Error updating repositories! -
issued in Command Line:
pkg delete -y ntopto delete ntop
This RESOLVED my "Unable to check for updates" issue.
-
Interesting. It looks like at some point you added the ntop repo to get the subscription version?
-
Hello,
I have the same problem now on my Netgate 2100.
I updated the repo config already from "repo" to "firmware", but after I did that, I see cert issues related the new domain.
For some reason the content of my post is flagged as spam and I can post those. The full post can be found on https://pastebin.com/T6yRB4Yw
Any ideas?
Thanks...
-
@mgi The 1100/2100 repos are still offline while they sort out the issue affecting older models.
https://forum.netgate.com/topic/178049/pfsense-plus-23-01-updates-on-the-1100-and-2100-systems -
@steveits thanks! I missed that announcement.
EDIT: seems that my box is safe when the repos are back online.
[22.05-RELEASE][admin@pfsense]/root: gpart show => 1 62533295 ada0 MBR (30G) 1 409600 1 efi (200M) 409601 70012 2 fat32 (34M) 479613 62053683 3 freebsd [active] (30G) => 0 62053683 ada0s3 BSD (30G) 0 16 - free - (8.0K) 16 62053667 1 freebsd-zfs (30G)
-
@rcoleman-netgate said in Unable to check for updates (SOLVED):
This seems to be what is stopping me from upgrading a 2100 at one of my remote sites, as it has yet to be reimaged to upgrade to ZFS. I guess I will be having someone onsite walk through the reinstall process, thanks for linking that post here.
-
@stephenw10 said in Unable to check for updates (SOLVED):
Interesting. It looks like at some point you added the ntop repo to get the subscription version?
Yes I did but was just a newer version as the Netgate Package of ntopng is or was quite far behind.
Now I understand the ramifications of installing outside of Official Packages.
-
@kb8doa Thank you sir, that did solved my issue as well!
-
I had the exact this problem when I decide to update my pfsense+ from version 23.01 to 23.05. On my appliance I had installed APCUPSD package and this for the reason for error on "Dashboard" page. On the "System Update" page I still receive error.
-
So you were able to upgrade by removing apcupsd?
-
@stephenw10 In web page I was not able to update, but with SSH yes.
-
Hello,
Having same problem: "Unable to check for updates"$ pkg info pfSense-upgrade
pfSense-upgrade-1.0_67 Name : pfSense-upgrade Version : 1.0_67 Installed on : Wed Jun 7 14:59:23 2023 MST Origin : sysutils/pfSense-upgrade Architecture : FreeBSD:14:amd64 Prefix : /usr/local Categories : sysutils Licenses : APACHE20 Maintainer : coreteam@pfsense.org WWW : https://www.pfsense.org/ Comment : pfSense upgrade script Annotations : FreeBSD_version: 1400085 build_timestamp: 2023-06-06T04:14:40+0000 built_by : poudriere-git-3.3.99.20220831 port_checkout_unclean: no port_git_hash : 33c2f885cd36 ports_top_checkout_unclean: yes ports_top_git_hash: 33c2f885cd36 repo_type : binary repository : pfSense Flat size : 71.0KiB Description : pfSense upgrade script WWW: https://www.pfsense.org/
Then I type in the following command:
$ pkg-static -d updateand nothing happens...
any thoughts?
Hardware: 4100-MAX running 23.05
-
Additional info:
Orange LED was flashing on device indicating update was available. I then rebooted from the UI (I usually reboot prior to update) then that's when when I got the 'Unable to check for updates' message.
Subsequently, no more orange LED... -
First thing to try is go to Sys > Update > Update Settings and resave the branch to the current stable version.
If it still fails try running
pfSense-upgrade -d
at the command line to see what the error is.Steve
-
@KB8DOA When I had error like in your post I could not also get updates from github.io. I do not solve this problem yet, but in my case the suspicious program is snort. Definitely I mess up with snort's configuration to much.
-
@Matt2 Make sure you hide your serial and id. This is only for you infom