Ubuntu 22.04 上需要 flatpak 1.14.4,但 apt 安装 flatpak 1.12.7 作为最新版本

Ubuntu 22.04 上需要 flatpak 1.14.4,但 apt 安装 flatpak 1.12.7 作为最新版本

我想要 flatpak 1.14.4 来解决这个问题尝试在 WSL Ubuntu 上运行 kmail 时。当我运行时sudo apt upgrade flatpak,它显示 flatpak 的最新版本是 1.12.7-1。flatpak 1.14.4于 3 月发布,因此 apt 数据库现在肯定已更新。我如何获取 flatpak 1.14.4?

更新时间:2023-11-27 下午 2:19

$ sudo apt install flatpak=1.14.4
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
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 flatpak-builder

E: Version '1.14.4' for 'flatpak' was not found

但:

$ apt list flatpak
Listing... Done
flatpak/jammy,now 1.12.7-1 amd64 [installed]

答案1

如果您使用 22.04 (Jammy),那么这1.12.7-1是 -package 的最新版本 flatpak。此包来自 universe 存储库,Canonical 不提供包的更新,社区可能会(或可能不会)提供某些更新,显然情况并非如此。

但是,你可以1.14.4-1Flatpak 团队在启动板上

sudo add-apt-repository ppa:flatpak/stable
sudo apt update
sudo apt upgrade (if flatpak is installed already, otherwise use sudo apt install flatpak)

相关内容