Netgate Store

Author Topic: "Assertion failed" from pkg durign 2.3.2 upgrade  (Read 1031 times)

0 Members and 1 Guest are viewing this topic.

Offline jkent3rd

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
"Assertion failed" from pkg durign 2.3.2 upgrade
« on: August 01, 2016, 11:05:00 pm »
I hit a similar problem when upgrading through the webapp.  All the packages appeared to install correctly, but on reboot my version appears to still be 2.3.1, the version check on the dashboard fails.  I followed the instructions to do: "pfSense-upgrade -d" from the shell and get the following:

Quote
>>> Updating repositories metadata...
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.
Assertion failed: (strcmp(uid, p->uid) != 0), function pkg_conflicts_check_local_path, file pkg_jobs_conflicts.c, line 399.
Child process pid=18427 terminated abnormally: Abort trap
>>> Unlocking package pfSense-kernel-pfSense...
Unlocking pfSense-kernel-pfSense-2.3.2
Assertion failed: (strcmp(uid, p->uid) != 0), function pkg_conflicts_check_local_path, file pkg_jobs_conflicts.c, line 399.
Child process pid=22692 terminated abnormally: Abort trap

**** WARNING ****
Reboot will be required!!
Proceed with upgrade? (y/N) Y
Aborting...
>>> Locking package pfSense-kernel-pfSense...
Locking pfSense-kernel-pfSense-2.3.2
[2.3.1-RELEASE][root@LeMonde.local]/root:

Any ideas?

Offline jimp

  • Administrator
  • Hero Member
  • *****
  • Posts: 21835
  • Karma: +1525/-26
    • View Profile
Re: "Assertion failed" from pkg durign 2.3.2 upgrade
« Reply #1 on: August 02, 2016, 07:09:45 am »
I split this off the other post because it was not related.

Try running "pkg update -f", see if it produces any errors. Then try "pkg update" (without the "-f"). If neither of those show an error, see what "pkg upgrade" does.

Also check what version of pkg you have, you can see that with "pkg info -x pkg"
Need help fast? Commercial Support!

Co-Author of pfSense: The Definitive Guide. - Check the Doc Wiki for FAQs.

Do not PM for help!

Offline jkent3rd

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: "Assertion failed" from pkg durign 2.3.2 upgrade
« Reply #2 on: August 02, 2016, 10:04:36 pm »
Thank you!

'pkg update -f' and 'pkg update' report no errors.

'pkg upgrade" yields a similar error:
Quote
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 (65 candidates): 100%
Processing candidates (65 candidates):  67%

pfSense-kernel-pfSense-2.3.2 is locked and may not be modified
Processing candidates (65 candidates): 100%
Checking integrity...Assertion failed: (strcmp(uid, p->uid) != 0), function pkg_conflicts_check_local_path, file pkg_jobs_conflicts.c, line 399.
Child process pid=52298 terminated abnormally: Abort trap


'pkg info -x pkg' yields:
Quote
pfSense-pkg-Avahi-1.11_2
pfSense-pkg-System_Patches-1.1.4_1
pkg-1.8.7_1

Offline jkent3rd

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: "Assertion failed" from pkg durign 2.3.2 upgrade
« Reply #3 on: August 02, 2016, 10:44:45 pm »
I think I've worked around the problem.

I ran "pkg info" from the shell and noted all pfSense packages that remained "2.3.1_1".

I ran "pkg install" for the "2.3.2" version of each of these versions, including "base", "config", and finally "pfSense".

It uninstalled a dns related package and installed "dnsmasq" but now it reboots, identifies as 2.3.2, and seems to be functioning correctly now.