刚刚在我的笔记本电脑上进行了全新 20.04 的安装。
尝试安装 flatpak (cli),安装一些附加软件
不起作用:
sudo apt install flatpak
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 不起作用:
flatpak
flatpak: command not found
为什么 flatpak 在 20.04 中不可用?
如何安装 flatpak (cli)?
更新 完成以下操作后即可使用 Flatpak:
sudo apt update && sudo apt full-upgrade -y
(感谢 mook765)
仍然:
- 安装完成后不应该自动完成吗
- 它被 xdg-desktop-portal 取代的消息令人困惑
答案1
您需要更新(建议升级)才能安装 flatpak。
sudo apt update && sudo apt full-upgrade -y
(感谢 mook765)