希望升级系统自带的flatpak版本
Tofloor
poster avatar
186******80
deepin
2019-08-14 18:23
Author
现在用的Deepin 15.11,自带的flatpak版本是0.8.9,在flathub.org上安装软件时,有不少都提示flatpak版本过低,自己尝试升级没成功,希望官方升级一下,或者给出升级的方法,谢谢!
Reply Favorite View the author
All Replies
avatar
WENWEN
deepin
2019-08-14 18:57
#1
估计暂时弃坑了吧
Reply View the author
avatar
duanyao
deepin
2019-08-14 19:19
#2
你需要哪个版本?panda 源目前是 0.11.7 ,然而我试了一下并不能简单地在稳定版上安装 。
你可以试试用 debian 的 stretch-backports 源:
https://github.com/linuxdeepin/developer-center/issues/1384
https://backports.debian.org/Instructions/

flatpak 不能安装和升级自身,也是个滑稽的设计。
Reply View the author
avatar
jianguo922
deepin
2019-08-14 20:24
#3
在全力开发Deepin20大版本
Reply View the author
avatar
走钢丝
deepin
2019-11-14 20:43
#4
https://bbs.deepin.org/post/181909
你需要哪个版本?panda 源目前是 0.11.7 ,然而我试了一下并不能简单地在稳定版上安装 。
你可以试试用 deb ...

刚试了下添加 backports 源,安装的 flatpak 版本是 1.2.4,github 上看了下是今年 3 月底的版本


Reply View the author
avatar
lbygljq
deepin
2019-11-16 03:20
#5
我就是为了安装 GMIP2.10.14,才添加 backports 源,安装的 flatpak 版本是 1.2.4。
Reply View the author
avatar
lxflhy
deepin
2019-11-16 03:46
#6
https://bbs.deepin.org/post/181909
刚试了下添加 backports 源,安装的 flatpak 版本是 1.2.4,github 上看了下是今年 3 月底的版本

这个源咋添加?菜鸟求教
Reply View the author
avatar
lxflhy
deepin
2019-11-16 03:47
#7
https://bbs.deepin.org/post/181909
我就是为了安装 GMIP2.10.14,才添加 backports 源,安装的 flatpak 版本是 1.2.4。

这个源咋添加?菜鸟求教
Reply View the author
avatar
Feng Yu
deepin
2019-11-16 04:06
#8
https://bbs.deepin.org/post/181909
这个源咋添加?菜鸟求教

编辑/etc/apt/sources.list文件(需要root权限),添加一行
  1. deb https://mirrors.tuna.tsinghua.edu.cn/debian/ stretch-backports main contrib non-free
Copy the Code


然后刷新软件仓库
  1. sudo apt update
Copy the Code


由于这个软件仓库的优先级比较低,因此如果你想使用这个仓库,需要指明软件源,以本主题的升级flatpak为例

  1. sudo apt install -y flatpak -t stretch-backports
Copy the Code


apt/apt-get命令使用-t参数指明软件源即可。类似的还有sudo apt full-upgrade -t stretch-backports
Reply View the author
Comments
lxflhy
2019-11-16 04:18
谢谢帮助,搞定了
avatar
lbygljq
deepin
2019-11-16 04:09
#9
https://bbs.deepin.org/post/181909
这个源咋添加?菜鸟求教

步骤1:添加stretch-backports源
    命令行操作:sudo dedit /etc/apt/sources.list.d/debian-stretch-backports.list
内容如下:
## debian 的 stretch-backports 仓库
deb https://mirrors.nju.edu.cn/debian stretch-backports main contrib non-free
退出编辑。
步骤2:安装最新版Flatpak
    命令行操作:
sudo apt update
sudo apt -t stretch-backports install flatpak
flatpak --version



返回版本号:1.2.4
Reply View the author
Comments
lxflhy
2019-11-16 04:20
谢谢帮助,搞定了