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

can't update pfsense or install packages

General pfSense Questions
9
148
27.0k
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.
  • J
    jimp Rebel Alliance Developer Netgate
    last edited by May 26, 2023, 6:38 PM

    "no address record" can only be DNS issues or a lack of connectivity in general.

    It's saying it can't resolve packages.netgate.com properly. Check which of these steps is failing for you:

    $ host -t srv _https._tcp.packages.netgate.com
    _https._tcp.packages.netgate.com has SRV record 10 10 443 pkg01-atx.netgate.com.
    _https._tcp.packages.netgate.com has SRV record 10 10 443 pkg00-atx.netgate.com.
    
    $ host pkg00-atx.netgate.com
    pkg00-atx.netgate.com has address 208.123.73.207
    pkg00-atx.netgate.com has IPv6 address 2610:160:11:18::207
    
    $ host pkg01-atx.netgate.com
    pkg01-atx.netgate.com has address 208.123.73.209
    pkg01-atx.netgate.com has IPv6 address 2610:160:11:18::209
    

    Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

    Need help fast? Netgate Global Support!

    Do not Chat/PM for help!

    M 1 Reply Last reply May 26, 2023, 6:43 PM Reply Quote 0
    • M
      mrrobot @jimp
      last edited by mrrobot May 26, 2023, 6:43 PM May 26, 2023, 6:43 PM

      @jimp cant access any of the hosts

      2.6.0-RELEASE][admin@pfSense.xxx.local]/root: host -t srv _https._tcp.packages.netgate.com
      ;; connection timed out; no servers could be reached
      [2.6.0-RELEASE][admin@pfSense.xxx.local]/root: host pkg00-atx.netgate.com
      ;; connection timed out; no servers could be reached
      [2.6.0-RELEASE][admin@pfSense.xxx.local]/root: host pkg01-atx.netgate.com
      ;; connection timed out; no servers could be reached
      
      1 Reply Last reply Reply Quote 0
      • J
        jimp Rebel Alliance Developer Netgate
        last edited by May 26, 2023, 6:48 PM

        So your firewall can't resolve hosts via DNS, you need to investigate why and fix that.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        M 2 Replies Last reply May 26, 2023, 6:50 PM Reply Quote 0
        • M
          mrrobot @jimp
          last edited by May 26, 2023, 6:50 PM

          @jimp any idea on how ?

          1 Reply Last reply Reply Quote 0
          • M
            mrrobot @jimp
            last edited by May 26, 2023, 6:52 PM

            @jimp i have reinstalled the system, tried different dns servers, restarted the dns resolver any of that helped

            D 1 Reply Last reply May 26, 2023, 6:59 PM Reply Quote 0
            • J
              jimp Rebel Alliance Developer Netgate
              last edited by May 26, 2023, 6:55 PM

              https://docs.netgate.com/pfsense/en/latest/troubleshooting/dns.html

              Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

              Need help fast? Netgate Global Support!

              Do not Chat/PM for help!

              M 1 Reply Last reply May 27, 2023, 9:00 AM Reply Quote 0
              • D
                Dobby_ @mrrobot
                last edited by May 26, 2023, 6:59 PM

                @mrrobot said in can't update pfsense or install packages:

                @jimp i have reinstalled the system, tried different dns servers, restarted the dns resolver any of that helped

                Is your WAN Gateway the default gateway?

                #~. @Dobby

                Turris Omnia - 4 Ports - 2 GB RAM / TurrisOS 7 Release (Btrfs)
                PC Engines APU4D4 - 4 Ports - 4 GB RAM / pfSense CE 2.7.2 Release (ZFS)
                PC Engines APU6B4 - 4 Ports - 4 GB RAM / pfSense+ (Plus) 24.03_1 Release (ZFS)

                M 1 Reply Last reply May 27, 2023, 9:32 AM Reply Quote 0
                • M
                  mrrobot @jimp
                  last edited by May 27, 2023, 9:00 AM

                  @jimp said in can't update pfsense or install packages:

                  https://docs.netgate.com/pfsense/en/latest/troubleshooting/dns.html

                  followed the guide, everything is ok only the last part of it where i do actually have lot of blocked traffic firewall logs
                  login-to-view
                  i didn't touch the firewall rules btw

                  login-to-view

                  1 Reply Last reply Reply Quote 0
                  • M
                    mrrobot @Dobby_
                    last edited by May 27, 2023, 9:32 AM

                    @Dobby_ said in can't update pfsense or install packages:

                    Gateway the default gate

                    yes

                    M 1 Reply Last reply Jun 19, 2023, 7:30 PM Reply Quote 0
                    • M
                      mrrobot @mrrobot
                      last edited by Jun 19, 2023, 7:30 PM

                      @Dobby_ any ideas ?

                      1 Reply Last reply Reply Quote 0
                      • S
                        stephenw10 Netgate Administrator
                        last edited by Jun 19, 2023, 9:58 PM

                        You are still seeing DNS resolution errors?

                        Can you ping out by IP directly?

                        M 1 Reply Last reply Jun 20, 2023, 6:51 AM Reply Quote 0
                        • M
                          mrrobot @stephenw10
                          last edited by Jun 20, 2023, 6:51 AM

                          @stephenw10 yes even after a fresh install

                          M 1 Reply Last reply Jun 20, 2023, 6:55 PM Reply Quote 0
                          • S
                            stephenw10 Netgate Administrator
                            last edited by Jun 20, 2023, 12:01 PM

                            So, yes, you are still seeing DNS errors.

                            Can you ping out by IP directly?

                            1 Reply Last reply Reply Quote 0
                            • M
                              mrrobot @mrrobot
                              last edited by mrrobot Jun 20, 2023, 6:58 PM Jun 20, 2023, 6:55 PM

                              @stephenw10 dns resolution works fine though login-to-view

                              M 1 Reply Last reply Jun 20, 2023, 6:58 PM Reply Quote 0
                              • M
                                mrrobot @mrrobot
                                last edited by Jun 20, 2023, 6:58 PM

                                @stephenw10 login-to-view

                                1 Reply Last reply Reply Quote 0
                                • S
                                  stephenw10 Netgate Administrator
                                  last edited by Jun 20, 2023, 8:01 PM

                                  So what do you see if you run?: pkg-static -d update

                                  M 1 Reply Last reply Jun 20, 2023, 8:03 PM Reply Quote 0
                                  • M
                                    mrrobot @stephenw10
                                    last edited by mrrobot Jun 20, 2023, 8:05 PM Jun 20, 2023, 8:03 PM

                                    @stephenw10 said in can't update pfsense or install packages:
                                    for some reason i cant put all the code, it gets reported as spam so i put the end of it

                                    pkg-static -d update

                                    DBG(1)[94031]> Fetch: fetching from: https://pkg01-atx.netgate.com/pfSense_v2_6_0_amd64-pfSense_v2_6_0/meta.conf with opts "i"
                                    DBG(1)[94031]> Fetch: fetching from: https://pkg01-atx.netgate.com/pfSense_v2_6_0_amd64-pfSense_v2_6_0/meta.conf with opts "i"
                                    DBG(1)[94031]> Request to fetch pkg+https://packages.netgate.com/pfSense_v2_6_0_amd64-pfSense_v2_6_0/meta.txz
                                    DBG(1)[94031]> opening libfetch fetcher
                                    DBG(1)[94031]> Fetch > libfetch: connecting
                                    DBG(1)[94031]> Fetch: fetching from: https://pkg01-atx.netgate.com/pfSense_v2_6_0_amd64-pfSense_v2_6_0/meta.txz with opts "i"
                                    DBG(1)[94031]> Fetch: fetching from: https://pkg01-atx.netgate.com/pfSense_v2_6_0_amd64-pfSense_v2_6_0/meta.txz with opts "i"
                                    DBG(1)[94031]> Fetch: fetching from: https://pkg01-atx.netgate.com/pfSense_v2_6_0_amd64-pfSense_v2_6_0/meta.txz with opts "i"
                                    pkg-static: https://pkg01-atx.netgate.com/pfSense_v2_6_0_amd64-pfSense_v2_6_0/meta.txz: No route to host
                                    repository pfSense has no meta file, using default settings
                                    DBG(1)[94031]> Request to fetch pkg+https://packages.netgate.com/pfSense_v2_6_0_amd64-pfSense_v2_6_0/packagesite.pkg
                                    DBG(1)[94031]> opening libfetch fetcher
                                    DBG(1)[94031]> Fetch > libfetch: connecting
                                    DBG(1)[94031]> Fetch: fetching from: https://pkg01-atx.netgate.com/pfSense_v2_6_0_amd64-pfSense_v2_6_0/packagesite.pkg with opts "i"
                                    DBG(1)[94031]> Fetch: fetching from: https://pkg01-atx.netgate.com/pfSense_v2_6_0_amd64-pfSense_v2_6_0/packagesite.pkg with opts "i"
                                    DBG(1)[94031]> Fetch: fetching from: https://pkg01-atx.netgate.com/pfSense_v2_6_0_amd64-pfSense_v2_6_0/packagesite.pkg with opts "i"
                                    pkg-static: https://pkg01-atx.netgate.com/pfSense_v2_6_0_amd64-pfSense_v2_6_0/packagesite.pkg: No route to host
                                    DBG(1)[94031]> Request to fetch pkg+https://packages.netgate.com/pfSense_v2_6_0_amd64-pfSense_v2_6_0/packagesite.txz
                                    DBG(1)[94031]> opening libfetch fetcher
                                    DBG(1)[94031]> Fetch > libfetch: connecting
                                    DBG(1)[94031]> Fetch: fetching from: https://pkg01-atx.netgate.com/pfSense_v2_6_0_amd64-pfSense_v2_6_0/packagesite.txz with opts "i"
                                    DBG(1)[94031]> Fetch: fetching from: https://pkg01-atx.netgate.com/pfSense_v2_6_0_amd64-pfSense_v2_6_0/packagesite.txz with opts "i"
                                    DBG(1)[94031]> Fetch: fetching from: https://pkg01-atx.netgate.com/pfSense_v2_6_0_amd64-pfSense_v2_6_0/packagesite.txz with opts "i"
                                    pkg-static: https://pkg01-atx.netgate.com/pfSense_v2_6_0_amd64-pfSense_v2_6_0/packagesite.txz: No route to host
                                    Unable to update repository pfSense
                                    Error updating repositories!
                                    [2.6.0-RELEASE][admin@xxxxx]/root:
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      stephenw10 Netgate Administrator
                                      last edited by Jun 20, 2023, 8:19 PM

                                      @mrrobot said in can't update pfsense or install packages:

                                      No route to host

                                      Ok, so it has no route. Check Diag > Routes. Make sure there's a valid default route.

                                      Steve

                                      M 1 Reply Last reply Jun 20, 2023, 10:11 PM Reply Quote 0
                                      • M
                                        mrrobot @stephenw10
                                        last edited by mrrobot Jun 20, 2023, 10:12 PM Jun 20, 2023, 10:11 PM

                                        @stephenw10 how do i know that the default route is valid ?

                                        my wan interface ip is the one ending with 228 and its a public ip

                                        looks like my isp giving me x.x.x.228 defaulting to a x.x.x.229 gateway

                                        login-to-view

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          stephenw10 Netgate Administrator
                                          last edited by Jun 20, 2023, 11:08 PM

                                          That looks valid. Does the gateway show as up?

                                          Do you have an IPv6 address on any interfaces?
                                          It could be trying to use IPv6. Try setting 'Prefer IPv4' in Sys > Adv > Networking.

                                          Steve

                                          M 1 Reply Last reply Jun 21, 2023, 5:58 AM Reply Quote 0
                                          • First post
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.