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

    /usr/local/sbin/pfSense-upgrade deletions

    Scheduled Pinned Locked Moved Development
    15 Posts 8 Posters 3.1k 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.
    • P
      pponce
      last edited by

      Same issue I'm seeing.
      trying to go from 2.4.5.r.20200226.1800 to 2.4.5.r.20200228.1800

      /bin/sh: cannot open /usr/local/sbin/pfSense-upgrade: No such file or directory
      

      Any idea how to get fix?

      1 Reply Last reply Reply Quote 0
      • B
        bigsy
        last edited by

        Looks like it's known about - https://redmine.pfsense.org/issues/10303

        1 Reply Last reply Reply Quote 1
        • P
          pponce
          last edited by pponce

          Thanks for pointing me there. The suggested workaround steps worked for me.

          pkg update && pkg upgrade -y
          
          1 Reply Last reply Reply Quote 1
          • S
            skogs
            last edited by

            Confirm seems to have completed a valid update cycle this time.
            I didn't test the webconfig.

            went from 2.4.4p3 to 0229.1500 successfully with the pkg update && pkg upgrade -y and a manual reboot.

            T 1 Reply Last reply Reply Quote 1
            • T
              tmushy @skogs
              last edited by

              @skogs Solved my issue Thank you

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

                Also seeing this in current 2.4.5 and 2.5 snapshots. I was also able to recover by running pkg upgrade manually.

                We are looking into this.

                Steve

                1 Reply Last reply Reply Quote 0
                • cybrnookC
                  cybrnook
                  last edited by

                  Hit this as well. Recourse was to manually install again and recover from xml backup. (Did that before seeing this)

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

                    See https://redmine.pfsense.org/issues/10303

                    The better fix, for those who hit it already, is to run pkg install pfSense-upgrade

                    It's been addressed in the repo, so if you didn't hit it yet, you shouldn't hit it now when upgrading.

                    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!

                    1 Reply Last reply Reply Quote 1
                    • yon 0Y
                      yon 0
                      last edited by

                      @skogs said in /usr/local/sbin/pfSense-upgrade deletions:

                      pkg update && pkg upgrade -y

                      pkg install pfSense-upgrade
                      Updating pfSense-core repository catalogue...
                      Fetching meta.txz: 100% 944 B 0.9kB/s 00:01
                      Fetching packagesite.txz: 100% 2 KiB 1.8kB/s 00:01
                      Processing entries: 100%
                      pfSense-core repository update completed. 7 packages processed.
                      Updating pfSense repository catalogue...
                      Fetching meta.txz: 100% 940 B 0.9kB/s 00:01
                      Fetching packagesite.txz: 100% 141 KiB 10.3kB/s 00:14
                      Processing entries: 100%
                      pfSense repository update completed. 522 packages processed.
                      All repositories are up to date.
                      Updating database digests format: 100%
                      The following 1 package(s) will be affected (of 0 checked):

                      New packages to be INSTALLED:
                      pfSense-upgrade: 0.79 [pfSense]

                      Number of packages to be installed: 1

                      13 KiB to be downloaded.

                      Proceed with this action? [y/N]: y
                      [1/1] Fetching pfSense-upgrade-0.79.txz: 100% 13 KiB 13.7kB/s 00:01
                      Checking integrity... done (0 conflicting)
                      [1/1] Installing pfSense-upgrade-0.79...
                      [1/1] Extracting pfSense-upgrade-0.79: 100%
                      [2.4.5-RC][admin@face]/root: pfSense-upgrade -6
                      pfSense-upgrade: Command not found.

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

                        When you install a new program like that, you have to type rehash or exit and re-enter the shell.

                        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!

                        1 Reply Last reply Reply Quote 0
                        • yon 0Y
                          yon 0
                          last edited by

                          pfSense-upgrade -6

                          Updating repositories metadata...
                          Updating pfSense-core repository catalogue...
                          pfSense-core repository is up to date.
                          Updating pfSense repository catalogue...
                          Fetching meta.txz: . done
                          Fetching packagesite.txz: .... done
                          pkg-static: https://pkg.pfsense.org/pfSense_v2_4_5_amd64-pfSense_v2_4_5/packagesite.txz: Operation timed out
                          Unable to update repository pfSense
                          Error updating repositories!

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

                            This thread is not for problems like that. It's for the specific issue of pfSense-upgrade getting removed.

                            Start a new thread.

                            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!

                            1 Reply Last reply Reply Quote 0
                            • yon 0Y
                              yon 0
                              last edited by

                              use this command is good for upgarde.
                              pkg update && pkg upgrade -y

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

                                See above, that is not the recommended procedure.

                                Locking this, it's been solved already.

                                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!

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