OPNsense Forum

Archive => 21.7 Legacy Series => Topic started by: Mattia_98 on April 24, 2022, 02:03:30 pm

Title: Segmentation fault when upgrading
Post by: Mattia_98 on April 24, 2022, 02:03:30 pm
Hello,

I've been trying to upgrade my 21.7 OPNsense box, but every time I try I get a Segmentation fault during the checking phase. I also tried via shell using pkg-static but I get the same result. Here is the log:

Code: [Select]
Fetching change log information, please wait... done

This will automatically fetch all available updates and apply them.

This update requires a reboot.

Proceed with this action? [y/N]: y

Updating OPNsense repository catalogue...
OPNsense repository is up to date.
All repositories are up to date.
Updating OPNsense repository catalogue...
OPNsense repository is up to date.
All repositories are up to date.
Checking for upgrades (76 candidates): .......... done
Processing candidates (76 candidates): .......... done
Checking integrity...Child process pid=6531 terminated abnormally: Segmentation fault
Starting web GUI...done.
Generating RRD graphs...done.


Any idea what could be the issue?
Title: Re: Segmentation fault when upgrading
Post by: Mattia_98 on May 07, 2022, 03:03:18 pm
Swapping the RAM did not fix the issue.

Interestingly `check -B` also fails:

Code: [Select]
root@OPNsense:~ # pkg check -d
Checking all packages: 100%
root@OPNsense:~ # pkg check -B
Checking all packages:  58%Child process pid=94279 terminated abnormally: Segmentation fault