flathub内应用安装的正确姿势
Tofloor
poster avatar
love_na
deepin
2018-02-13 18:31
Author
在flathub上面搜索应用并用提供命令安装后,一直会出现timeout,如下:

  1. ~$ flatpak install --from https://flathub.org/repo/appstream/com.obsproject.Studio.flatpakref
  2. error: Can't load uri https://flathub.org/repo/appstream/com.obsproject.Studio.flatpakref: Timeout was reached
Copy the Code

经过一番探索,发现安装runtime和sdk是没有问题,安装命令如下:

  1. ~$ flatpak install flathub  org.gnome.Platform//3.26
  2. Installing: org.gnome.Platform/x86_64/3.26 from flathub
  3. [####################] 10 delta parts, 11 loose fetched; 141642 KiB transferred in 65 seconds
  4. Installing: org.gnome.Platform.Locale/x86_64/3.26 from flathub
  5. [####################] 5 delta parts, 1 loose fetched; 20822 KiB transferred in 17 seconds
  6. ~$ flatpak install flathub org.gnome.Sdk//3.26
  7. Installing: org.gnome.Sdk/x86_64/3.26 from flathub
  8. [####################] 19 delta parts, 10 loose fetched; 144926 KiB transferred in 62 seconds
  9. Installing: org.gnome.Sdk.Locale/x86_64/3.26 from flathub
  10. [####################] 5 delta parts, 1 loose fetched; 4657 KiB transferred in 9 seconds
Copy the Code

突发奇想,能不能用这种方法安装应用,结果不出意外,果真可以:

  1. ~$ flatpak install flathub com.obsproject.Studio
  2. Required runtime for com.obsproject.Studio/x86_64/stable (org.kde.Platform/x86_64/5.9) is not installed, searching...
  3. Found in remote flathub, do you want to install it? [y/n]: y
  4. Installing: org.kde.Platform/x86_64/5.9 from flathub
  5. [####################] 12 delta parts, 40 loose fetched; 226536 KiB transferred in 189 seconds
  6. Installing: org.kde.Platform.Locale/x86_64/5.9 from flathub
  7. [####################] 5 delta parts, 9 loose fetched; 25758 KiB transferred in 69 seconds
  8. Installing: com.obsproject.Studio/x86_64/stable from flathub
  9. [####################] 1 delta parts, 7 loose fetched; 12324 KiB transferred in 21 seconds
  10. Installing: com.obsproject.Studio.Locale/x86_64/stable from flathub
  11. [####################] 1 delta parts, 1 loose fetched; 13 KiB transferred in 2 seconds
Copy the Code

Reply Favorite View the author
All Replies
avatar
jingle
deepin
2018-02-13 19:01
#1
  1. flatpak install --user io.atom.Atom.flatpakref
  2. This application depends on runtimes from:
  3.   https://dl.flathub.org/repo/
  4. Configure this as new remote 'flathub' [y/n]: y
  5. Installing: io.atom.Atom/x86_64/stable
  6. Required runtime for io.atom.Atom/x86_64/stable (org.freedesktop.Sdk/x86_64/1.6) is not installed, searching...
  7. Found in several remotes:
  8. 1) flathub
  9. 2) gnome
  10. Which do you want to install (0 to abort)? [0-2]:
Copy the Code


我这里没有毛病
Reply View the author
avatar
love_na
deepin
2018-02-13 19:02
#2

  1. flatpak install --from https://flathub.org/repo/appstream/io.atom.Atom.flatpakref
Copy the Code

试试这个官方command
Reply View the author
avatar
jingle
deepin
2018-02-13 19:04
#3
本帖最后由 jingle 于 2018-2-13 11:07 编辑
https://bbs.deepin.org/post/153239
试试这个官方command
  1. flatpak install --from https://flathub.org/repo/appstream/io.atom.Atom.flatpakref
  2. This application depends on runtimes from:
  3.   https://dl.flathub.org/repo/
  4. Configure this as new remote 'flathub' [y/n]: y
  5. Installing: io.atom.Atom/x86_64/stable
  6. Required runtime for io.atom.Atom/x86_64/stable (org.freedesktop.Sdk/x86_64/1.6) is not installed, searching...
  7. Found in remote flathub, do you want to install it? [y/n]:
Copy the Code


继续拆台 网络问题吧
  1. flatpak install --from https://flathub.org/repo/appstream/com.obsproject.Studio.flatpakref
  2. Installing: com.obsproject.Studio/x86_64/stable
  3. Required runtime for com.obsproject.Studio/x86_64/stable (org.kde.Platform/x86_64/5.9) is not installed, searching...
  4. Found in remote flathub, do you want to install it? [y/n]: n
Copy the Code


Reply View the author
avatar
lenke
deepin
2018-02-13 19:34
#4
确实是网络问题,安firefox一次成功,安libreoffice时,装了好几次才成功,都是未下载完,中断安装
Reply View the author
avatar
Ligocut光剪视频剪辑软件
deepin
Backbone of ecological co-construction group
2018-02-14 02:11
#5
flathub登进去都是个问题更不说下载了
Reply View the author