[SOLVED] SNAFU after Update to 16.1

Started by loden_richard, February 28, 2016, 02:55:09 PM

Previous topic - Next topic
February 28, 2016, 02:55:09 PM Last Edit: February 28, 2016, 05:31:54 PM by loden_richard
Hi guys,

I updated my box and at first I was a little bit surprised, that my box wasn't going to reboot itself. The web front end was gone, but I could connect via SSH. So I checked and doesn't saw any update process running (after ca. 8h time for the update). So I rebooted and viola I have a freebsd running, but no service came up from opnsense. So I tried to update opnsense via opnsense-update and then I got a nice pkg tool loop with "A new version of pkg was detected [...]". So I tried "pkg upgrade -f pkg" but then pkg was installed several time without being installed really i guess.
Ok, where ended I up? Now I can't use pkg, because my system tells me "The package management tool is not yet installed on your system. Do you want to fetch and install it now?", if I want to install it I get the following output "pkg: Error loading trusted certificates"

Does anyone has advice for me?

regards richard

Can you try to run this for recovery if it is installed:

# opnsense-bootstrap

What kind of system is this, nano or normal disk install, how much RAM? opnsense-bootstrap works, but only if it can fetch all system components, and that's over 200 MB.

Thank you for your help. As you figured out:

a reset of the pkg and reset the packages on the system did the job

reset pkg
rm /usr/local/etc/pkg/repos/

reset the packages
rm /var/db/pkg/*.sqlite

Then get the update via
opnsense-bootstrap

Thank you for your advice :)