Install a particular version of a Flatpak package
Overview
I had Cura break on me due to the Fluidd/Moonraker Plugin Iโve been using.
So the simplest thing I thought to do was roll back my Cura version, sadly this is hard with Flatpak and not exactly supported.
How To
First, you need to figure out what commit version of the app you need (Yep commit not version number).
flatpak remote-info --log com.ultimaker.cura
Once you have the commit version you need, you can upgrade to that version (Even if it is a downgrade).
flatpak update com.ultimaker.cura --commit=ac4bdf52bd8ed4d1da279e4025693e41e89dec16441b2821b792cb0452ef37b2
Now that the version you want is installed, we need to pin or mask it so it doesnโt update again.
flatpak mask com.ultimaker.cura
Now you are all done.