![新安装的 ubuntu flatpak 和我在更新时收到此错误](https://linux22.com/image/1192177/%E6%96%B0%E5%AE%89%E8%A3%85%E7%9A%84%20ubuntu%20flatpak%20%E5%92%8C%E6%88%91%E5%9C%A8%E6%9B%B4%E6%96%B0%E6%97%B6%E6%94%B6%E5%88%B0%E6%AD%A4%E9%94%99%E8%AF%AF%20.png)
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.
答案1
您不需要 PPA 即可在 Ubuntu 22.10 中安装 Flatpak,因为它已存在于默认存储库中。您收到此错误消息是因为 PPA 没有适合您的 Ubuntu 版本的软件包。
首先,删除 PPA。
sudo add-apt-repository --remove ppa:flatpak/stable
然后,更新 APT 索引。
sudo apt update
最后,使用以下命令安装 flatpak
sudo apt install flatpak