3

Just did a clean 20.04 install on my laptop.

Tried to install flatpak (cli), to install some additional software

Doesn't work:

 sudo apt install flatpak

Package flatpak is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
xdg-desktop-portal

Which is nonsense, because it is installed and flatpak doesn't work:

flatpak
flatpak: command not found

Why is flatpak not available in 20.04?

How do I install flatpak (cli)?

UPDATE Flatpak is available after doing:

sudo apt update && sudo apt full-upgrade -y

(kudos to mook765)

Still:

  • shouldn't this by done automatically after finishing an install
  • the message that it is replaced by xdg-desktop-portal is confusing
Janghou
  • 5,709

1 Answers1

1

You need to update (and upgrade recommended) before you can install flatpak.

sudo apt update && sudo apt full-upgrade -y

(kudos to mook765)

Janghou
  • 5,709