1

I have issues with a newer version of a Flatpak for reasons unrelated to this question, and I would therefore like to "pin" the Flatpak to an older version so that I don't manually need to roll it back whenever I update my Flatpaks. I found this issue, but it doesn't explain how to actually do it. How might I go about doing this?

1 Answer 1

2

You can use flatpak-mask for this: https://man7.org/linux/man-pages/man1/flatpak-mask.1.html

For example, if you want to prevent updates to Signal desktop for whatever reason:

$ flatpak mask org.signal.Signal

This will make Flatpak ignore Signal when updating.

If you later want to remove this, you can do this:

$ flatpak mask --remove org.signal.Signal

And if you want to list all currently masked patterns:

$ flatpak mask
1
  • Personally I needed to use sudo for these commands (except last), even though I normally don't need sudo for flatpak. It's the same with flatpak update.
    – makeworld
    Jun 22 at 22:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.