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

    Cannot Update PFSENSE

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    16 Posts 5 Posters 904 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.
    • X
      xarope1337
      last edited by

      Hello, this is my first post here. The Forum is very cool, but a have one question:
      Today i have one appliance in AWS FreeBSD running at version 11.3-Stable AMD64 and i know this version is a older version of freeBSD. But when i try update running pkg update i receive a follow error:

      Shared Object "libarchive.so.7" not fund, required by "pkg"

      i tried to run pkg-static bootstrap -f and then the S.O return for me the follow error:

      Bootstrapping pkg from pkg+https://firmware.netgate.com/pkg/pfsense_plus-v23_01_amd64_pfsense_plus_v23_01, please wait...
      pkg: Error fetching https://firwamre.netgate.com/pkg/pfsense_plus-v23_01_amd64-pfsense_plus_v23_01/Latest/pkg.txz: Not Found
      A Pre-built version of pkg could not be found for your system
      Consider changin PACKAGESITE or installing it from ports: 'ports-mgmt/pkg'.
      I don't know how I can fix this. Can anyone help me or has anyone ever had the same problem?

      ffsense.png Screenshot from 2024-04-25 14-50-00.png

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

        @xarope1337

        pfSense 2.4.5 ? Don't bother. Get a config backup, and re install. Import config. Done.

        From then one, you can start fixing things right away, by doing ... nothing.
        But do keep it up to date.

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

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

          Run pkg-static in all instances when doing it by hand, not pkg, that will use the static linked version which won't show those library errors. Also don't try to install/upgrade anything with pkg or pkg-static manually like that if you can avoid it.

          Since it's AWS you're much better off taking a backup, redeploying, and restoring.

          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!

          X 1 Reply Last reply Reply Quote 0
          • X
            xarope1337 @Gertjan
            last edited by

            @Gertjan this is bad. I'm newer using pfsense. And where i work forgot to updating pfsense since 2021, and now this confusion is in my hands. I don't know how i can pick up de backupfile

            GertjanG 1 Reply Last reply Reply Quote 0
            • X
              xarope1337 @jimp
              last edited by

              @jimp my repositories is broken. When i try to update using PKG-STATIC returns me the first screenshot saying "Consider changin PACKAGESITE or installing it from ports: 'ports-mgmt/pkg'."

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

                @xarope1337 said in Cannot Update PFSENSE:

                I don't know how i can pick up de backupfile

                You've console access ! Get a copy of /conf/config.xml, that's the file.

                The experience you have now is a bit like "upgrading from Windows 7 to Windows 11". If possible, it will be with pain. Do what we all do : re install and call it a day.

                No "help me" PM's please. Use the forum, the community will thank you.
                Edit : and where are the logs ??

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

                  Do you not have gui access?

                  If you do what repo branches do you see?

                  2.4.5 to 23.01 is a big jump.

                  X 1 Reply Last reply Reply Quote 0
                  • X
                    xarope1337 @stephenw10
                    last edited by

                    @stephenw10 yeah i have gui acess to my pfsense.
                    The freebsd repositories when i try update pkg upgrade or pkg-static upgrade the o.s attempt to push repositories he try download an repository from 2019, but, this repository no exists, only repositories from FreeBSD Version 13

                    a94292a5-45d1-41f3-ae01-f5e736aa6a87-image.png

                    1 Reply Last reply Reply Quote 0
                    • X
                      xarope1337 @Gertjan
                      last edited by

                      @Gertjan woah... this is terrible. I Can't going updating like a "going up stairs?"
                      Updating version per version..

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

                        @xarope1337 You should not be trying to update anything manually, use the console option or the web GUI to upgrade. Yes there are very likely multiple steps if you are that many versions old. Hence the suggestions to just install again and restore from backup. :)

                        Edit: the pfSense updates will also update FreeBSD along the way.

                        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!

                        X 1 Reply Last reply Reply Quote 0
                        • X
                          xarope1337 @SteveITS
                          last edited by

                          @SteveITS my boss don't want to install again pfsense, and i can't say no, he is a little pride, because this i need to solve this problem.

                          soo, let's go:
                          i can just upgrading just pressing the button "Confirm" ?

                          05616975-0a6f-4132-9d93-9dfe417e11d0-image.png

                          or i am have other form to updating this version per version, avoiding the "biggest" update jumping 2.4.5 to 23.01 ?

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

                            @xarope1337 If it is offered, it should work. If it runs into problems, reinstalling is safest/best/fastest.

                            What model hardware is this? You can open a ticket and download the firmware first. https://docs.netgate.com/pfsense/en/latest/solutions/

                            You should probably read
                            https://docs.netgate.com/pfsense/en/latest/install/upgrade-guide-versions.html
                            and
                            https://docs.netgate.com/pfsense/en/latest/install/upgrade-guide.html

                            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!

                            X 1 Reply Last reply Reply Quote 1
                            • X
                              xarope1337 @SteveITS
                              last edited by

                              @SteveITS i'll see these articles, thanks a lot!
                              we use this pfsense in AWS EC2.

                              I press the confirmation button, but the update system is stuck

                              42a707f0-9176-42a9-8682-0c0b92784c08-image.png

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

                                To be clear pfSense does not use the FreeBSD pkg repos and if you see it trying to connect there then something/someone has added custom repo files.

                                What branches do you see offered in the GUI?

                                Try to upgrade at the command line so you see more useful error output:
                                pfSense-upgrade -d

                                X 1 Reply Last reply Reply Quote 0
                                • X
                                  xarope1337 @stephenw10
                                  last edited by

                                  @stephenw10 said in Cannot Update PFSENSE:

                                  Try to upgrade at the command line so you see more useful error output:
                                  pfSense-upgrade -d

                                  Hello, when i try to run this command, the CLI returns me:

                                  PFSENSED.png

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

                                    OK so it's trying to use something in pkg that doesn't exist in 2.4.5.

                                    So, again, what update branches do you see offered in the GUI?

                                    2.4.5 to 23.01 is too large a jump. You will probably need to upgrade first to something closer to 2.4.5.

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