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

/usr/local/sbin/pfSense-upgrade deletions

Development
8
15
2.8k
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 Feb 29, 2020, 6:32 PM

    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 Feb 29, 2020, 6:36 PM

      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 Feb 29, 2020, 7:24 PM Feb 29, 2020, 6:43 PM

        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 Feb 29, 2020, 9:50 PM

          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 Mar 1, 2020, 6:32 AM Reply Quote 1
          • T
            tmushy @skogs
            last edited by Mar 1, 2020, 6:32 AM

            @skogs Solved my issue Thank you

            1 Reply Last reply Reply Quote 0
            • S
              stephenw10 Netgate Administrator
              last edited by Mar 1, 2020, 4:31 PM

              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
              • C
                cybrnook
                last edited by Mar 2, 2020, 4:05 PM

                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
                • J
                  jimp Rebel Alliance Developer Netgate
                  last edited by Mar 2, 2020, 4:16 PM

                  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
                  • Y
                    yon 0
                    last edited by Mar 2, 2020, 6:35 PM

                    @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
                    • J
                      jimp Rebel Alliance Developer Netgate
                      last edited by Mar 2, 2020, 6:35 PM

                      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
                      • Y
                        yon 0
                        last edited by Mar 4, 2020, 6:12 PM

                        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
                        • J
                          jimp Rebel Alliance Developer Netgate
                          last edited by Mar 4, 2020, 6:13 PM

                          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
                          • Y
                            yon 0
                            last edited by Mar 4, 2020, 6:15 PM

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

                            1 Reply Last reply Reply Quote 0
                            • J
                              jimp Rebel Alliance Developer Netgate
                              last edited by Mar 4, 2020, 6:16 PM

                              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
                              11 out of 15
                              • First post
                                11/15
                                Last post
                              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.