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

    pfSense stops updating packages

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    21 Posts 3 Posters 1.5k 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.
    • C
      compiz @stephenw10
      last edited by

      @stephenw10 after a few minutes it gave me this:

      ping: cannot resolve ews.netgate.com: Address family for hostname not supported
      
      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        Huh, what does host ews.netgate.com show?

        Is it somehow only giving you an IPv6 address?

        C 1 Reply Last reply Reply Quote 0
        • C
          compiz @stephenw10
          last edited by

          @stephenw10

          host ews.netgate.com
          ;; connection timed out; no servers could be reached
          

          It is weird if it switched back to IPv6 which means an ISP problem, I can access from my pc any IPv4 sites though, just pfSense itself can't

          S 1 Reply Last reply Reply Quote 0
          • S
            SteveITS Galactic Empire @compiz
            last edited by

            @compiz Is DNS functioning then? System/General; Diagnostics/DNS Lookup.

            re: IPv6, there is a setting to disable that for (only) pfSense: https://docs.netgate.com/pfsense/en/latest/network/ipv6/ipv6-preference.html

            Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
            When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
            Upvote 👍 helpful posts!

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

              Oh just no DNS resolution. Is Unbound still running? Assuming you are using Unbound still, which is the default.

              C 1 Reply Last reply Reply Quote 0
              • C
                compiz @SteveITS
                last edited by

                @SteveITS

                it was running the default yes, I have changed it to use the external DNS only, it seems to be able to detect now the updates but it failes to install them

                pkg update ; pkg upgrade
                Updating pfSense-core repository catalogue...
                pkg: An error occured while fetching package
                pkg: An error occured while fetching package
                repository pfSense-core has no meta file, using default settings
                pkg: An error occured while fetching package
                pkg: An error occured while fetching package
                Unable to update repository pfSense-core
                Updating pfSense repository catalogue...
                pkg: An error occured while fetching package
                pkg: An error occured while fetching package
                repository pfSense has no meta file, using default settings
                pkg: An error occured while fetching package
                pkg: An error occured while fetching package
                Unable to update repository pfSense
                Error updating repositories!
                Updating pfSense-core repository catalogue...
                pkg: An error occured while fetching package
                pkg: An error occured while fetching package
                repository pfSense-core has no meta file, using default settings
                pkg: An error occured while fetching package
                pkg: An error occured while fetching package
                Unable to update repository pfSense-core
                Updating pfSense repository catalogue...
                pkg: An error occured while fetching package
                pkg: An error occured while fetching package
                repository pfSense has no meta file, using default settings
                pkg: An error occured while fetching package
                pkg: An error occured while fetching package
                Unable to update repository pfSense
                Error updating repositories!
                
                
                1 Reply Last reply Reply Quote 0
                • C
                  compiz @stephenw10
                  last edited by

                  @stephenw10 I mixed the replies, sorry.
                  I already had the "Prefer to use IPv4 even if IPv6 is available" option enabled.

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

                    Ok so now run pfSense-repoc then pkg -d update and see what the error is.

                    C 1 Reply Last reply Reply Quote 0
                    • C
                      compiz
                      last edited by

                      without me touching anything, it seems to be working now.
                      it does check for updates for pfSense and packages and it was able to update acme and System_Patches successfully.
                      What did the trick was to change the DNS from "Use local DNS, fallback to remote" to "Use remote DNS, ignore local DNS" and then back to "Use local DNS, fallback to remote".
                      Now I am curious as to what might caused the bound DNS to fail and how to prevent it from future crashes?

                      Thanks for the help guys :)

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

                        Had Unbound stopped entirely? Check the System and Resolver logs. You ight see what stopped it if so.

                        C 1 Reply Last reply Reply Quote 0
                        • C
                          compiz @stephenw10
                          last edited by

                          @stephenw10 the first didn't give any output, just sent me back to prompt, the 2nd

                           pkg -d update
                          DBG(1)[64522]> pkg initialized
                          pkg: Unable to open '/usr/local/etc/pkg/repos//pfSense.conf':No such file or directory
                          No active remote repositories configured.
                          
                          1 Reply Last reply Reply Quote 0
                          • C
                            compiz @stephenw10
                            last edited by

                            @stephenw10 said in pfSense stops updating packages:

                            Had Unbound stopped entirely? Check the System and Resolver logs. You ight see what stopped it if so.

                            May 14 18:48:05	unbound	20336	[20336:0] info: server stats for thread 3: 330 queries, 286 answers from cache, 44 recursions, 12 prefetch, 0 rejected by ip ratelimiting
                            May 14 18:48:05	unbound	20336	[20336:0] info: server stats for thread 3: requestlist max 1 avg 0.0178571 exceeded 0 jostled 0
                            May 14 18:48:05	unbound	20336	[20336:0] info: average recursion processing time 0.058644 sec
                            May 14 18:48:05	unbound	20336	[20336:0] info: histogram of recursion processing times
                            May 14 18:48:05	unbound	20336	[20336:0] info: [25%]=0.0196608 median[50%]=0.0557056 [75%]=0.0963765
                            May 14 18:48:05	unbound	20336	[20336:0] info: lower(secs) upper(secs) recursions
                            May 14 18:48:05	unbound	20336	[20336:0] info: 0.000000 0.000001 1
                            May 14 18:48:05	unbound	20336	[20336:0] info: 0.002048 0.004096 2
                            May 14 18:48:05	unbound	20336	[20336:0] info: 0.004096 0.008192 4
                            May 14 18:48:05	unbound	20336	[20336:0] info: 0.008192 0.016384 3
                            May 14 18:48:05	unbound	20336	[20336:0] info: 0.016384 0.032768 5
                            May 14 18:48:05	unbound	20336	[20336:0] info: 0.032768 0.065536 10
                            May 14 18:48:05	unbound	20336	[20336:0] info: 0.065536 0.131072 17
                            May 14 18:48:05	unbound	20336	[20336:0] info: 0.131072 0.262144 2
                            May 14 18:48:05	unbound	20336	[20336:0] notice: Restart of unbound 1.19.3.
                            May 14 18:48:05	unbound	20336	[20336:0] notice: init module 0: validator
                            May 14 18:48:05	unbound	20336	[20336:0] notice: init module 1: iterator
                            May 14 18:48:05	unbound	20336	[20336:0] info: start of service (unbound 1.19.3).
                            May 14 18:48:05	unbound	20336	[20336:0] info: service stopped (unbound 1.19.3).
                            May 14 18:48:05	unbound	20336	[20336:0] info: server stats for thread 0: 0 queries, 0 answers from cache, 0 recursions, 0 prefetch, 0 rejected by ip ratelimiting
                            May 14 18:48:05	unbound	20336	[20336:0] info: server stats for thread 0: requestlist max 0 avg 0 exceeded 0 jostled 0
                            May 14 18:48:05	unbound	20336	[20336:0] info: server stats for thread 1: 0 queries, 0 answers from cache, 0 recursions, 0 prefetch, 0 rejected by ip ratelimiting
                            May 14 18:48:05	unbound	20336	[20336:0] info: server stats for thread 1: requestlist max 0 avg 0 exceeded 0 jostled 0
                            May 14 18:48:05	unbound	20336	[20336:0] info: server stats for thread 2: 0 queries, 0 answers from cache, 0 recursions, 0 prefetch, 0 rejected by ip ratelimiting
                            May 14 18:48:05	unbound	20336	[20336:0] info: server stats for thread 2: requestlist max 0 avg 0 exceeded 0 jostled 0
                            May 14 18:48:05	unbound	20336	[20336:0] info: server stats for thread 3: 0 queries, 0 answers from cache, 0 recursions, 0 prefetch, 0 rejected by ip ratelimiting
                            May 14 18:48:05	unbound	20336	[20336:0] info: server stats for thread 3: requestlist max 0 avg 0 exceeded 0 jostled 0
                            May 14 18:48:07	unbound	24209	[24209:0] notice: init module 0: validator
                            May 14 18:48:07	unbound	24209	[24209:0] notice: init module 1: iterator
                            May 14 18:48:07	unbound	24209	[24209:0] info: start of service (unbound 1.19.3).
                            May 14 18:48:07	unbound	24209	[24209:3] info: generate keytag query _ta-4f66. NULL IN
                            May 14 19:46:10	unbound	24209	[24209:2] info: generate keytag query _ta-4f66. NULL IN
                            May 14 19:46:10	unbound	24209	[24209:1] info: generate keytag query _ta-4f66. NULL IN
                            
                            1 Reply Last reply Reply Quote 0
                            • stephenw10S
                              stephenw10 Netgate Administrator
                              last edited by

                              Hmm, no cause shown there. It did restart though.

                              C 1 Reply Last reply Reply Quote 0
                              • C
                                compiz @stephenw10
                                last edited by

                                @stephenw10 said in pfSense stops updating packages:

                                Hmm, no cause shown there. It did restart though.

                                Now i can't open sites from my pc, it starts with crashed page and then reloads and it is ok and it does that every time with every page.
                                I think I have to do a restart, can't avoid it

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

                                  @compiz said in pfSense stops updating packages:

                                  it starts with crashed page

                                  How is it failing? Definitely DNS not resolving?

                                  Should probably move this to a new thread if pkgs are updating OK now.

                                  C 1 Reply Last reply Reply Quote 0
                                  • C
                                    compiz @stephenw10
                                    last edited by

                                    @stephenw10 said in pfSense stops updating packages:

                                    @compiz said in pfSense stops updating packages:

                                    it starts with crashed page

                                    How is it failing? Definitely DNS not resolving?

                                    Should probably move this to a new thread if pkgs are updating OK now.

                                    Yeah DNS not resolving, but let's close this topic. It seems to be ok now only facebook show "connected" and "disconnected" all the time, I will reboot it later tonight and I think this will fix everything :)

                                    Thanks for all the help!

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