3
E: The repository 'https://ppa.launchpadcontent.net/flatpak/stable/ubuntu kinetic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
user.dz
  • 48,105
  • PPAs are 3rd party sources (PPA = Personal Package Archive) so all security is on you to perform as no guarantees of quality/fitness etc. is provided. A quick check of https://launchpad.net/~flatpak/+archive/ubuntu/stable should have shown you it didn't provide support for kinetic (22.10), thus adding it was an incorrect/unwise decision. – guiverc Jan 20 '23 at 22:17
  • The duplicate answer deals with your error message & mistake in adding the PPA; the excellent answer from @Archisman Panigrahi outlines both how to fix for your situation & what you should have done. – guiverc Jan 20 '23 at 22:20

1 Answers1

6

You don't need a PPA to install Flatpak in Ubuntu 22.10, because it is already there in the default repositories. You got this error message because the PPA does not have a package for your version of Ubuntu.

First, remove the PPA.

sudo add-apt-repository --remove ppa:flatpak/stable

Then, update the APT index.

sudo apt update

Finally, install flatpak with

sudo apt install flatpak
Archisman Panigrahi
  • 28,338
  • 18
  • 105
  • 212