OPNsense Forum

Archive => 23.7 Legacy Series => Topic started by: thorneo on October 04, 2023, 09:08:41 AM

Title: how do I gain access to the command line?
Post by: thorneo on October 04, 2023, 09:08:41 AM
I have been trying to update to the latest version of opnsense but I get so far into it and it errors out saying and I quot " pkg-static: cached package clamav-1.2.0_1,1: missing or size mismatch, cannot continue
Consider running 'pkg update -f' "

So how do I do this command 'pkg update -f'
Title: Re: how do I gain access to the command line?
Post by: Patrick M. Hausen on October 04, 2023, 09:21:45 AM
Enable SSH in System > Settings > Administration > Secure Shell Server. Then use SSH to log on.
Title: Re: how do I gain access to the command line?
Post by: CJ on October 04, 2023, 03:02:05 PM
Before you do that, try changing your mirror and running an upgrade audit.  I think that will clear out any bad cached packages and let you perform the upgrade.