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.
Run Code Online (Sandbox Code Playgroud)
在 Ubuntu 22.10 中安装 Flatpak 不需要 PPA,因为它已经存在于默认存储库中。您收到此错误消息是因为 PPA 没有适合您的 Ubuntu 版本的软件包。
首先,移除 PPA。
sudo add-apt-repository --remove ppa:flatpak/stable
Run Code Online (Sandbox Code Playgroud)
然后,更新 APT 索引。
sudo apt update
Run Code Online (Sandbox Code Playgroud)
最后,安装 flatpak
sudo apt install flatpak
Run Code Online (Sandbox Code Playgroud)