Trying to upgrade to 2.5.1 give assertion failed error
-
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_TotalsAny tips or suggestions?
Thanks!
-
@lobotiger Just a suggestion, backup config file and fresh install from usb. Then restore your config file but click on Reinstall Packages button.
-
@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.
-
@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" ?
-
@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.
-
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. -
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?
-
@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
-
@gertjan Thanks for the other post. I'm guessing I'll probably be doing a re-install this weekend to get over this.
-
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.
-