Cannot upgrade pkg 1.15.6

Started by jkemp, December 17, 2020, 11:29:34 PM

Previous topic - Next topic
Hello can someone point me to a solution to fix an upgrade issue. I get this error while trying to do a mandatory upgrade.

Installed packages to be UPGRADED:
   pkg: 1.15.6 -> 1.15.10_1

Number of packages to be upgraded: 1
[1/1] Upgrading pkg from 1.15.6 to 1.15.10_1...
Child process pid=17194 terminated abnormally: Segmentation fault
A firmware update is currently in progress.

*** OPNsense.localdomain.local: OPNsense 20.7.2 (amd64/OpenSSL) ***

Try this...

# pkg bootstrap -f


Cheers,
Franco

# pkg bootstrap -f
The package management tool is not yet installed on your system.
Do you want to fetch and install it now? [y/N]: y
Bootstrapping pkg from pkg+http://mirror.sfo12.us.leaseweb.net/opnsense/FreeBSD:12:amd64/20.7/latest, please wait...
Verifying signature with trusted certificate pkg.opnsense.org.20200313... done
Installing pkg-1.15.10_1...
package pkg is already installed, forced install
Child process pid=36200 terminated abnormally: Segmentation fault

Can you post your dmesg output? Last few lines after it hits the segmentation fault.


Thanks,
Franco

vm_fault: pager read error, pid 52506 (pkg-static)
Failed to fully fault ina core file segment at VA 0x10053800000 with size 0xfb1000 to be written at offset 0x9d3000 for precess pkg-static
pid 52506 (pkg-static), jid 0, uid 0: exited on signal 11 (core dumped)