Senin, 26 Desember 2022

How to Downgrade Flatpak Packages in Linux

How to Downgrade Flatpak Packages in Linux

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 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.

Recommended Read: How to Apply GTK Themes on Flatpak Applications

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
How to Downgrade Flatpak Packages in Linux

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 <Application ID>
How to Downgrade Flatpak Packages in Linux

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:

sudo flatpak update --commit=<commit_code> <Application ID>

As I’m downgrading Black Box to the previous release, I’ll be using the following command:

sudo flatpak update --commit=c4ef3f4be655cbe2559451a9ef5977ab28139c54bb5adbd7db812f3482bd0db5 com.raggesilver.BlackBox
How to Downgrade Flatpak Packages in Linux

And that’s it!

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
How to Downgrade Flatpak Packages in Linux

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.



from It's FOSS https://ift.tt/bsYVgeT
via IFTTT

Kamis, 22 Desember 2022

Free and Open-Source Alternatives to Microsoft Planner

You can replace Microsoft Planner with free and open-source tools. Here are some of your options.

from It's FOSS https://ift.tt/rbIhVTY
via IFTTT

Selasa, 20 Desember 2022

How to Update Pi-hole Easily

Install Pi-hole is just the first step in the battle against ads. Keeping Pi-hole updated regularly is the way forward.

from It's FOSS https://ift.tt/Vphvx5f
via IFTTT

Senin, 19 Desember 2022

How to Downgrade Flatpak Packages in Linux

Having trouble with a Flatpak app update? You can always downgrade to fix the issues.

from It's FOSS https://ift.tt/GdUTqVI
via IFTTT

Jumat, 16 Desember 2022

Yes! You Can Install Unity Desktop on Arch Linux. Here’s How!

Unity has been brought back to life by volunteers. While there is an Ubuntu Unity flavor, Arch Linux users can also install and use Unity on their systems. Here's how!

from It's FOSS https://ift.tt/wQxeXI4
via IFTTT

Kamis, 15 Desember 2022

Harmonoid: A Beautiful Cross-Platform Music Player With Essential Features

A beautiful open-source cross-platform music player with a good feature set like lyrics display and upload, library management and more.

from It's FOSS https://ift.tt/fDphO6w
via IFTTT

Rabu, 14 Desember 2022

How to Switch from Debian Stable to Testing

Tired of the old software in Debian stable but don't want to move to another distro? Try switching to Debian Testing instead and enjoy the best of both worlds.

from It's FOSS https://ift.tt/WPLAfXm
via IFTTT

Senin, 12 Desember 2022

Battle of the Texts and the Unicode Savior

You never realize that typing text on the computer could be complicated until you have to deal with other languages. See how Unicode helps in such cases.

from It's FOSS https://ift.tt/iTyuc2x
via IFTTT

Minggu, 11 Desember 2022

How to Install the Minimalist ArchBang Linux Distro

Complete step by step beginner's guide for installing the minimal ArchBang Linux distribution on a bare metal system or a virtual machine.

from It's FOSS https://ift.tt/BLMEZO8
via IFTTT

Sabtu, 10 Desember 2022

How to Update Flatpak Packages in Linux

Many Linux desktop users tend to forget to update the Flatpak packages as they are not included in the regular system updates. Here's how to update them.

from It's FOSS https://ift.tt/7FGjHfz
via IFTTT

Rabu, 07 Desember 2022

Convert and Manipulate Images With ‘Converter’ GUI Tool in Linux

A GUI front-end to ImageMagick to convert and manipulate images on Linux. Learn more about using this nifty tool.

from It's FOSS https://ift.tt/3KUf6qC
via IFTTT

Selasa, 06 Desember 2022

How to Access UEFI Settings in Linux Systems

A simple beginner's tutorial discussing various ways of accessing UEFI firmware settings in a Linux computer.

from It's FOSS https://ift.tt/RuQrA8K
via IFTTT

LibreOffice vs FreeOffice: Comparing Popular Free Office Suites

LibreOffice and FreeOffice are two popular choices when it comes to a free alternative to Microsoft Office. Here's how these two office suites are similar and different.

from It's FOSS https://ift.tt/VQrJ95O
via IFTTT

Sabtu, 03 Desember 2022

What is Firefox ESR? How to Install it in Ubuntu?

Want a more stable and streamlined experience with Firefox? Use Firefox-ESR which is trusted by Debian stable.

from It's FOSS https://ift.tt/rItXiOp
via IFTTT

Jumat, 02 Desember 2022

Getting Nostalgic With the Historical Coherent Operating System

The 90s was a wonderful decade. Apart from great music, you also had interesting tech. Coherent was part of the 90s UNIX-like operating systems.

from It's FOSS https://ift.tt/TQOWeqM
via IFTTT

Kamis, 01 Desember 2022

Monica: An Open-Source App for Personal Relationship Management

It's not CRM, it's PRM. Monica is an open-source personal relationship management software. Curious? Learn more here.

from It's FOSS https://ift.tt/KxvoCAl
via IFTTT