

This is completely unrelated to your problem:
The calibre website recommends extremely strongly against using their software packaged by anyone else other than calibre themselves as they are often (see usually) buggy or extremely outdated.
It may be worth it to manually “install” the app from their website somewhere in your ~/.local/ and see if you have less issues using the official package.
Can’t use libreOffice and translate the Q code into whatever language libreCalc uses?