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

    Unable to install packages on 23.05

    Scheduled Pinned Locked Moved General pfSense Questions
    11 Posts 4 Posters 1.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.
    • S
      SteveITS Galactic Empire @nmeth
      last edited by

      @nmeth There have been a few posts like this. See if this thread helps: https://forum.netgate.com/topic/180382/solved-unable-to-install-or-upgrade-packages/

      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!

      N 1 Reply Last reply Reply Quote 0
      • N
        nmeth @SteveITS
        last edited by

        Thanks @SteveITS - unfortunately none of these so far have helped for me...

        To summarise:-

        • Can't re-register - the dialog box for the key is inactive (presumably because it thinks it is appropriately registered)
        • pkg-static upgrade -fy pfSense-repoc gives a batch of errors...

        And it looks like I have a reason as to why its not working...

        The NDI within the pfSense-repoc -D output does not match the dashboard Netgate Device ID. I presumably need to do something to persuade the system its not registered (so the registration dialog becomes available again), and then register again for pfSense plus.

        Is there a way I can do this without having to contact support?

        Nigel.

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

          Try to update the repoc pkg at the CLI:

          pkg upgrade pfSense-repoc
          

          That bug has been fixed and you should still be able to access the repo from the CLI.

          Steve

          N 1 Reply Last reply Reply Quote 0
          • N
            nmeth @stephenw10
            last edited by

            @stephenw10

            Shell Output - pkg upgrade pfSense-repoc
            
            Updating pfSense-core repository catalogue...
            pkg: https://pfsense-plus-pkg01.atx.netgate.com/pfSense_plus-v23_05_amd64-core/meta.txz: Bad Request
            repository pfSense-core has no meta file, using default settings
            pkg: https://pfsense-plus-pkg01.atx.netgate.com/pfSense_plus-v23_05_amd64-core/packagesite.pkg: Bad Request
            pkg: https://pfsense-plus-pkg01.atx.netgate.com/pfSense_plus-v23_05_amd64-core/packagesite.txz: Bad Request
            Unable to update repository pfSense-core
            Updating pfSense repository catalogue...
            pkg: https://pfsense-plus-pkg01.atx.netgate.com/pfSense_plus-v23_05_amd64-pfSense_plus_v23_05/meta.txz: Bad Request
            repository pfSense has no meta file, using default settings
            pkg: https://pfsense-plus-pkg01.atx.netgate.com/pfSense_plus-v23_05_amd64-pfSense_plus_v23_05/packagesite.pkg: Bad Request
            pkg: https://pfsense-plus-pkg01.atx.netgate.com/pfSense_plus-v23_05_amd64-pfSense_plus_v23_05/packagesite.txz: Bad Request
            Unable to update repository pfSense
            Error updating repositories!
            

            I see there is some info about 23.05 requiring a valid registration to be able to access the package repos, so its looking to me as though my current registration is not correct.

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

              Send me your NDI in chat and I'll check it.

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

                Sorry I just noticed the above output includes 'Shell Output' which implies you ran it via the GUI.

                That command must be run at the CLI not via the GUI command prompt. It should succeed at the CLI and pull in the updated pkg which will fix the GUI.

                N 1 Reply Last reply Reply Quote 0
                • N
                  nmeth @stephenw10
                  last edited by

                  @stephenw10 I had run it by the GUI, but have just retried with a ssh session (as root), and a console shell.

                  In both cases I am getting exactly the same output.

                  M 1 Reply Last reply Reply Quote 0
                  • M
                    manilx @nmeth
                    last edited by manilx

                    @nmeth I'm having the same issue on a long installed and working Netgate 8200. No packages shown.
                    Created topic also: https://forum.netgate.com/topic/180823/package-manager-avaliable-packages-empty

                    Netgate 8200max

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

                      Running on an 8200 is a slightly different case. I replied there.

                      1 Reply Last reply Reply Quote 0
                      • N
                        nmeth
                        last edited by

                        Apologies for the delay, but having got the issue fixed I thought it would be worth adding a note as to what the problem was rather than leving it dangling.

                        Thanks for the help of @stephenw10 who checked the (two different) NDI (Network Device Id) that were showing up on the sytem against the pfSense registration db, and fixed the registration there to be correct.

                        Somehow, most likely due to me having played with the network devices in the config and then reloaded it, the pfSense plus registration did not match the device id. Once that was fixed I could get the package database and install packages again.

                        Nigel.

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