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

    No Available Packages - Package Manager

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    21 Posts 4 Posters 3.8k 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
      last edited by

      Looks like you have a DNS problem. Try:

      [2.7.2-RELEASE][admin@t70.stevew.lan]/root: 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
      

      Try to resolve it in Diag > DNS Lookup.

      Make sure Unbound is running.

      linuxstudent1990L 1 Reply Last reply Reply Quote 0
      • linuxstudent1990L
        linuxstudent1990 @stephenw10
        last edited by

        @stephenw10 Unbound is running.. I got this result.

        2023-12-15_08-46.png 2023-12-15_08-47.png

        GertjanG 1 Reply Last reply Reply Quote 0
        • GertjanG
          Gertjan @linuxstudent1990
          last edited by

          @linuxstudent1990

          The DNS lookup in the GUI uses the same 'host' command as the 'host' command on the command line. That is, they wind up using the same system call.

          So, for one moment it works.
          And the next moment, it won't.

          On the command line, use this command several times :

          [23.09.1-RELEASE][root@pfSense.bhf.tld]/tmp: host pkg01-atx.netgate.com 127.0.0.1
          Using domain server:
          Name: 127.0.0.1
          Address: 127.0.0.1#53
          Aliases:
          
          pkg01-atx.netgate.com has address 208.123.73.209
          pkg01-atx.netgate.com has IPv6 address 2610:160:11:18::209
          

          This gives more info, and you'll be sure 127.0.0.1 is used. 127.0.0.1 is where unbound, the resolver, listens. If the resolver doesn't answer, this means it isn't running (== listening) on 127.0.0.1.

          Can you show Status > System Logs > System > DNS Resolver
          Can you find the word 'start' on that page ? Often ?

          Also, check that you have (DNS resolver settings page ) :

          66818eaf-30e6-4c52-ad1d-94c543b75b5f-image.png

          or at least a selection that includes 'Localhost' = 127.0.0.1.

          edit. Strange, actually.
          The 'host' command uses what is listed in "/etc/resolv.conf".
          Which should be 127.0.0.1 202.188.18.188 1.9.1.9 8.8.8.8
          Just for my own curiosity : check that file.
          And none of these IP (DNS servers) replied ?
          And moments later, they all reply ?
          A WAN or uplink connection problem ?

          No "help me" PM's please. Use the forum, the community will thank you.
          Edit : and where are the logs ??

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

            I'd also make sure you have a valid default route in Diag > Routes.

            linuxstudent1990L 1 Reply Last reply Reply Quote 0
            • linuxstudent1990L
              linuxstudent1990
              last edited by

              Hi @Gertjan Sorry for late response. Just back from holiday..

              This is my pfsense DNS.

              2023-12-18_02-55.png

              This is my DNS resolver Settings.

              2023-12-18_02-57.png

              2023-12-18_02-57_1.png

              Can you show Status > System Logs > System > DNS Resolver
              Can you find the word 'start' on that page ? Often ?
              

              2023-12-18_02-59.png

              Nope. I dont find "start" on the page.

              I have ping using CMD and this is the result.

              2023-12-18_03-01.png

              2023-12-18_03-01_1.png

              2023-12-18_03-02.png

              2023-12-18_03-02_1.png

              GertjanG 1 Reply Last reply Reply Quote 0
              • linuxstudent1990L
                linuxstudent1990 @stephenw10
                last edited by

                @stephenw10

                hi
                this is the result.

                2023-12-18_03-14.png

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

                  That all looks good. Are you still seeing the same issues updating?

                  linuxstudent1990L 1 Reply Last reply Reply Quote 0
                  • linuxstudent1990L
                    linuxstudent1990 @stephenw10
                    last edited by

                    @stephenw10 Yes.
                    Still same. No package manager.

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

                      Like pkg-static -d update still fails?

                      linuxstudent1990L 1 Reply Last reply Reply Quote 1
                      • linuxstudent1990L
                        linuxstudent1990 @stephenw10
                        last edited by

                        @stephenw10 Hi..
                        Still same..
                        What else should I do ?

                        2023-12-18_13-16.png ![2023-12-18_13-16.png]

                        1 Reply Last reply Reply Quote 0
                        • G
                          GeorgeCZ58
                          last edited by

                          I had a same issue. I didnt find way how to resolve that. For me the main things worked, so I keep router for few days, as I dont have time. After 4 days when I logged back, everything was working and I was able to install packages.

                          I do not know why that happen, I tried everything what was found on phorum without any luck. @stephenw10 can you check if there arent really some package service issues on your side? Maybe thats why there is also so many issues with upgrades..?

                          linuxstudent1990L 2 Replies Last reply Reply Quote 0
                          • linuxstudent1990L
                            linuxstudent1990
                            last edited by

                            I FOUND A SOLUTION !!

                            I go to System > General Setup

                            I untick the DNS Server overide.

                            I add cloudflare dns.

                            2023-12-18_13-54.png

                            Then save

                            At the system information, the button check for update appear.

                            2023-12-18_14-03.png

                            Then I try revisited the package manager. It work fine !! 😲

                            2023-12-18_13-56.png

                            1 Reply Last reply Reply Quote 0
                            • GertjanG
                              Gertjan @linuxstudent1990
                              last edited by

                              @linuxstudent1990 said in No Available Packages - Package Manager:

                              Nope. I dont find "start" on the page.

                              I presume you have this :
                              214c150b-2f52-423e-9069-7cb41a97c1f3-image.png
                              set to level 2 or 3. That means that every dns request will get flogged, and this flushes out the log fil really fast - like the line you've showed : just one second.

                              This :

                              6ec95878-aa99-457e-a922-78ea6a5ebf77-image.png

                              says your one 2.7.2

                              This :

                              b6cdbab9-db10-40d8-ab00-e2b6215591c9-image.png

                              says the same thing - the prompt says 2.7.2.
                              Then why the 2_7_1 repository is requested ?

                              I stephenw10 doesn't know a correct command line solution for this one, I'll vote for the fast way out that will succeed without a hitch : get a copy of the config.xml, re install, import the copy of the config.xml and call it a day.

                              No "help me" PM's please. Use the forum, the community will thank you.
                              Edit : and where are the logs ??

                              1 Reply Last reply Reply Quote 0
                              • linuxstudent1990L
                                linuxstudent1990 @GeorgeCZ58
                                last edited by

                                @GeorgeCZ58 I think I have solve this issue. It happen because of the DNS.

                                GertjanG 1 Reply Last reply Reply Quote 0
                                • GertjanG
                                  Gertjan @linuxstudent1990
                                  last edited by

                                  @linuxstudent1990

                                  DNS did its work :

                                  c0869564-192a-4a58-aa9b-1486dcb8044f-image.png

                                  But true : never understood what these do on a firewall

                                  e4f9a7cc-7825-4721-a1fa-44b47d7820c4-image.png

                                  pfSense doesn't need "them" to work.

                                  You need public (company owned) DNS servers if your own company forces you make your DNS records public or you have a special uplink with high latency to root or tld DNS servers, and a more close by servers speeds things up a little bit.
                                  pfSense doesn't need the DNS server it got from the upstream DHCP server (most probably it well send the IP of the ISP router, itself being a forwarder to an ISP DNS router).
                                  Remember : public DNS servers, your ISP DNS servers are revolvers that use the Internet's root and DNS tld servers, something that pfSense also does with the resolver.

                                  Anyway, the issue right now is : pfSense is on 2.7.2. It's internal package database 'thinks' it's on 2.7.1.

                                  No "help me" PM's please. Use the forum, the community will thank you.
                                  Edit : and where are the logs ??

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

                                    Yes that^. Make sure you set the update branch to 2.7.2 because it appears you are running 2.7.2 but pulling packages from 2.7.1.

                                    1 Reply Last reply Reply Quote 0
                                    • linuxstudent1990L
                                      linuxstudent1990 @GeorgeCZ58
                                      last edited by

                                      @GeorgeCZ58 I think I have solve this issue. It happen because of the DNS.

                                      @Gertjan said in No Available Packages - Package Manager:

                                      pfSense doesn't need the DNS server it got from the upstream DHCP server (most probably it well send the IP of the ISP router, itself being a forwarder to an ISP DNS router).
                                      Remember : public DNS servers, your ISP DNS servers are revolvers that use the Internet's root and DNS tld servers, something that pfSense also does with the resolver.

                                      I also feeling weird. That dns are from my isp. After remove the DNS override. Its fix the problem.

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

                                        Yes strange because you have the resolution behaviour set to use localhost (Unbound) by default and only fall back to remote servers.

                                        It implies Unbound is failing yet you specifically tested that and it resolved OK.

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