OPNsense Forum

Archive => 20.7 Legacy Series => Topic started by: nielsk on August 02, 2020, 01:42:09 AM

Title: pkg: local database nonexistent!
Post by: nielsk on August 02, 2020, 01:42:09 AM
I installed wireguard and uninstalled it using the web interface but now the whole package list is empty except base and kernel.
when I ssh into the box the out put of pkg stats is: Local package database nonexistent!

any suggestions how to solve this?
Title: Re: pkg: local database nonexistent!
Post by: nielsk on August 02, 2020, 02:03:51 AM
the cause seem to be that I accicently removed /root/var directory :-(
Title: Re: pkg: local database nonexistent!
Post by: franco on August 02, 2020, 11:40:40 AM
And /var MFS ramdisk was enabled... ;)

Best way to fix is to run "opnsense-bootstrap".


Cheers,
Franco
Title: Re: pkg: local database nonexistent!
Post by: nielsk on August 02, 2020, 01:14:05 PM
thanks for the advise, but I not able to test it any more because I just did a fresh re-install of 20.7.