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

    pfSense-upgrade -n (Dry run)

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    11 Posts 5 Posters 1.3k 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.
    • chudakC Offline
      chudak
      last edited by

      Is it advisable and safe to use "pfSense-upgrade -n" before major upgrades ?

      What will it achieve ?

      Thx

      1 Reply Last reply Reply Quote 0
      • KOMK Online
        KOM
        last edited by

        That's the dry-run option. It goes through the motions of upgrading your system without actually making any changes. It's a good way to see if you're missing anything or if something is out of place.

        1 Reply Last reply Reply Quote 0
        • jimpJ Offline
          jimp Rebel Alliance Developer Netgate
          last edited by

          That will still upgrade pfSense-upgrade itself, which is safe (and good -- you want bug fixes that come with new versions of `pfSense-upgrade). Otherwise it will just output what it wants to do and then exit, which is safe.

          Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          chudakC 1 Reply Last reply Reply Quote 0
          • chudakC Offline
            chudak @jimp
            last edited by

            @jimp said in pfSense-upgrade -n (Dry run):

            That will still upgrade pfSense-upgrade itself, which is safe (and good -- you want bug fixes that come with new versions of `pfSense-upgrade). Otherwise it will just output what it wants to do and then exit, which is safe.

            OK thank you !

            Can you pls take a look at my output https://pastebin.com/Pzn2Lbwe ?

            Does it mean my upgrade will go smoothly ?

            jimpJ 1 Reply Last reply Reply Quote 0
            • jimpJ Offline
              jimp Rebel Alliance Developer Netgate @chudak
              last edited by

              @chudak said in pfSense-upgrade -n (Dry run):

              Can you pls take a look at my output https://pastebin.com/Pzn2Lbwe ?

              Does it mean my upgrade will go smoothly ?

              Looks fine to me.

              Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

              Need help fast? Netgate Global Support!

              Do not Chat/PM for help!

              chudakC 1 Reply Last reply Reply Quote 0
              • BismarckB Offline
                Bismarck
                last edited by Bismarck

                Thanks for the clarification jimp!

                https://pastebin.com/UnjAEpcS

                There should be no major issues here, right?

                Thanks again.

                /edit

                After running pfSense-upgrade -n, the Package Manager is offering me now many updates, better not to update them, before upgrade pfSense to 2.4.4?

                0_1537950277716_9429471c-c188-49bf-a70e-5a410ebdbf51-image.png

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

                  Exact.
                  As found elsewhere on the forum, most packages will include PHP 7.2.
                  And that will break the GUI and other PHP related tasks.

                  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
                  • chudakC Offline
                    chudak @jimp
                    last edited by

                    @jimp

                    When I run 'pfSense-upgrade -n' I see some left overs from packages that were removed, for example:

                    "Updating dnsthingy repository catalogue...
                    dnsthingy repository is up to date."

                    Is there a way to clean up left overs ?

                    Thx

                    1 Reply Last reply Reply Quote 0
                    • jimpJ Offline
                      jimp Rebel Alliance Developer Netgate
                      last edited by

                      That depends on what you did to add it in there. It could just be an extra file in /usr/local/etc/pkg/repos/.

                      Since we don't know how you added that, we can't tell you how to fix it. Reverse whatever steps you took to get it there.

                      Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                      Need help fast? Netgate Global Support!

                      Do not Chat/PM for help!

                      chudakC 1 Reply Last reply Reply Quote 0
                      • chudakC Offline
                        chudak @jimp
                        last edited by

                        @jimp

                        Thx
                        Seem there was an extra file, and removing it worked

                        [2.4.3-RELEASE][admin@pfSense]/root: cat /usr/local/etc/pkg/repos/dnsthingy.conf
                        dnsthingy:{url: "https://downloads.dnsthingy.com/pkg/test/${ABI}",enabled: yes}

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