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

    Trying to upgrade to 2.5.1 give assertion failed error

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    10 Posts 3 Posters 1.4k 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.
    • L
      lobotiger
      last edited by

      Hey everyone,

      Decided to try to upgrade from 2.4.5.p1 to 2.5.1 today and from the web interface I'm receiving the following information and the upgrade fails:

      Updating repositories metadata...
      Updating pfSense-core repository catalogue...
      Fetching meta.conf: . done
      Fetching packagesite.txz: . done
      Processing entries: . done
      pfSense-core repository update completed. 7 packages processed.
      Updating pfSense repository catalogue...
      Fetching meta.conf: . done
      Fetching packagesite.txz: .......... done
      Processing entries:
      Processing entries............. done
      pfSense repository update completed. 508 packages processed.
      All repositories are up to date.
      Locking package pkg... done.
      Removing vital flag from php72... done.
      Unlocking package pkg... done.
      Downloading upgrade packages...
      Updating pfSense-core repository catalogue...
      pfSense-core repository is up to date.
      Updating pfSense repository catalogue...
      pfSense repository is up to date.
      All repositories are up to date.
      Checking for upgrades (148 candidates): .......... done
      Processing candidates (148 candidates): .......... done
      Checking integrity...Assertion failed: (strcmp(uid, p->uid) != 0), function pkg_conflicts_check_local_path, file pkg_jobs_conflicts.c, line 386.

      I've tried rebooting but I continue having the same problem. I have the following packages installed as well:

      LADVD
      ntopng
      openvpn-client-export
      pfBlockerNG-devel
      RRD_Summary
      snort
      Status_Traffic_Totals

      Any tips or suggestions?

      Thanks!

      AKEGECA 1 Reply Last reply Reply Quote 0
      • AKEGECA
        AKEGEC @lobotiger
        last edited by

        @lobotiger Just a suggestion, backup config file and fresh install from usb. Then restore your config file but click on Reinstall Packages button.

        L 1 Reply Last reply Reply Quote 0
        • L
          lobotiger @AKEGEC
          last edited by

          @akegec I'm really hoping I don't have to go that route but it has crossed my mind. Just hoping if there's some simpler solution that won't take down the internet at home for a couple of hours.

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

            @lobotiger said in Trying to upgrade to 2.5.1 give assertion failed error:

            for a couple of hours.

            Installing pfSense on an ancient (15 years old granddad style hardisk) might take a couple of minutes - or even 10 ....
            The reboot a minute or so.
            5 minutes more (type slowly) Intial config : assign two interfaces, make WAN work - and that's it : your online.

            When online : download manually, one by one, all the packages needed. Do not set them up.
            As soon as they are all there, import the original saved config. pfSense reboots with all the packages set up and running. 2 minutes ?

            Why the "couple of hours" ?

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

            L 1 Reply Last reply Reply Quote 0
            • L
              lobotiger @Gertjan
              last edited by

              @gertjan Ok, a couple of hours is probably the extreme side of things. Still looks like it would be close to an hour which could easily be avoided if someone could provide some insight into the error I'm receiving.

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

                This,

                @lobotiger said in Trying to upgrade to 2.5.1 give assertion failed error:

                Checking integrity...Assertion failed: (strcmp(uid, p->uid) != 0), function pkg_conflicts_check_local_path, file pkg_jobs_conflicts.c, line 386.

                when you turn it into Google food, brings you straight to :

                function pkg_conflicts_check_local_path, file pkg_jobs_conflicts.c, line 386

                That didn't work out ?

                edit

                pkg check -s -a  > & missing.txt
                

                and now check missing.txt
                I had close to 3000 lines with messages that doc and man files are missing.
                That's ok.

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

                L 1 Reply Last reply Reply Quote 0
                • L
                  lobotiger @Gertjan
                  last edited by

                  @gertjan

                  Thanks for the command to try out. I do recall seeing that link when I Google'd for the error but wasn't sure if it applied as I was looking for a pfsense specific post. Nonetheless, I tried the command as suggested and got this:

                  [2.4.5-RELEASE][root@lazerbeak.decepticon.com]/root: pkg check -s -a
                  Shared object "libarchive.so.7" not found, required by "pkg"
                  [2.4.5-RELEASE][root@lazerbeak.decepticon.com]/root:

                  That message led me to this article on resolving that error: https://tcpip.wtf/en/pfsense-pkg-error-shared-object-libarchiveso7-not-found-req.htm

                  But after doing what it recommended and reverting back to 2.4 repository, I re-pointed it to 2.5 and tried to update again but I'm still receiving the same errors as my first post.

                  Is my last option to just do a fresh install?

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

                    @lobotiger said in Trying to upgrade to 2.5.1 give assertion failed error:

                    Shared object "libarchive.so.7" not found, required by "pkg"

                    And this "libarchive.so.7" can be found on this forum.

                    Let's take the last one, somewhat 24 hours ago : https://forum.netgate.com/topic/163128/stuck-upgrade-left-pkg-unusable-on-sg-1100?_=1619012817171

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

                    L 1 Reply Last reply Reply Quote 0
                    • L
                      lobotiger @Gertjan
                      last edited by

                      @gertjan Thanks for the other post. I'm guessing I'll probably be doing a re-install this weekend to get over this.

                      L 1 Reply Last reply Reply Quote 0
                      • L
                        lobotiger @lobotiger
                        last edited by

                        Just as an FYI to anyone else finding this post, I ended up doing a backup and then a new re-install to the latest version. Imported my backup and I'm good to go with no more errors being seen.

                        1 Reply Last reply Reply Quote 0
                        • D DANgerous25 referenced this topic on
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.