Install older versions

If I install an app like a browser and the latest update version does not work can I install or fall back to an older version ?

flatpak remote-info --log flathub org.gnome.gedit
sudo flatpak update --commit=961eb64d42264cbb347acb33650bfa98d8ccdf0d69a4a6f72f328e2455f335be org.gnome.gedit

What is those command suppose to do

Install older versions? This is an example. I installed version 44.1 of org.gnome.gedit. The current version is 44.2.

How do you know the older version. for example Firefox I do not see a older version.

I can see older commits of Firefox. You have to try the commits. I like the OSTree under the hood of Flatpak:
https://docs.flatpak.org/en/latest/under-the-hood.html

The document refers to rollback but I do not see any information on how this is accomplished.

Hello compis1,
It’s 3 years later but I am going to add what I found out in case someone else finds this.

First, find out the app id. For example I searched “flabhub firefox id” , yes I am a googler lol. In any case, Firefox flathub ID is “org.mozilla.firefox"

Second, you use terminal and type “flatpak remote-info --log flathub org.mozilla.firefox”
This will display to you information along with previous commits (Git commits I assume).

Lastly, if there is a version you would like to revert on that list, which is unlikely due to pruning but if the version is recent you might be in luck. Copy the commit and add it to the line that frank.fh provided. For example, for Firefox I found 7 commits. One of them looks like this:

Commit: 5a35aad47195f8e172eef169fd0b6a7cf251c4caaaec4df0911920ed3f96bb9c
Subject: Export org.mozilla.firefox
Date: 2025-12-09 13:47:52 +0000

the line would be :
sudo flatpak update --commit=5a35aad47195f8e172eef169fd0b6a7cf251c4caaaec4df0911920ed3f96bb9c org.mozilla.firefox

I hope this helps

Tariq