Technically, minor or point release updates are released to solve issues. But things may get worse when some updates break your current workflow.
Whether a Flatpak package or Snap, everything breaks at some point when there is an issue. Being a sandboxed packaging solution, it may not affect the entire system, but if you encounter a bug that makes your app experience worse, you may regret the update.
For example, the previous update of [Black Box][1] was bundled with certain bugs, and I could not select text! Developers have solved this issue now, but until they did not, I downgraded that specific package to make things work.
So, if you want to downgrade a specific app installed as a Flatpak, you can follow this guide.
### Downgrade Flatpak packages in Linux
**Disclaimer:** Unlike installing Flatpaks, you need **sudo** privileges to downgrade Flatpak packages. And if your user doesn’t have them, you can follow our detailed guide on [how to give sudo access to users][2].
**Recommended Read**: [How to Apply GTK Themes on Flatpak Applications][3]
Here are the steps below:
#### 1. Get the Application ID of the Package
The first step is to find the Application ID of the package you want to downgrade. You can easily find it by listing the installed packages:
```
flatpak list --app
```
![find flatpak package id in linux][4]
Note down the application ID of the package you want to downgrade.
Here, I am going to downgrade the Black Box, so my application ID will be `com.raggesilver.BlackBox`.
#### 2. List previous releases and get the commit code
Once you get the application ID, you’d need to list the previous releases.
You can easily do this by following the given command syntax:
```
flatpak remote-info --log flathub <ApplicationID>
```
![find previous releases in flatpak][5]
Once you find the preferred previous release, copy the commit code as shown above.
#### 3. Downgrade the Flatpack package
Once you follow the first two steps, you should have the following:
- Application ID of the package.
- Commit code of preferred older release.
Now, you have to put them in the following command:
To check whether you have successfully downgraded the package, you can list the packages that need to be updated (considering everything else is up-to-date). It should include the name of the package that you have recently downgraded:
```
flatpak update
```
![downgrade flatpak package][7]
And as you can see, the Black Box is outdated and needs to be updated, meaning the package has been downgraded successfully!
### Wrapping Up
In this quick tutorial, I explained how you downgrade Flatpak packages, and I hope you find this helpful.
And if you have any queries or suggestions, let me know in the comments.