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

    Install package from older release

    General pfSense Questions
    4
    17
    1.2k
    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.
    • Y
      yquirion
      last edited by

      Dear pfSense users,

      I'm currently running pfSense CE v2.6.0 version.

      I'm having a problem with dynamic DNS and Namecheap. I'm found a patch that solve the issue, but I need to first install a patch using the following command:

      opnsense-patch -c plugins 4b3abbf
      

      However that command isn't found on my system. So I need to install the package System_Patches. When I want to install this patch, I'm getting that error:

      WARNING: Current pkg repository has a new PHP major
               version. pfSense should be upgraded before
               installing any new packag
      

      I'm not ready yet to upgrade my pfSense to 2.7.0. Also, I've read that this upgrade may be a bit complex and need to remove all installed packages.

      If there a way to get that package on my current version? Or if there a way to get that patch installed without having the System_Patches package installed?

      Thank you very much for your help.

      Best Regards,
      Yanick

      R 1 Reply Last reply Reply Quote 0
      • R
        rcoleman-netgate Netgate @yquirion
        last edited by

        @yquirion said in Install package from older release:

        opnsense-patch -c plugins 4b3abbf

        Uhm.... which software are you running?

        Ryan
        Repeat, after me: MESH IS THE DEVIL! MESH IS THE DEVIL!
        Requesting firmware for your Netgate device? https://go.netgate.com
        Switching: Mikrotik, Netgear, Extreme
        Wireless: Aruba, Ubiquiti

        Y 1 Reply Last reply Reply Quote 0
        • jimpJ jimp moved this topic from Problems Installing or Upgrading pfSense Software on
        • Y
          yquirion @rcoleman-netgate
          last edited by

          @rcoleman-netgate I'm running pfsense v2.6.0 and I want to install that patch thag is also for 2.6.0. However, I need to add a package, and it don't let me do it because version 2.7.0 is available and I'm not ready yet to upgrade to that lastes version.

          Regards

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

            That is a patch against opnsense using their patch command. The command doesn't exist in pfSense and that patch probably doesn't apply anyway.

            But you can install packages in pfSense 2.6. Just make sure the update branch is set to 2.6 (previous version) in System > Updates.

            Steve

            R Y 3 Replies Last reply Reply Quote 1
            • R
              rcoleman-netgate Netgate @stephenw10
              last edited by

              @stephenw10 said in Install package from older release:

              That is a patch against opnsense using their patch command.

              ^^^^^^^

              Ryan
              Repeat, after me: MESH IS THE DEVIL! MESH IS THE DEVIL!
              Requesting firmware for your Netgate device? https://go.netgate.com
              Switching: Mikrotik, Netgear, Extreme
              Wireless: Aruba, Ubiquiti

              1 Reply Last reply Reply Quote 1
              • Y
                yquirion @stephenw10
                last edited by

                Thanks @stephenw10,

                That is exactly what I was looking for.

                Regards,
                Yanick

                1 Reply Last reply Reply Quote 0
                • Y
                  yquirion @stephenw10
                  last edited by yquirion

                  @stephenw10 Well I was really mixed up here! I tought I was into a thread talking about pfsense. Now I know that opnsense is not pfsense!!! 🤣

                  Sorry guys for that confusion, but it ois strange I have the same behaviour with pfsense!

                  At least now I can install packages from 2.6.0!

                  Regards,
                  Yanick

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

                    The patch for #12816 is in the recommended patches list for 2.6. And included in 2.7.

                    Y 1 Reply Last reply Reply Quote 1
                    • Y
                      yquirion @stephenw10
                      last edited by

                      @stephenw10 Thanks again! That worked!

                      Have you updated to 2.7.0? If so, do you had to remove all you installed packages first?

                      Thanks,
                      Yanick

                      R S 2 Replies Last reply Reply Quote 0
                      • R
                        rcoleman-netgate Netgate @yquirion
                        last edited by

                        @yquirion said in Install package from older release:

                        Have you updated to 2.7.0? If so, do you had to remove all you installed packages first?

                        It is recommended to always remove packages before upgrading.

                        Ryan
                        Repeat, after me: MESH IS THE DEVIL! MESH IS THE DEVIL!
                        Requesting firmware for your Netgate device? https://go.netgate.com
                        Switching: Mikrotik, Netgear, Extreme
                        Wireless: Aruba, Ubiquiti

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

                          Yup, that ^. Though I have updated numerous systems without removing packages and not hit any issues.

                          If you're running Squid, Squidguard or FRR I would definitely remove them before upgrading.

                          Y 1 Reply Last reply Reply Quote 1
                          • Y
                            yquirion @stephenw10
                            last edited by

                            @stephenw10 The one I'm more concerned is pfBlockerNG-devel. I don't want to lose my configs. Here are all the packages I'm using:

                            3c8c64e2-8930-48ae-9cfc-19a7e3bf9b96-image.png

                            If I need to remove them, will I lose all my configuration parameters?

                            Regards,
                            Yanick

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

                              @yquirion said in Install package from older release:

                              Have you updated to 2.7.0? If so, do you had to remove all you installed packages first?

                              To jump in, since I've answered a few questions recently about losing package settings, normally uninstalling a package does not remove its settings, for the purpose of upgrading. A few have a checkbox to purposefully remove the settings to clean out the config file. The only problem of which I'm personally aware is a bug in FreeRADIUS where it doesn't read in the config unless someone has previously clicked the Save button on its settings page. Otherwise I normally uninstall "bigger" packages but leave ones like System Patches or the VPN export that don't impact operation.

                              https://docs.netgate.com/pfsense/en/latest/install/upgrade-guide-prepare.html#packages
                              "The safest practice is to remove all packages before upgrading to a new release. The upgrade process will handle packages automatically, but packages are frequently a source of problems. To ensure a smooth upgrade, note the installed packages, remove them, perform the upgrade, and then reinstall when the upgrade is complete."

                              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!

                              Y 1 Reply Last reply Reply Quote 1
                              • S
                                SteveITS Galactic Empire @yquirion
                                last edited by

                                @yquirion said in Install package from older release:

                                pfBlockerNG

                                c79e4a2f-0929-4e1d-88fb-a65dde2ff899-image.png

                                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!

                                1 Reply Last reply Reply Quote 2
                                • Y
                                  yquirion @rcoleman-netgate
                                  last edited by

                                  @rcoleman-netgate said in Install package from older release:

                                  @yquirion said in Install package from older release:

                                  Have you updated to 2.7.0? If so, do you had to remove all you installed packages first?

                                  It is recommended to always remove packages before upgrading.

                                  Will I lose the configuration parameters if I remove those packages and reinstall them once I'm updated to 2.7.0?

                                  Regards,
                                  Yanick

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

                                    As @SteveITS said, you should not lose the settings by removing the packages and then reinstalling them.

                                    1 Reply Last reply Reply Quote 1
                                    • Y
                                      yquirion @SteveITS
                                      last edited by

                                      @SteveITS thanks Steve, I appreciate!

                                      Will remove them and perform the upgrade sometime this week.

                                      Thanks again for your time!

                                      Best Regards,
                                      Yanick

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