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

    Error when upgrading to version 2.7

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    20 Posts 2 Posters 1.9k 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.
    • C
      cairoapcampos @stephenw10
      last edited by

      @stephenw10 said in Error when upgrading to version 2.7:

      That looks like it has pulled in some newer pkgs. Try running:
      pkg-static info -x pfsense and pkg-static info pkg

      Command output: pkg-static info -x pfsense

      tela1.png

      Command output: pkg-static info pkg

      tela2.png

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

        Mmm, OK. Try: pkg-static -d update

        C 1 Reply Last reply Reply Quote 0
        • C
          cairoapcampos @stephenw10
          last edited by

          @stephenw10 said in Error when upgrading to version 2.7:

          Mmm, OK. Try: pkg-static -d update

          Command output: pkg-static -d update

          Tela.png

          Should I run the pfSense-upgrade command now?

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

            Yes try: pfSense-upgrade -d

            C 1 Reply Last reply Reply Quote 0
            • C
              cairoapcampos @stephenw10
              last edited by

              @stephenw10 said in Error when upgrading to version 2.7:

              Yes try: pfSense-upgrade -d

              When executing the above command the problem returned:

              tela4.png

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

                Ok try: ls /var/cache/pkg/pkg*

                If it shows you have a cached version of pkg-1.17.5_4.pkg then try:
                pkg-static install -Uf /var/cache/pkg/pkg-1.17.5_4.pkg

                Then try upgrading again.

                C 1 Reply Last reply Reply Quote 0
                • C
                  cairoapcampos @stephenw10
                  last edited by

                  @stephenw10

                  The versions shown are as follows:

                  tela8.png

                  Should I use some of these versions, instead of the pkg-1.17.5_4.pkg version?

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

                    Yes try: pkg-static install -Uf /var/cache/pkg/pkg-1.17.5_3.pkg

                    C 1 Reply Last reply Reply Quote 0
                    • C
                      cairoapcampos @stephenw10
                      last edited by

                      @stephenw10

                      Package update screens:

                      tela10.png

                      tela11.png

                      tela12.png

                      Should I really remove the "pkg.conf" file before running the pfSense-upgrade -d command?

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

                        Nope just try upgrading from there.

                        Though it's interesting that now it was able to see the updated 1.19.1_2 version of package anyway. It will probably just upgrade to that again first, which is correct.

                        C 1 Reply Last reply Reply Quote 0
                        • C
                          cairoapcampos @stephenw10
                          last edited by cairoapcampos

                          @stephenw10

                          I tried updating using version "pkg-1.17.5_3.pkg" but it didn't work:

                          tela15.png

                          Later I checked the downloaded packages, installed the 1.19.1_2 package and tried to update, but it didn't work either:

                          tela16.png

                          tela17.png

                          tela18.png

                          tela19.png

                          tela20.png

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

                            Hmm. pkg -d update still succeeds?

                            And pfSense-repoc fails?

                            C 1 Reply Last reply Reply Quote 0
                            • C
                              cairoapcampos @stephenw10
                              last edited by cairoapcampos

                              @stephenw10

                              Still using version 1.19.1_2 of the package I have the following outputs:

                              tela21.png

                              tela22.png

                              I will restore the PfSense snapshot. It is a VM. Can we do another test?

                              Even changing to the snapshot does not update to version 2.7. However, we can start a new attempt without any previous tests.

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

                                Ah sorry try: pkg-static -d update and pfSense-repoc-static

                                C 1 Reply Last reply Reply Quote 0
                                • C
                                  cairoapcampos @stephenw10
                                  last edited by cairoapcampos

                                  @stephenw10

                                  I reinstalled the pkg- 1.19.1_2.pkg package.

                                  I executed the following commands, but one of them failed.

                                  tela25.png

                                  tela26.png

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

                                    Hmm, I assume pfSense-upgrade still fails the same way?

                                    At this point I think I would just reinstall 2.7 clean to be sure.

                                    C 1 Reply Last reply Reply Quote 0
                                    • C
                                      cairoapcampos @stephenw10
                                      last edited by

                                      @stephenw10 said in Error when upgrading to version 2.7:

                                      NETGATE
                                      ADMINISTRATOR
                                      8 minutes ago

                                      Hmm, I assume pfSense-upgrade still fails the same way?

                                      At this point I think I would just reinstall 2.7 clean to be sure.

                                      Is it possible to backup all of pfSense (firewall rules, OpenVPN settings, etc?) and then restore to a clean install of pfSense 2.7?

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

                                        Yes, just download the config from Diag > Backup/Restore then restore it into 2.7.

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