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

    Package Downgrades..why is this not a thing?

    General pfSense Questions
    4
    12
    1.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.
    • I
      incith
      last edited by

      Why, for example, when someone releases an update to the nut package as happened a few days ago, and it seemingly breaks USB connectivity for a whole slew of us - why is there no easy way to tell pfsense to roll back to the previous package? This is insane to me.

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

        @incith If using ZFS one can revert boot environments. Plus has a GUI, but I believe CE users can still use the command line.(bectl)

        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 0
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          In order to make the new package seen as available to existing users the old pkg version is replaced on the pkg servers for that repo.

          The only way to make the old one available again would be to roll back the update on the servers and then run a forced reinstall.

          However if that update was brought in as part of a merge there may be other packages affected, other dependencies, making rolling back non-trivial at best.

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

            One thing to check would be the local pkg cache (/var/cache/pkg) which might have old versions in it. You could force install an older version from there.

            I 1 Reply Last reply Reply Quote 0
            • I
              incith @stephenw10
              last edited by

              @stephenw10 It's gone.

              I'm just frustrated. Apparently the guy that fixes these things is out for 2 more weeks. It's frustrating that there is no way to revert the package to the previous working version.

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

                Hmm, I thought there was an just update to nut to fix the test/shutdown issue. Is that was broke the USB stuff.

                What pkg version are you looking for?

                I 1 Reply Last reply Reply Quote 0
                • I
                  incith @stephenw10
                  last edited by

                  @stephenw10 2.8.2

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

                    You should be able to fetch that from the 2.7.1 repo. It depends on the older nut-devel package.

                    [2.7.2-RELEASE][admin@t70.stevew.lan]/root: fetch https://pkg01-atx.netgate.com/pfSense_v2_7_1_amd64-pfSense_v2_7_1/All/nut-devel-2023.10.07_1.pkg
                    nut-devel-2023.10.07_1.pkg                            1291 kB 1570 kBps    01s
                    [2.7.2-RELEASE][admin@t70.stevew.lan]/root: fetch https://pkg01-atx.netgate.com/pfSense_v2_7_1_amd64-pfSense_v2_7_1/All/pfSense-pkg-nut-2.8.2.pkg
                    pfSense-pkg-nut-2.8.2.pkg                               14 kB   31 MBps    00s
                    

                    However nut-devel also has a list of dependencies that may be required. Though the repo only shows those two updated on Feb 7th.

                    I 1 Reply Last reply Reply Quote 0
                    • I
                      incith @stephenw10
                      last edited by

                      @stephenw10 said in Package Downgrades..why is this not a thing?:

                      You should be able to fetch that from the 2.7.1 repo. It depends on the older nut-devel package.

                      [2.7.2-RELEASE][admin@t70.stevew.lan]/root: fetch https://pkg01-atx.netgate.com/pfSense_v2_7_1_amd64-pfSense_v2_7_1/All/nut-devel-2023.10.07_1.pkg
                      nut-devel-2023.10.07_1.pkg                            1291 kB 1570 kBps    01s
                      [2.7.2-RELEASE][admin@t70.stevew.lan]/root: fetch https://pkg01-atx.netgate.com/pfSense_v2_7_1_amd64-pfSense_v2_7_1/All/pfSense-pkg-nut-2.8.2.pkg
                      pfSense-pkg-nut-2.8.2.pkg                               14 kB   31 MBps    00s
                      

                      However nut-devel also has a list of dependencies that may be required. Though the repo only shows those two updated on Feb 7th.

                      This worked, thanks! although I had to use curl instead. And for some reason the urls didn't immediately work for me either I had to go up a few folders and then go back in, weird.

                      I posted the same to the nut topic. https://forum.netgate.com/post/1152325

                      1 Reply Last reply Reply Quote 1
                      • dennypageD
                        dennypage @incith
                        last edited by dennypage

                        @incith said in Package Downgrades..why is this not a thing?:

                        I'm just frustrated. Apparently the guy that fixes these things is out for 2 more weeks. It's frustrating that there is no way to revert the package to the previous working version.

                        The guy who maintains the NUT package was away for 1 week. I responded in the other thread.

                        I 1 Reply Last reply Reply Quote 1
                        • I
                          incith @dennypage
                          last edited by

                          @dennypage said in Package Downgrades..why is this not a thing?:

                          @incith said in Package Downgrades..why is this not a thing?:

                          I'm just frustrated. Apparently the guy that fixes these things is out for 2 more weeks. It's frustrating that there is no way to revert the package to the previous working version.

                          The guy who maintains the NUT package was away for 1 week. I responded in the other thread.

                          Useful post ๐Ÿ‘

                          dennypageD 1 Reply Last reply Reply Quote 0
                          • dennypageD
                            dennypage @incith
                            last edited by

                            @incith I didn't hear any response from you, but in case you are not monitoring the main NUT thread, a fix was posted there today for your issue.

                            FWIW, the issue was specific to the legacy Tripplite protocol and was not an issue with USB. Details can be found in the NUT thread.

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