Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    pkg update bad request

    Scheduled Pinned Locked Moved General pfSense Questions
    10 Posts 3 Posters 149 Views 4 Watching
    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.
    • T Offline
      techpro2004
      last edited by

      I have multiple boxes running pfsense 26.07 all of them are showing bad request when I run pkg update via ssh. Is the repo down? thanks.

      1 Reply Last reply Reply Quote 0
      • T Offline
        techpro2004
        last edited by

        I have an active tac subscription.

        1 Reply Last reply Reply Quote 0
        • T Offline
          techpro2004
          last edited by

          pfSense-repoc hangs then shows :

          fSense-repoc: failed to fetch the repo data
          pfSense-repoc: failed to read the repo data.

          1 Reply Last reply Reply Quote 0
          • T Offline
            techpro2004
            last edited by

            the folder /usr/local/share/pfSense/pkg does not exist.

            1 Reply Last reply Reply Quote 0
            • luckman212L Offline
              luckman212 LAYER 8
              last edited by

              @techpro2004 I don't think they're down.

              # pfSense-repoc -qnJ | jq '.repos | .repo | map({name,descr,product,is_release})'
              [
                {
                  "name": "26.07",
                  "descr": "pfSense+ 26.07 (current)",
                  "product": "pfSense Plus",
                  "is_release": "yes"
                }
              ]
              

              what region are you in?

              1 Reply Last reply Reply Quote 0
              • T Offline
                techpro2004
                last edited by

                new york

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

                  In 26.07 if you're running that without opening the webgui (which automatically runs it) you need to run: pfSense-repoc -NZ

                  That should pull a new user cert and allow pkg repo access.

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

                    If that fails try: pfSense-repoc -NZDJ

                    That should show you debug output and the actual repo data you're being sent. It also has some private data so you probably shouldn't post it all here directly.

                    1 Reply Last reply Reply Quote 0
                    • luckman212L Offline
                      luckman212 LAYER 8 @techpro2004
                      last edited by

                      @techpro2004 said in pkg update bad request:

                      new york

                      me too.

                      1 Reply Last reply Reply Quote 0
                      • T Offline
                        techpro2004
                        last edited by

                        pfSense-repoc -NZ did it thanks.

                        1 Reply Last reply Reply Quote 1
                        • First post
                          Last post
                        Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
                        Privacy Policy · Cookie Policy