I have also had that error, when I was trying out PureOS on an old laptop. I think it happens due to a bug that has been reported before, for example here:
Unfortunately there is no fix yet, as far as I know.
The good news is that although this is annoying it’s just a failure of the command-not-found feature which is supposed to give you a message like this:
xyzabc: command not found
or if it’s available in some package that can be installed, it should say this:
Command ‘xyzabc’ not found, but can be installed with:
sudo apt install xyzabc
So you can live without that feature. When you get that strange error message about command-not-found and local variable ‘cnf’ and so on, it just means that the command you tried to use is not available. Try using “apt install” to install the package first.
To get rid of the confusing error message, I think you can safely remove the command-not-found package. Then you will just get the “xyzabc: command not found” message everytime, skipping the fancy feature of checking if there is a package that can be installed to get the command working.
Which command is it that you are trying to use when getting the command-not-found error message?
Not true, It does not allow me to configure my VPN, I cant configure it to connect to some servers and/or even change file extensions via command line.
I mean, I thought I was good to go, then one day I got the extentions error etc.
I wonder if it means I need to reflash my device again.
I am on the latest OEM from August, using a lIbrem 15v4.
Dang it, just set up more virtual boxes in Gnome.
I went to the wikis and tried all kinds of things. I sort of feel like I need to just reimage again but I should be getting my Librem Key on Monday or Tuesday so it would be a wasted effort if I have to reimage it again to configure the key.