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 99.2k 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.
    • stephenw10S
      stephenw10 Netgate Administrator @Jossk
      last edited by

      @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 Reply Quote 0
      • J
        Jossk @stephenw10
        last edited by

        @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
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          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 Reply Quote 0
          • J
            Jossk @stephenw10
            last edited by

            @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.

            stephenw10S 1 Reply Last reply Reply Quote 0
            • stephenw10S
              stephenw10 Netgate Administrator @Jossk
              last edited by

              @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 Reply Quote 0
              • J
                Jossk @stephenw10
                last edited by

                @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
                • stephenw10S
                  stephenw10 Netgate Administrator
                  last edited by

                  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 Reply Quote 0
                  • J
                    Jossk @stephenw10
                    last edited by

                    @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
                    • stephenw10S
                      stephenw10 Netgate Administrator
                      last edited by

                      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 Reply Quote 0
                      • J
                        Jossk @stephenw10
                        last edited by

                        @stephenw10

                        I see 2 entries for netgate.com.

                        535267c4-f638-47a4-8b0a-49c47f938ead-image.png

                        2d6eb863-b24a-4875-a4b0-cb01d86e29b5-image.png

                        I also turned up logging to Level 3: Query level information in DNS Resolver > Advanced Settings.

                        (Keep in mind I still have one of my (working) VLANs in my DNS servers list)

                        stephenw10S 1 Reply Last reply Reply Quote 0
                        • stephenw10S
                          stephenw10 Netgate Administrator @Jossk
                          last edited by

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

                          I also turned up logging to Level 3: Query level information in DNS Resolver > Advanced Settings.

                          Do you see failures in the DNS logs?

                          1 Reply Last reply Reply Quote 0
                          • J
                            Jossk @stephenw10
                            last edited by

                            @stephenw10

                            I think I found the issue. It was this floating firewall rule.

                            9731a951-a5bb-42a4-a349-ccdefcaacfb6-image.png

                            I disabled it (as shown), then tested via DNS Lookup (I also added Quad9 DNS as external DNS to test). All interfaces, including the loopback and the LAN interface are now connecting.

                            the IP_PublicDNS Alias (link contains list of public IPs). Unfortunately, it also appears to contain a number of private IPs, including 192.168.0.1, & loopback (127.0.0.1).

                            Now that I think of it, I know of a better way that doesn't use an arbitrary list.

                            I feel like an idiot for blindly using the list and not properly vetting before using.

                            Thank you. I appreciate your assistance and patients.

                            1 Reply Last reply Reply Quote 0
                            • stephenw10S
                              stephenw10 Netgate Administrator
                              last edited by

                              Yeah, that could easily block outbound requests. Setting direction In would prevent that.

                              But you probably want to use something that redirects anyway:
                              https://docs.netgate.com/pfsense/en/latest/recipes/dns-redirect.html

                              J 1 Reply Last reply Reply Quote 0
                              • J
                                Jossk @stephenw10
                                last edited by

                                @stephenw10

                                I have that for my IoT subnet. That is the better method to transparently redirect traffic.

                                I think what happened was I found that list first, then learned how to do that traffic redirection, but neglected to scrap the list & associated rules.

                                I am perplexed as to why they put private IP addresses, including the reserved loopback on the list.

                                I just emailed the maintainers of the list to ask them why.

                                1 Reply Last reply Reply Quote 1
                                • J jonathan.johnson referenced this topic on
                                • J jonathan.johnson referenced this topic on
                                • P
                                  PeterHouse
                                  last edited by

                                  Unable to check for updates.

                                  I can not see any packages and the notice on my dashboard says "unable to check for updates"

                                  I have tried changing the contents of /usr/local/share/pfSense/pkg/repos/pfSense-repo.conf and soon realized this seemed like the wrong processor for my 2100. Put the file back to original.

                                  $ pkg info pfSense-upgrade

                                  pfSense-upgrade-1.0_29
                                  Name           : pfSense-upgrade
                                  Version        : 1.0_29
                                  Installed on   : Fri Dec 30 12:55:58 2022 EST
                                  Origin         : sysutils/pfSense-upgrade
                                  Architecture   : FreeBSD:12:aarch64
                                  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-11-22T02:25:53+0000
                                  	built_by       : poudriere-git-3.3.99.20220831
                                  	port_checkout_unclean: no
                                  	port_git_hash  : e46d32a272fe
                                  	ports_top_checkout_unclean: yes
                                  	ports_top_git_hash: e46d32a272fe
                                  	repo_type      : binary
                                  	repository     : pfSense
                                  Flat size      : 64.7KiB
                                  Description    :
                                  pfSense upgrade script
                                  
                                  WWW: https://www.pfsense.org/
                                  

                                  $ pkg-static -d update

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

                                  Wheat thoroughly mixed with chaff, unable to separate. Any/All help appreciated.

                                  R 1 Reply Last reply Reply Quote 0
                                  • R
                                    rcoleman-netgate Netgate @PeterHouse
                                    last edited by

                                    @peterhouse

                                    1. Upgrades to 1100/2100 models are suspended while an issue is being fixed

                                    2. Package updates for 22.05 can be found by changing branch from 23.01 to 22.05 in System->Update

                                    Ryan
                                    Repeat, after me: MESH IS THE DEVIL! MESH IS THE DEVIL!
                                    Requesting firmware for your Netgate device? https://go.netgate.com
                                    Switching: Mikrotik, Netgear, Extreme
                                    Wireless: Aruba, Ubiquiti

                                    P frankkellyF 2 Replies Last reply Reply Quote 1
                                    • P
                                      PeterHouse @rcoleman-netgate
                                      last edited by

                                      @rcoleman-netgate Thank you, that works - All I really needed was to see the packages. Any updates can wait until after I get an openVPN configured - what can go wrong now?

                                      1 Reply Last reply Reply Quote 0
                                      • K
                                        KB8DOA
                                        last edited by

                                        I am stuck AGAIN on ALL of my SG-5100 pfSense+ boxes.

                                        Am stuck on 22.05 and getting "Unable to check for updates"

                                        I do have the Update settings Branch set to 23.01

                                        Can anyone advise on what to do this time?

                                        R K 2 Replies Last reply Reply Quote 0
                                        • R
                                          rcoleman-netgate Netgate @KB8DOA
                                          last edited by

                                          @kb8doa What is the output of this command:

                                          cat /usr/local/etc/pkg/repos/pfSense.conf
                                          

                                          run at Diagnostics->Command Prompt in the GUI.

                                          Ryan
                                          Repeat, after me: MESH IS THE DEVIL! MESH IS THE DEVIL!
                                          Requesting firmware for your Netgate device? https://go.netgate.com
                                          Switching: Mikrotik, Netgear, Extreme
                                          Wireless: Aruba, Ubiquiti

                                          1 Reply Last reply Reply Quote 0
                                          • K
                                            KB8DOA @KB8DOA
                                            last edited by

                                            @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
                                            }

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.