3

So basically I wanted to add Flatpak support to Discover and I came up with these two different Apt commands

sudo apt install plasma-discover-flatpak-backend

sudo apt install plasma-discover-backend-flatpak

They appear to be two different packages with very similar name I decided to install both just to be sure, but I don't know if that's going to cause an issue down the line or something

Could anyone explain the difference between the two and if its OK if I installed them both?

(And if installing them both is an issue which one should I keep?)

2 Answers2

4

TL;DR on modern systems 21.04, 21.10 and upcoming 22.04 LTS you have to use plasma-discover-backend-flatpak package, on older 18.04 LTS and 20.04 LTS systems it will be installed by transitional package named plasma-discover-flatpak-backend as dependency.

According to the search on packages.ubuntu.com both two packages exist with the following relations and properties:

  • plasma-discover-flatpak-backend exists only in 18.04 LTS and 20.04 LTS.

    In 18.04 LTS is provides Flatpak functionality to Discover. In 20.04 LTS it depends on plasma-discover-backend-flatpak, the latter provides Flatpak functionality to Discover. For 20.04 LTS plasma-discover-flatpak-backend is marked as transitional package.

  • plasma-discover-backend-flatpak exists in all modern Ubuntu releases like 20.04 LTS, 21.04, 21.10 and upcoming 22.04 LTS.

    This package provides Flatpak functionality to Discover.

N0rbert
  • 103,263
-2

So, according to this post, you're installing packages for versions 18.04 <> 20.04.
Google search is a good friend, if you use too =) !