• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Unable to check for updates (SOLVED)

Scheduled Pinned Locked Moved General pfSense Questions
104 Posts 31 Posters 95.7k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S
    stephenw10 Netgate Administrator @Jare 0
    last edited by Jan 13, 2023, 9:05 PM

    @jare-0 said in Unable to check for updates (SOLVED):

    would doing a clean install of 22.05 and uploading my 22.01 config file clear up this issue?

    Yes. An that's also probably quickest if you have local access to the firewall.

    1 Reply Last reply Reply Quote 1
    • T
      thwong @techpro2004
      last edited by Jan 16, 2023, 10:25 AM

      @techpro2004 thanks for your fix.
      I was running stable 22.05.14 and since then I couldn't update to any version.

      With your fix, I can update mine to development version without any issues.

      1 Reply Last reply Reply Quote 0
      • D
        dedskwirl @stephenw10
        last edited by Jan 26, 2023, 7:26 AM

        @stephenw10
        I'm having a similar issue. Running pkg info pfSense-upgrade gives me the following:

        pfSense-upgrade-1.0_27
        Name           : pfSense-upgrade
        Version        : 1.0_27
        Installed on   : Fri Sep 16 19:30:36 2022 EDT
        Origin         : sysutils/pfSense-upgrade
        Architecture   : FreeBSD:12:armv7
        Prefix         : /usr/local
        Categories     : sysutils
        Licenses       : APACHE20
        Maintainer     : coreteam@pfsense.org
        WWW            : https://www.pfsense.org/
        Comment        : pfSense upgrade script
        Annotations    :
        	FreeBSD_version: 1203506
        	build_timestamp: 2022-09-08T00:04:38+0000
        	built_by       : poudriere-git-3.3.99.20220831
        	port_checkout_unclean: no
        	port_git_hash  : 83c4d6dbf695
        	ports_top_checkout_unclean: yes
        	ports_top_git_hash: 8065fbca4d5a
        	repo_type      : binary
        	repository     : pfSense
        Flat size      : 63.7KiB
        Description    :
        pfSense upgrade script
        

        And running pkg-static update -f gives me the following output:

        Updating pfSense-core repository catalogue...
        pkg-static: Repository pfSense-core has a wrong packagesite, need to re-create database
        Fetching meta.conf: . done
        Fetching packagesite.pkg: . done
        Processing entries:
        pkg-static: wrong architecture: FreeBSD:12:amd64 instead of FreeBSD:12:armv7
        pkg-static: repository pfSense-core contains packages with wrong ABI: FreeBSD:12: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.conf: . done
        Fetching packagesite.pkg: .......... done
        Processing entries:
        pkg-static: wrong architecture: FreeBSD:12:amd64 instead of FreeBSD:12:armv7
        pkg-static: repository pfSense contains packages with wrong ABI: FreeBSD:12:amd64
        Processing entries... done
        Unable to update repository pfSense
        Error updating repositories!
        

        I have also tried the fix pinned at the top of this page. I do not have local access to the system. Running an SG-3100.

        1 Reply Last reply Reply Quote 0
        • S
          stephenw10 Netgate Administrator
          last edited by Jan 26, 2023, 1:09 PM

          Ah, OK. That manual fix should not be required for any users any longer but also it would never have applied to the 3100 because it's an armv7 device not amd64. Hence the errors you see there. You need to revert that change did you keep a copy of the original file?

          It should be:

          FreeBSD: { enabled: no }
          
          pfSense-core: {
            url: "pkg+https://firmware.netgate.com/pkg/pfSense_plus-v22_05_armv7-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-v22_05_armv7-pfSense_plus_v22_05",
            mirror_type: "srv",
            signature_type: "fingerprints",
            fingerprints: "/usr/local/share/pfSense/keys/pkg",
            enabled: yes
          }
          

          What error are you seeing trying to update with that file in place?

          D 1 Reply Last reply Jan 26, 2023, 3:30 PM Reply Quote 0
          • D
            dedskwirl @stephenw10
            last edited by Jan 26, 2023, 3:30 PM

            @stephenw10
            That seems to have worked. Thanks!

            1 Reply Last reply Reply Quote 1
            • S
              SHoover80
              last edited by Jan 27, 2023, 11:32 PM

              Is it too much to ask for, to just release the installer for the latest version of pfsense plus. Here I am trying to resolve an issue with PFSense Plus 22.5 resulting in me having to do a fresh install. As other recovery methods aren't working, And in normal circumstances with my situation, The easiest method would be to just do a fresh install, and use my backup config to recover and go on with my day. But I cant simply install PFSense Plus, restore my backup. and get back to where I was and what I was working on. Instead I have to install an out outdated version of CE, upgrade that, Then upgrade that to PFSense Plus, 22.1 Then upgrade that again to 22.5. But for whatever reason, CE is having issues unable to check for updates. So, 5 fresh installs failed attempts later, multiple issues during one required update process or the next. An hour+ of my time wasted dealing with update issues trying to get an outdated version of CE to update Just so I can get to the point where I get PFSense Plus to install, so I can update that and Finally get to the current Non BETA version.

              1 Reply Last reply Reply Quote 2
              • S
                stephenw10 Netgate Administrator
                last edited by Jan 28, 2023, 1:24 AM

                It should be possible to go from 2.6 to 23.01 directly once it's released. It will probably be possible to go from 2.7 but that is a moving target.
                Other options are in development.

                W 1 Reply Last reply Jan 29, 2023, 10:00 PM Reply Quote 0
                • W
                  wifi-will @stephenw10
                  last edited by Jan 29, 2023, 10:00 PM

                  @stephenw10 im in the same boat where i have remote sites, and to backdate firmware, i have to travel to site, backup, and install firmware from USB. I think it should be as easy to roll back firmware as it is to update. PS Sense is constantly informing you that there is an update, only to update and them find out there are issues.

                  1 Reply Last reply Reply Quote 0
                  • S
                    stephenw10 Netgate Administrator
                    last edited by Jan 29, 2023, 10:55 PM

                    If you're running a ZFS install and update from 22.05 to 23.01 it will automatically create a snapshot before the update and you can roll back it simply by selecting it.

                    1 Reply Last reply Reply Quote 0
                    • D
                      DanTappan @techpro2004
                      last edited by Feb 2, 2023, 3:08 PM

                      @techpro2004 This just worked for me also. Was on 22.01-RELEASE and getting the "unable to check" error, 22.05 now shows as available.

                      1 Reply Last reply Reply Quote 1
                      • J
                        Jossk
                        last edited by Jossk Feb 13, 2023, 11:11 PM Feb 13, 2023, 11:09 PM

                        I am having a similar issue on 5100. The difference being, I can see my installed packages, but the Available Packages is empty, nor is it able to check for system updates.

                        I have checked the pfSense.conf file. It looks to be correct (from what others have posted).

                        I have also tried switching to the development branch, then back.

                        pkg -d update
                        

                        DBG(1)[96943]> pkg initialized
                        Updating pfSense-core repository catalogue...
                        DBG(1)[96943]> PkgRepo: verifying update for pfSense-core
                        DBG(1)[96943]> PkgRepo: need forced update of pfSense-core
                        DBG(1)[96943]> Pkgrepo, begin update of '/var/db/pkg/repo-pfSense-core.sqlite'
                        DBG(1)[96943]> Request to fetch pkg+https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-core/meta.conf
                        DBG(1)[96943]> opening libfetch fetcher
                        DBG(1)[96943]> Fetch > libfetch: connecting
                        DBG(1)[96943]> Fetch: fetching from: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-core/meta.conf with opts "i"
                        DBG(1)[96943]> Fetch: fetching from: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-core/meta.conf with opts "i"
                        DBG(1)[96943]> Fetch: fetching from: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-core/meta.conf with opts "i"
                        DBG(1)[96943]> Request to fetch pkg+https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-core/meta.txz
                        DBG(1)[96943]> opening libfetch fetcher
                        DBG(1)[96943]> Fetch > libfetch: connecting
                        DBG(1)[96943]> Fetch: fetching from: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-core/meta.txz with opts "i"
                        DBG(1)[96943]> Fetch: fetching from: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-core/meta.txz with opts "i"
                        DBG(1)[96943]> Fetch: fetching from: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-core/meta.txz with opts "i"
                        pkg: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-core/meta.txz: No address record
                        repository pfSense-core has no meta file, using default settings
                        DBG(1)[96943]> Request to fetch pkg+https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-core/packagesite.pkg
                        DBG(1)[96943]> opening libfetch fetcher
                        DBG(1)[96943]> Fetch > libfetch: connecting
                        DBG(1)[96943]> Fetch: fetching from: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-core/packagesite.pkg with opts "i"
                        DBG(1)[96943]> Fetch: fetching from: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-core/packagesite.pkg with opts "i"
                        DBG(1)[96943]> Fetch: fetching from: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-core/packagesite.pkg with opts "i"
                        pkg: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-core/packagesite.pkg: No address record
                        DBG(1)[96943]> Request to fetch pkg+https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-core/packagesite.txz
                        DBG(1)[96943]> opening libfetch fetcher
                        DBG(1)[96943]> Fetch > libfetch: connecting
                        DBG(1)[96943]> Fetch: fetching from: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-core/packagesite.txz with opts "i"
                        DBG(1)[96943]> Fetch: fetching from: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-core/packagesite.txz with opts "i"
                        DBG(1)[96943]> Fetch: fetching from: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-core/packagesite.txz with opts "i"
                        pkg: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-core/packagesite.txz: No address record
                        Unable to update repository pfSense-core
                        Updating pfSense repository catalogue...
                        DBG(1)[96943]> PkgRepo: verifying update for pfSense
                        DBG(1)[96943]> PkgRepo: need forced update of pfSense
                        DBG(1)[96943]> Pkgrepo, begin update of '/var/db/pkg/repo-pfSense.sqlite'
                        DBG(1)[96943]> Request to fetch pkg+https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-pfSense_plus_v22_05/meta.conf
                        DBG(1)[96943]> opening libfetch fetcher
                        DBG(1)[96943]> Fetch > libfetch: connecting
                        DBG(1)[96943]> Fetch: fetching from: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-pfSense_plus_v22_05/meta.conf with opts "i"
                        DBG(1)[96943]> Fetch: fetching from: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-pfSense_plus_v22_05/meta.conf with opts "i"
                        DBG(1)[96943]> Fetch: fetching from: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-pfSense_plus_v22_05/meta.conf with opts "i"
                        DBG(1)[96943]> Request to fetch pkg+https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-pfSense_plus_v22_05/meta.txz
                        DBG(1)[96943]> opening libfetch fetcher
                        DBG(1)[96943]> Fetch > libfetch: connecting
                        DBG(1)[96943]> Fetch: fetching from: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-pfSense_plus_v22_05/meta.txz with opts "i"
                        DBG(1)[96943]> Fetch: fetching from: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-pfSense_plus_v22_05/meta.txz with opts "i"
                        DBG(1)[96943]> Fetch: fetching from: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-pfSense_plus_v22_05/meta.txz with opts "i"
                        pkg: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-pfSense_plus_v22_05/meta.txz: No address record
                        repository pfSense has no meta file, using default settings
                        DBG(1)[96943]> Request to fetch pkg+https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-pfSense_plus_v22_05/packagesite.pkg
                        DBG(1)[96943]> opening libfetch fetcher
                        DBG(1)[96943]> Fetch > libfetch: connecting
                        DBG(1)[96943]> Fetch: fetching from: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-pfSense_plus_v22_05/packagesite.pkg with opts "i"
                        DBG(1)[96943]> Fetch: fetching from: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-pfSense_plus_v22_05/packagesite.pkg with opts "i"
                        DBG(1)[96943]> Fetch: fetching from: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-pfSense_plus_v22_05/packagesite.pkg with opts "i"
                        pkg: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-pfSense_plus_v22_05/packagesite.pkg: No address record
                        DBG(1)[96943]> Request to fetch pkg+https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-pfSense_plus_v22_05/packagesite.txz
                        DBG(1)[96943]> opening libfetch fetcher
                        DBG(1)[96943]> Fetch > libfetch: connecting
                        DBG(1)[96943]> Fetch: fetching from: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-pfSense_plus_v22_05/packagesite.txz with opts "i"
                        DBG(1)[96943]> Fetch: fetching from: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-pfSense_plus_v22_05/packagesite.txz with opts "i"
                        DBG(1)[96943]> Fetch: fetching from: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-pfSense_plus_v22_05/packagesite.txz with opts "i"
                        pkg: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-pfSense_plus_v22_05/packagesite.txz: No address record
                        Unable to update repository pfSense
                        Error updating repositories!

                        I also made sure ".pfsense.org" & ".netgate.com" were in the DNSBL whitelist.

                        Any ideas for me to try?

                        Thanks

                        S 1 Reply Last reply Feb 13, 2023, 11:28 PM Reply Quote 0
                        • S
                          stephenw10 Netgate Administrator @Jossk
                          last edited by Feb 13, 2023, 11:28 PM

                          @jossk said in Unable to check for updates (SOLVED):

                          pkg: https://firmware.netgate.com/pkg/pfSense_plus-v22_05_amd64-pfSense_plus_v22_05/packagesite.txz: No address record
                          Unable to update repository pfSense
                          Error updating repositories!

                          No address record means it cannot resolve the repo server so you have a DNS issue on the firewall. Go to Diag > DNS Lookup and resolving firmware.netgate.com. Make sure you are seeing results from the configures servers.

                          Steve

                          J 1 Reply Last reply Feb 14, 2023, 12:05 AM Reply Quote 0
                          • J
                            Jossk @stephenw10
                            last edited by Feb 14, 2023, 12:05 AM

                            @stephenw10

                            Host "firmware.netgate.com" could not be resolved.

                            Name Servers:
                            127.0.0.1 ----> No Response

                            System > Gen. Setup set to "Use Local DNS, ignore remote DNS Servers".

                            So I guess I have a misconfiguration in the DNS Resolver, then?

                            1 Reply Last reply Reply Quote 0
                            • S
                              stephenw10 Netgate Administrator
                              last edited by Feb 14, 2023, 12:18 AM

                              Yes, I would think so. And you have no other servers configured or being passed? They won't be used with that setting in general setup though.

                              J 1 Reply Last reply Feb 14, 2023, 4:03 AM Reply Quote 0
                              • J
                                Jossk @stephenw10
                                last edited by Feb 14, 2023, 4:03 AM

                                @stephenw10

                                I added all of my interfaces as DNS servers in General Setup. Only 2 interfaces are having issues, the loopback (127.0.0.1), and one other network.

                                With any of those added, pfS can check for system updates, and the Package Manager can load the Available Packages.

                                Knowing that, I'm more inclined to think that the more likely cause is a firewall config.

                                Cursory glance at my firewall rules doesn't show anything that should block these 2 interfaces.

                                I'll have to keep investigating.

                                Thank you for the idea. Now I have a direction and a stop-gap solution until I get it working properly.

                                S 1 Reply Last reply Feb 14, 2023, 1:08 PM Reply Quote 0
                                • S
                                  stephenw10 Netgate Administrator @Jossk
                                  last edited by Feb 14, 2023, 1:08 PM

                                  @jossk said in Unable to check for updates (SOLVED):

                                  I added all of my interfaces as DNS servers in General Setup.

                                  Not sure exactly what you did but that's probably not what you want. The list there should contain other remote DNS servers that pfSense itself can use. It doesn't need to contain localhost, that is used anyway. The behaviour it uses those in can be set there but by default it will try localhost (Unbound on the firewall) and fall back to others in the list or servers passed by dhcp.

                                  But since making any change there allowed it to work it's definitely a DNS problem.

                                  Steve

                                  J 1 Reply Last reply Feb 14, 2023, 4:42 PM Reply Quote 0
                                  • J
                                    Jossk @stephenw10
                                    last edited by Feb 14, 2023, 4:42 PM

                                    @stephenw10

                                    Sorry, I should have clarified. I did that just to test all of my interfaces to see if my other interfaces were working or not. After verifying they worked, I deleted those from the list.

                                    Also, changing to "Use local DNS (127.0.0.1), fall back to remote DNS", it tests localhost without me having to add it manually.

                                    If that's the case, here is screenshots of my DNS Resolver config. Is there anything that stands out that could be the cause?

                                    Note: I have a firewall rule to block external DNS servers. Mostly so IoT devices with hard coded DNS will be forced to use mine.

                                    pfSense-DNS_Resolver-General_Options.png

                                    pfSense-DNS_Resolver-Advanced_Options.png

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      stephenw10 Netgate Administrator
                                      last edited by Feb 14, 2023, 4:54 PM

                                      Try disabling SSL/TLS for outgoing queries. That should only ever be set in conjunction with forwarding mode.
                                      Also you are filtering responses there using pfBlocker/DNSBL. Check the pfBlocker alerts.

                                      J 1 Reply Last reply Feb 14, 2023, 5:29 PM Reply Quote 0
                                      • J
                                        Jossk @stephenw10
                                        last edited by Feb 14, 2023, 5:29 PM

                                        @stephenw10

                                        Disabled SSL/TLS for outgoing. No change in DNS Lookup (will leave off).

                                        To be honest, I don't know what I should be looking for in the alerts.

                                        I did try disabling pfBlocker. No change in DNS Lookup.

                                        I can try turning off "Keep Settings", and uninstalling the pfBlocker package.

                                        I'm still confused as to why DNS resolution works on my VLAN interfaces work, while not working on my LAN and loopback.

                                        0bdd2c04-5ba6-4e03-b0f5-c2a4ae2a6b6a-image.png
                                        c76fbb9b-c644-4a54-a0c8-da5bcbd0418d-image.png

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          stephenw10 Netgate Administrator
                                          last edited by Feb 14, 2023, 6:19 PM

                                          Check Status > DNS Resolver after you try to look it up. You should see entries for netgate.com.

                                          Otherwise you can try turning up the logging in Unbound to see the individual queries and failures.

                                          Steve

                                          J 2 Replies Last reply Feb 14, 2023, 7:41 PM Reply Quote 0
                                          • First post
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            This community forum collects and processes your personal information.
                                            consent.not_received