OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 16.1 Legacy Series »
  • [SOLVED] SNAFU after Update to 16.1
« previous next »
  • Print
Pages: [1]

Author Topic: [SOLVED] SNAFU after Update to 16.1  (Read 3038 times)

loden_richard

  • Newbie
  • *
  • Posts: 27
  • Karma: 2
    • View Profile
[SOLVED] SNAFU after Update to 16.1
« on: February 28, 2016, 02:55:09 pm »
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
« Last Edit: February 28, 2016, 05:31:54 pm by loden_richard »
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13936
  • Karma: 1208
    • View Profile
Re: SNAFU after Update to 16.1
« Reply #1 on: February 28, 2016, 04:14:27 pm »
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.
Logged

loden_richard

  • Newbie
  • *
  • Posts: 27
  • Karma: 2
    • View Profile
Re: SNAFU after Update to 16.1
« Reply #2 on: February 28, 2016, 05:31:25 pm »
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 :)
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13936
  • Karma: 1208
    • View Profile
Re: [SOLVED] SNAFU after Update to 16.1
« Reply #3 on: February 28, 2016, 06:58:45 pm »
Neat, thanks for checking back. :)
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 16.1 Legacy Series »
  • [SOLVED] SNAFU after Update to 16.1
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2