OPNsense Forum

English Forums => 25.1, 25.4 Production Series => Topic started by: My_Network on February 13, 2025, 08:24:15 PM

Title: Reinstallation or fixable?
Post by: My_Network on February 13, 2025, 08:24:15 PM
Hi guys,

I did something wrong. Took advise from the "internet" very late and the result was unfixable from my standpoint..


The last output from "root@opnsense:~ # opnsense-update -G" was:

Updating OPNsense repository catalogue...
pkg-static: Repository OPNsense has a wrong packagesite, need to re-create database
pkg-static: file:///var/cache/opnsense-update/.sets.pending/packages-/meta.txz: No such file or directory
repository OPNsense has no meta file, using default settings
pkg-static: file:///var/cache/opnsense-update/.sets.pending/packages-/packagesite.pkg: No such file or directory
pkg-static: file:///var/cache/opnsense-update/.sets.pending/packages-/packagesite.txz: No such file or directory
Unable to update repository OPNsense
Error updating repositories!



The last commands that were made were:

# opnsense-revert pkg
# opnsense-update -u


And now when the firewall starts im stuck with this error:

Please see attatched picture.


Im still able to reboot with a live environement using the import and get to the xml, but never had to do the process.. Is there something that can be done to get me out of this mess? I was running 24.7.12_4 prior to updating in shell..

Thank you,

Nick
Title: Re: Reinstallation or fixable?
Post by: My_Network on February 14, 2025, 03:59:37 AM
I was able to recover my firewall using the import in the installation. Seems fine now.