1

As i executed

sudo apt install flatpak

On my live usb booted ubuntu 22.04 The terminal throws the error message as follows

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

and yes I tried updating and upgrading ubuntu 22.04 with

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

But no use. Please help!

1 Answers1

3

Run

sudo add-apt-repository universe

Then update and upgrade

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

Now try installing flatpak

sudo apt install flatpak

The universe repo was not enabled in 22.04 while running on live usb as @Lorenz Keel said in comment