Wrong ngspice version for Linux Mint.

I'm using Linux Mint (which is the not officially supported, but Ubuntu is the closest). I have ran some ngSpice simulations before, and they worked, but today I tried to run a simulation from a forum download and it did not work. Then Holger answered on the user forum:

MIF-ERROR - unable to find definition of model a$poly$e.xu2.e_ro1_voh

is a sign for an installation problem. The code models are missing. This is a package problem, out of my reach.

As a result, I did an:

sudo apt install libngspice-kicad

which replaced libngspice0 with libngspice-kicad and after that the simulation did work.