使用zorin安装flatpak应用,按官网安装ubuntu的办法装不起,后又参考优麒麟的两篇文章还是不行。

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
deii
帖子: 146
注册时间: 2018-04-24 20:06

使用zorin安装flatpak应用,按官网安装ubuntu的办法装不起,后又参考优麒麟的两篇文章还是不行。

#1

帖子 deii » 2018-06-06 22:24

deii@deii-TVB01:~$ sudo add-apt-repository ppa:alexlarsson/flatpak
[sudo] deii 的密码:
Linux application sandboxing and distribution framework (formerly xdg-app)
更多信息: https://launchpad.net/~alexlarsson/+arc ... tu/flatpak
按回车继续或者 Ctrl+c 取消添加

gpg: 钥匙环‘/tmp/tmpyyoa_cvf/secring.gpg’已建立
gpg: 钥匙环‘/tmp/tmpyyoa_cvf/pubring.gpg’已建立
gpg: 下载密钥‘FA577F07’,从 hkp 服务器 keyserver.ubuntu.com
gpg: /tmp/tmpyyoa_cvf/trustdb.gpg:建立了信任度数据库
gpg: 密钥 FA577F07:公钥“Launchpad PPA for Alexander Larsson”已导入
gpg: 合计被处理的数量:1
gpg: 已导入:1 (RSA: 1)
OK
deii@deii-TVB01:~$ sudo apt update
命中:1 http://mirrors.aliyun.com/ubuntu xenial InRelease
获取:2 http://archive.ubuntukylin.com:10006/ubuntukylin xenial InRelease [18.1 kB]
获取:3 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB]
命中:4 http://archive.canonical.com/ubuntu xenial InRelease
获取:5 http://security.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11 Metadata [67.7 kB]
命中:6 https://packages.zorinos.com/patches xenial InRelease
获取:7 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu xenial InRelease [24.3 kB]
命中:8 https://packages.zorinos.com/stable xenial InRelease
获取:9 http://security.ubuntu.com/ubuntu xenial-security/main DEP-11 64x64 Icons [68.0 kB]
获取:10 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 DEP-11 Metadata [107 kB]
获取:11 http://security.ubuntu.com/ubuntu xenial-security/universe DEP-11 64x64 Icons [142 kB]
获取:12 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial InRelease [17.5 kB]
获取:13 http://cn.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
获取:14 http://cn.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
获取:15 http://cn.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [785 kB]
命中:16 http://ppa.launchpad.net/zorinos/patches/ubuntu xenial InRelease
获取:17 http://cn.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [720 kB]
命中:18 http://ppa.launchpad.net/zorinos/stable/ubuntu xenial InRelease
获取:19 http://cn.archive.ubuntu.com/ubuntu xenial-updates/main amd64 DEP-11 Metadata [319 kB]
获取:20 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu xenial/main amd64 Packages [4,292 B]
获取:21 http://cn.archive.ubuntu.com/ubuntu xenial-updates/main DEP-11 64x64 Icons [224 kB]
获取:22 http://cn.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [632 kB]
获取:23 http://cn.archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [578 kB]
获取:24 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu xenial/main i386 Packages [4,308 B]
获取:25 http://cn.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 DEP-11 Metadata [246 kB]
获取:26 http://cn.archive.ubuntu.com/ubuntu xenial-updates/universe DEP-11 64x64 Icons [331 kB]
获取:27 http://cn.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 DEP-11 Metadata [5,964 B]
获取:28 http://cn.archive.ubuntu.com/ubuntu xenial-backports/main amd64 DEP-11 Metadata [3,328 B]
获取:29 http://cn.archive.ubuntu.com/ubuntu xenial-backports/universe amd64 DEP-11 Metadata [5,096 B]
获取:30 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu xenial/main Translation-en [3,188 B]
获取:31 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial/main amd64 Packages [79.3 kB]
获取:32 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial/main i386 Packages [78.0 kB]
已下载 4,785 kB,耗时 31秒 (152 kB/s)
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
有 24 个软件包可以升级。请执行 ‘apt list --upgradable’ 来查看它们。
deii@deii-TVB01:~$ sudo apt list --upgradable
正在列表... 完成
cpp-8/xenial 8.1.0-5ubuntu1~16.04 amd64 [可从该版本升级:8-20180424-0ubuntu1~16.04.1]
g++-8/xenial 8.1.0-5ubuntu1~16.04 amd64 [可从该版本升级:8-20180424-0ubuntu1~16.04.1]
gcc-7-base/xenial 7.3.0-21ubuntu1~16.04 amd64 [可从该版本升级:7.3.0-16ubuntu3~16.04.1]
gcc-8/xenial 8.1.0-5ubuntu1~16.04 amd64 [可从该版本升级:8-20180424-0ubuntu1~16.04.1]
gcc-8-base/xenial 8.1.0-5ubuntu1~16.04 amd64 [可从该版本升级:8-20180424-0ubuntu1~16.04.1]
libasan5/xenial 8.1.0-5ubuntu1~16.04 amd64 [可从该版本升级:8-20180424-0ubuntu1~16.04.1]
libatomic1/xenial 8.1.0-5ubuntu1~16.04 amd64 [可从该版本升级:8-20180424-0ubuntu1~16.04.1]
libcc1-0/xenial 8.1.0-5ubuntu1~16.04 amd64 [可从该版本升级:8-20180424-0ubuntu1~16.04.1]
libcilkrts5/xenial 7.3.0-21ubuntu1~16.04 amd64 [可从该版本升级:7.3.0-16ubuntu3~16.04.1]
libgcc-8-dev/xenial 8.1.0-5ubuntu1~16.04 amd64 [可从该版本升级:8-20180424-0ubuntu1~16.04.1]
libgcc1/xenial 1:8.1.0-5ubuntu1~16.04 amd64 [可从该版本升级:1:8-20180424-0ubuntu1~16.04.1]
libgomp1/xenial 8.1.0-5ubuntu1~16.04 amd64 [可从该版本升级:8-20180424-0ubuntu1~16.04.1]
libitm1/xenial 8.1.0-5ubuntu1~16.04 amd64 [可从该版本升级:8-20180424-0ubuntu1~16.04.1]
libldap-2.4-2/xenial-updates 2.4.42+dfsg-2ubuntu3.3 amd64 [可从该版本升级:2.4.42+dfsg-2ubuntu3.2]
liblsan0/xenial 8.1.0-5ubuntu1~16.04 amd64 [可从该版本升级:8-20180424-0ubuntu1~16.04.1]
libmpx2/xenial 8.1.0-5ubuntu1~16.04 amd64 [可从该版本升级:8-20180424-0ubuntu1~16.04.1]
libobjc4/xenial 8.1.0-5ubuntu1~16.04 amd64 [可从该版本升级:8-20180424-0ubuntu1~16.04.1]
libquadmath0/xenial 8.1.0-5ubuntu1~16.04 amd64 [可从该版本升级:8-20180424-0ubuntu1~16.04.1]
libstdc++-8-dev/xenial 8.1.0-5ubuntu1~16.04 amd64 [可从该版本升级:8-20180424-0ubuntu1~16.04.1]
libstdc++6/xenial 8.1.0-5ubuntu1~16.04 amd64 [可从该版本升级:8-20180424-0ubuntu1~16.04.1]
libtsan0/xenial 8.1.0-5ubuntu1~16.04 amd64 [可从该版本升级:8-20180424-0ubuntu1~16.04.1]
libubsan0/xenial 7.3.0-21ubuntu1~16.04 amd64 [可从该版本升级:7.3.0-16ubuntu3~16.04.1]
libubsan1/xenial 8.1.0-5ubuntu1~16.04 amd64 [可从该版本升级:8-20180424-0ubuntu1~16.04.1]
deii@deii-TVB01:~$ sudo apt-get upgrade
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
正在计算更新... 完成
下列软件包是自动安装的并且现在不需要了:
gir1.2-gtk-2.0 libatk1.0-dev libbz2-dev libcairo-script-interpreter2
libcairo2-dev libenca0 libfontconfig1-dev libfreetype6-dev
libgdk-pixbuf2.0-dev libglib2.0-dev libgtk2.0-dev libguess1 libharfbuzz-dev
libharfbuzz-gobject0 libice-dev libmpv1 libnotify-dev libpango1.0-dev
libpcre3-dev libpcre32-3 libpcrecpp0v5 libpixman-1-dev libpng12-dev
libpthread-stubs0-dev libqt5xml5 libqtermwidget5-0 librubberband2v5
libsdl2-2.0-0 libsm-dev libsndio6.1 libsox-fmt-alsa libsox-fmt-base libsox2
libva-wayland1 libx11-dev libx11-doc libxau-dev libxcb-render0-dev
libxcb-shm0-dev libxcb1-dev libxcomposite-dev libxcursor-dev libxdamage-dev
libxdmcp-dev libxext-dev libxfixes-dev libxft-dev libxi-dev libxinerama-dev
libxrandr-dev libxrender-dev mpv pkg-config qtermwidget5-data rtmpdump sox
theide x11proto-composite-dev x11proto-core-dev x11proto-damage-dev
x11proto-fixes-dev x11proto-input-dev x11proto-kb-dev x11proto-randr-dev
x11proto-render-dev x11proto-xext-dev x11proto-xinerama-dev
xorg-sgml-doctools xtrans-dev youtube-dl zlib1g-dev
使用'sudo apt autoremove'来卸载它(它们)。
下列软件包的版本将保持不变:
cpp-8 g++-8 gcc-8 gcc-8-base libasan5 libatomic1 libcc1-0 libgcc-8-dev
libgcc1 libgomp1 libitm1 liblsan0 libmpx2 libobjc4 libquadmath0
libstdc++-8-dev libstdc++6 libtsan0 libubsan1
下列软件包将被升级:
gcc-7-base libcilkrts5 libldap-2.4-2 libldap-2.4-2:i386 libubsan0
升级了 5 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 19 个软件包未被升级。
需要下载 520 kB 的归档。
解压缩后会消耗 0 B 的额外空间。
您希望继续执行吗? [Y/n] y
获取:1 http://cn.archive.ubuntu.com/ubuntu xenial-updates/main i386 libldap-2.4-2 i386 2.4.42+dfsg-2ubuntu3.3 [173 kB]
获取:2 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial/main amd64 libcilkrts5 amd64 7.3.0-21ubuntu1~16.04 [42.4 kB]
获取:3 http://cn.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libldap-2.4-2 amd64 2.4.42+dfsg-2ubuntu3.3 [161 kB]
获取:4 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial/main amd64 libubsan0 amd64 7.3.0-21ubuntu1~16.04 [126 kB]
获取:5 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial/main amd64 gcc-7-base amd64 7.3.0-21ubuntu1~16.04 [18.5 kB]
已下载 520 kB,耗时 7秒 (65.0 kB/s)
(正在读取数据库 ... 系统当前共安装有 290972 个文件和目录。)
正准备解包 .../libcilkrts5_7.3.0-21ubuntu1~16.04_amd64.deb ...
正在将 libcilkrts5:amd64 (7.3.0-21ubuntu1~16.04) 解包到 (7.3.0-16ubuntu3~16.04.1) 上 ...
正准备解包 .../libubsan0_7.3.0-21ubuntu1~16.04_amd64.deb ...
正在将 libubsan0:amd64 (7.3.0-21ubuntu1~16.04) 解包到 (7.3.0-16ubuntu3~16.04.1) 上 ...
正准备解包 .../gcc-7-base_7.3.0-21ubuntu1~16.04_amd64.deb ...
正在将 gcc-7-base:amd64 (7.3.0-21ubuntu1~16.04) 解包到 (7.3.0-16ubuntu3~16.04.1) 上 ...
正准备解包 .../libldap-2.4-2_2.4.42+dfsg-2ubuntu3.3_i386.deb ...
正在反配置 libldap-2.4-2:amd64 (2.4.42+dfsg-2ubuntu3.2) ...
正在将 libldap-2.4-2:i386 (2.4.42+dfsg-2ubuntu3.3) 解包到 (2.4.42+dfsg-2ubuntu3.2) 上 ...
正准备解包 .../libldap-2.4-2_2.4.42+dfsg-2ubuntu3.3_amd64.deb ...
正在将 libldap-2.4-2:amd64 (2.4.42+dfsg-2ubuntu3.3) 解包到 (2.4.42+dfsg-2ubuntu3.2) 上 ...
正在处理用于 libc-bin (2.23-0ubuntu10) 的触发器 ...
正在处理用于 man-db (2.7.5-1) 的触发器 ...
正在设置 gcc-7-base:amd64 (7.3.0-21ubuntu1~16.04) ...
正在设置 libcilkrts5:amd64 (7.3.0-21ubuntu1~16.04) ...
正在设置 libubsan0:amd64 (7.3.0-21ubuntu1~16.04) ...
正在设置 libldap-2.4-2:amd64 (2.4.42+dfsg-2ubuntu3.3) ...
正在设置 libldap-2.4-2:i386 (2.4.42+dfsg-2ubuntu3.3) ...
正在处理用于 libc-bin (2.23-0ubuntu10) 的触发器 ...
deii@deii-TVB01:~$ sudo apt install flatpak
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
下列软件包是自动安装的并且现在不需要了:
gir1.2-gtk-2.0 libatk1.0-dev libbz2-dev libcairo-script-interpreter2
libcairo2-dev libenca0 libfontconfig1-dev libfreetype6-dev
libgdk-pixbuf2.0-dev libglib2.0-dev libgtk2.0-dev libguess1 libharfbuzz-dev
libharfbuzz-gobject0 libice-dev libmpv1 libnotify-dev libpango1.0-dev
libpcre3-dev libpcre32-3 libpcrecpp0v5 libpixman-1-dev libpng12-dev
libpthread-stubs0-dev libqt5xml5 libqtermwidget5-0 librubberband2v5
libsdl2-2.0-0 libsm-dev libsndio6.1 libsox-fmt-alsa libsox-fmt-base libsox2
libva-wayland1 libx11-dev libx11-doc libxau-dev libxcb-render0-dev
libxcb-shm0-dev libxcb1-dev libxcomposite-dev libxcursor-dev libxdamage-dev
libxdmcp-dev libxext-dev libxfixes-dev libxft-dev libxi-dev libxinerama-dev
libxrandr-dev libxrender-dev mpv pkg-config qtermwidget5-data rtmpdump sox
theide x11proto-composite-dev x11proto-core-dev x11proto-damage-dev
x11proto-fixes-dev x11proto-input-dev x11proto-kb-dev x11proto-randr-dev
x11proto-render-dev x11proto-xext-dev x11proto-xinerama-dev
xorg-sgml-doctools xtrans-dev youtube-dl zlib1g-dev
使用'sudo apt autoremove'来卸载它(它们)。
将会同时安装下列软件:
libostree-1-1 xdg-desktop-portal xdg-desktop-portal-gtk
下列【新】软件包将被安装:
flatpak libostree-1-1 xdg-desktop-portal xdg-desktop-portal-gtk
升级了 0 个软件包,新安装了 4 个软件包,要卸载 0 个软件包,有 19 个软件包未被升级。
需要下载 1,154 kB 的归档。
解压缩后会消耗 5,356 kB 的额外空间。
您希望继续执行吗? [Y/n] y
获取:1 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu xenial/main amd64 libostree-1-1 amd64 2018.5-flatpak1~xenial [245 kB]
获取:2 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu xenial/main amd64 flatpak amd64 0.11.7-flatpak1~xenial [626 kB]
获取:3 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu xenial/main amd64 xdg-desktop-portal amd64 0.11-flatpak1~xenial [160 kB]
获取:4 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu xenial/main amd64 xdg-desktop-portal-gtk amd64 0.11-flatpak1~xenial [122 kB]
已下载 1,154 kB,耗时 30秒 (37.6 kB/s)
正在选中未选择的软件包 libostree-1-1:amd64。
(正在读取数据库 ... 系统当前共安装有 290972 个文件和目录。)
正准备解包 .../libostree-1-1_2018.5-flatpak1~xenial_amd64.deb ...
正在解包 libostree-1-1:amd64 (2018.5-flatpak1~xenial) ...
正在选中未选择的软件包 flatpak。
正准备解包 .../flatpak_0.11.7-flatpak1~xenial_amd64.deb ...
正在解包 flatpak (0.11.7-flatpak1~xenial) ...
正在选中未选择的软件包 xdg-desktop-portal。
正准备解包 .../xdg-desktop-portal_0.11-flatpak1~xenial_amd64.deb ...
正在解包 xdg-desktop-portal (0.11-flatpak1~xenial) ...
正在选中未选择的软件包 xdg-desktop-portal-gtk。
正准备解包 .../xdg-desktop-portal-gtk_0.11-flatpak1~xenial_amd64.deb ...
正在解包 xdg-desktop-portal-gtk (0.11-flatpak1~xenial) ...
正在处理用于 libc-bin (2.23-0ubuntu10) 的触发器 ...
正在处理用于 doc-base (0.10.7) 的触发器 ...
Processing 1 added doc-base file...
Registering documents with scrollkeeper...
正在处理用于 man-db (2.7.5-1) 的触发器 ...
正在处理用于 dbus (1.10.6-1ubuntu3.3) 的触发器 ...
正在处理用于 gnome-menus (3.13.3-6ubuntu3.1) 的触发器 ...
正在处理用于 desktop-file-utils (0.22-1ubuntu5.1) 的触发器 ...
正在处理用于 mime-support (3.59ubuntu1) 的触发器 ...
正在设置 libostree-1-1:amd64 (2018.5-flatpak1~xenial) ...
正在设置 flatpak (0.11.7-flatpak1~xenial) ...
正在设置 xdg-desktop-portal (0.11-flatpak1~xenial) ...
正在设置 xdg-desktop-portal-gtk (0.11-flatpak1~xenial) ...
正在处理用于 libc-bin (2.23-0ubuntu10) 的触发器 ...
正在处理用于 dbus (1.10.6-1ubuntu3.3) 的触发器 ...
deii@deii-TVB01:~$ sudo apt install gnome-software-plugin-flatpak
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
E: 无法定位软件包 gnome-software-plugin-flatpak
deii@deii-TVB01:~$ sudo apt update
命中:1 http://archive.ubuntukylin.com:10006/ubuntukylin xenial InRelease
命中:2 http://security.ubuntu.com/ubuntu xenial-security InRelease
命中:3 http://archive.canonical.com/ubuntu xenial InRelease
命中:4 http://cn.archive.ubuntu.com/ubuntu xenial-updates InRelease
命中:5 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu xenial InRelease
命中:6 http://cn.archive.ubuntu.com/ubuntu xenial-backports InRelease
命中:7 http://mirrors.aliyun.com/ubuntu xenial InRelease
命中:8 https://packages.zorinos.com/patches xenial InRelease
命中:9 https://packages.zorinos.com/stable xenial InRelease
命中:10 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial InRelease
命中:11 http://ppa.launchpad.net/zorinos/patches/ubuntu xenial InRelease
命中:12 http://ppa.launchpad.net/zorinos/stable/ubuntu xenial InRelease
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
有 19 个软件包可以升级。请执行 ‘apt list --upgradable’ 来查看它们。
deii@deii-TVB01:~$ sudo apt install gnome-software-plugin-flatpak
正在读取软件包列表... 完成deii@deii-TVB01:~$ sudo add-apt-repository ppa:alexlarsson/flatpak
[sudo] deii 的密码:
Linux application sandboxing and distribution framework (formerly xdg-app)
更多信息: https://launchpad.net/~alexlarsson/+arc ... tu/flatpak
按回车继续或者 Ctrl+c 取消添加

gpg: 钥匙环‘/tmp/tmpyyoa_cvf/secring.gpg’已建立
gpg: 钥匙环‘/tmp/tmpyyoa_cvf/pubring.gpg’已建立
gpg: 下载密钥‘FA577F07’,从 hkp 服务器 keyserver.ubuntu.com
gpg: /tmp/tmpyyoa_cvf/trustdb.gpg:建立了信任度数据库
gpg: 密钥 FA577F07:公钥“Launchpad PPA for Alexander Larsson”已导入
gpg: 合计被处理的数量:1
gpg: 已导入:1 (RSA: 1)
OK
deii@deii-TVB01:~$ sudo apt update
命中:1 http://mirrors.aliyun.com/ubuntu xenial InRelease
获取:2 http://archive.ubuntukylin.com:10006/ubuntukylin xenial InRelease [18.1 kB]
获取:3 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB]
命中:4 http://archive.canonical.com/ubuntu xenial InRelease
获取:5 http://security.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11 Metadata [67.7 kB]
命中:6 https://packages.zorinos.com/patches xenial InRelease
获取:7 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu xenial InRelease [24.3 kB]
命中:8 https://packages.zorinos.com/stable xenial InRelease
获取:9 http://security.ubuntu.com/ubuntu xenial-security/main DEP-11 64x64 Icons [68.0 kB]
获取:10 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 DEP-11 Metadata [107 kB]
获取:11 http://security.ubuntu.com/ubuntu xenial-security/universe DEP-11 64x64 Icons [142 kB]
获取:12 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial InRelease [17.5 kB]
获取:13 http://cn.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
获取:14 http://cn.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
获取:15 http://cn.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [785 kB]
命中:16 http://ppa.launchpad.net/zorinos/patches/ubuntu xenial InRelease
获取:17 http://cn.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [720 kB]
命中:18 http://ppa.launchpad.net/zorinos/stable/ubuntu xenial InRelease
获取:19 http://cn.archive.ubuntu.com/ubuntu xenial-updates/main amd64 DEP-11 Metadata [319 kB]
获取:20 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu xenial/main amd64 Packages [4,292 B]
获取:21 http://cn.archive.ubuntu.com/ubuntu xenial-updates/main DEP-11 64x64 Icons [224 kB]
获取:22 http://cn.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [632 kB]
获取:23 http://cn.archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [578 kB]
获取:24 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu xenial/main i386 Packages [4,308 B]
获取:25 http://cn.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 DEP-11 Metadata [246 kB]
获取:26 http://cn.archive.ubuntu.com/ubuntu xenial-updates/universe DEP-11 64x64 Icons [331 kB]
获取:27 http://cn.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 DEP-11 Metadata [5,964 B]
获取:28 http://cn.archive.ubuntu.com/ubuntu xenial-backports/main amd64 DEP-11 Metadata [3,328 B]
获取:29 http://cn.archive.ubuntu.com/ubuntu xenial-backports/universe amd64 DEP-11 Metadata [5,096 B]
获取:30 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu xenial/main Translation-en [3,188 B]
获取:31 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial/main amd64 Packages [79.3 kB]
获取:32 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial/main i386 Packages [78.0 kB]
已下载 4,785 kB,耗时 31秒 (152 kB/s)
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
有 24 个软件包可以升级。请执行 ‘apt list --upgradable’ 来查看它们。
deii@deii-TVB01:~$ sudo apt list --upgradable
正在列表... 完成
cpp-8/xenial 8.1.0-5ubuntu1~16.04 amd64 [可从该版本升级:8-20180424-0ubuntu1~16.04.1]
g++-8/xenial 8.1.0-5ubuntu1~16.04 amd64 [可从该版本升级:8-20180424-0ubuntu1~16.04.1]
gcc-7-base/xenial 7.3.0-21ubuntu1~16.04 amd64 [可从该版本升级:7.3.0-16ubuntu3~16.04.1]
gcc-8/xenial 8.1.0-5ubuntu1~16.04 amd64 [可从该版本升级:8-20180424-0ubuntu1~16.04.1]
gcc-8-base/xenial 8.1.0-5ubuntu1~16.04 amd64 [可从该版本升级:8-20180424-0ubuntu1~16.04.1]
libasan5/xenial 8.1.0-5ubuntu1~16.04 amd64 [可从该版本升级:8-20180424-0ubuntu1~16.04.1]
libatomic1/xenial 8.1.0-5ubuntu1~16.04 amd64 [可从该版本升级:8-20180424-0ubuntu1~16.04.1]
libcc1-0/xenial 8.1.0-5ubuntu1~16.04 amd64 [可从该版本升级:8-20180424-0ubuntu1~16.04.1]
libcilkrts5/xenial 7.3.0-21ubuntu1~16.04 amd64 [可从该版本升级:7.3.0-16ubuntu3~16.04.1]
libgcc-8-dev/xenial 8.1.0-5ubuntu1~16.04 amd64 [可从该版本升级:8-20180424-0ubuntu1~16.04.1]
libgcc1/xenial 1:8.1.0-5ubuntu1~16.04 amd64 [可从该版本升级:1:8-20180424-0ubuntu1~16.04.1]
libgomp1/xenial 8.1.0-5ubuntu1~16.04 amd64 [可从该版本升级:8-20180424-0ubuntu1~16.04.1]
libitm1/xenial 8.1.0-5ubuntu1~16.04 amd64 [可从该版本升级:8-20180424-0ubuntu1~16.04.1]
libldap-2.4-2/xenial-updates 2.4.42+dfsg-2ubuntu3.3 amd64 [可从该版本升级:2.4.42+dfsg-2ubuntu3.2]
liblsan0/xenial 8.1.0-5ubuntu1~16.04 amd64 [可从该版本升级:8-20180424-0ubuntu1~16.04.1]
libmpx2/xenial 8.1.0-5ubuntu1~16.04 amd64 [可从该版本升级:8-20180424-0ubuntu1~16.04.1]
libobjc4/xenial 8.1.0-5ubuntu1~16.04 amd64 [可从该版本升级:8-20180424-0ubuntu1~16.04.1]
libquadmath0/xenial 8.1.0-5ubuntu1~16.04 amd64 [可从该版本升级:8-20180424-0ubuntu1~16.04.1]
libstdc++-8-dev/xenial 8.1.0-5ubuntu1~16.04 amd64 [可从该版本升级:8-20180424-0ubuntu1~16.04.1]
libstdc++6/xenial 8.1.0-5ubuntu1~16.04 amd64 [可从该版本升级:8-20180424-0ubuntu1~16.04.1]
libtsan0/xenial 8.1.0-5ubuntu1~16.04 amd64 [可从该版本升级:8-20180424-0ubuntu1~16.04.1]
libubsan0/xenial 7.3.0-21ubuntu1~16.04 amd64 [可从该版本升级:7.3.0-16ubuntu3~16.04.1]
libubsan1/xenial 8.1.0-5ubuntu1~16.04 amd64 [可从该版本升级:8-20180424-0ubuntu1~16.04.1]
deii@deii-TVB01:~$ sudo apt-get upgrade
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
正在计算更新... 完成
下列软件包是自动安装的并且现在不需要了:
gir1.2-gtk-2.0 libatk1.0-dev libbz2-dev libcairo-script-interpreter2
libcairo2-dev libenca0 libfontconfig1-dev libfreetype6-dev
libgdk-pixbuf2.0-dev libglib2.0-dev libgtk2.0-dev libguess1 libharfbuzz-dev
libharfbuzz-gobject0 libice-dev libmpv1 libnotify-dev libpango1.0-dev
libpcre3-dev libpcre32-3 libpcrecpp0v5 libpixman-1-dev libpng12-dev
libpthread-stubs0-dev libqt5xml5 libqtermwidget5-0 librubberband2v5
libsdl2-2.0-0 libsm-dev libsndio6.1 libsox-fmt-alsa libsox-fmt-base libsox2
libva-wayland1 libx11-dev libx11-doc libxau-dev libxcb-render0-dev
libxcb-shm0-dev libxcb1-dev libxcomposite-dev libxcursor-dev libxdamage-dev
libxdmcp-dev libxext-dev libxfixes-dev libxft-dev libxi-dev libxinerama-dev
libxrandr-dev libxrender-dev mpv pkg-config qtermwidget5-data rtmpdump sox
theide x11proto-composite-dev x11proto-core-dev x11proto-damage-dev
x11proto-fixes-dev x11proto-input-dev x11proto-kb-dev x11proto-randr-dev
x11proto-render-dev x11proto-xext-dev x11proto-xinerama-dev
xorg-sgml-doctools xtrans-dev youtube-dl zlib1g-dev
使用'sudo apt autoremove'来卸载它(它们)。
下列软件包的版本将保持不变:
cpp-8 g++-8 gcc-8 gcc-8-base libasan5 libatomic1 libcc1-0 libgcc-8-dev
libgcc1 libgomp1 libitm1 liblsan0 libmpx2 libobjc4 libquadmath0
libstdc++-8-dev libstdc++6 libtsan0 libubsan1
下列软件包将被升级:
gcc-7-base libcilkrts5 libldap-2.4-2 libldap-2.4-2:i386 libubsan0
升级了 5 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 19 个软件包未被升级。
需要下载 520 kB 的归档。
解压缩后会消耗 0 B 的额外空间。
您希望继续执行吗? [Y/n] y
获取:1 http://cn.archive.ubuntu.com/ubuntu xenial-updates/main i386 libldap-2.4-2 i386 2.4.42+dfsg-2ubuntu3.3 [173 kB]
获取:2 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial/main amd64 libcilkrts5 amd64 7.3.0-21ubuntu1~16.04 [42.4 kB]
获取:3 http://cn.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libldap-2.4-2 amd64 2.4.42+dfsg-2ubuntu3.3 [161 kB]
获取:4 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial/main amd64 libubsan0 amd64 7.3.0-21ubuntu1~16.04 [126 kB]
获取:5 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial/main amd64 gcc-7-base amd64 7.3.0-21ubuntu1~16.04 [18.5 kB]
已下载 520 kB,耗时 7秒 (65.0 kB/s)
(正在读取数据库 ... 系统当前共安装有 290972 个文件和目录。)
正准备解包 .../libcilkrts5_7.3.0-21ubuntu1~16.04_amd64.deb ...
正在将 libcilkrts5:amd64 (7.3.0-21ubuntu1~16.04) 解包到 (7.3.0-16ubuntu3~16.04.1) 上 ...
正准备解包 .../libubsan0_7.3.0-21ubuntu1~16.04_amd64.deb ...
正在将 libubsan0:amd64 (7.3.0-21ubuntu1~16.04) 解包到 (7.3.0-16ubuntu3~16.04.1) 上 ...
正准备解包 .../gcc-7-base_7.3.0-21ubuntu1~16.04_amd64.deb ...
正在将 gcc-7-base:amd64 (7.3.0-21ubuntu1~16.04) 解包到 (7.3.0-16ubuntu3~16.04.1) 上 ...
正准备解包 .../libldap-2.4-2_2.4.42+dfsg-2ubuntu3.3_i386.deb ...
正在反配置 libldap-2.4-2:amd64 (2.4.42+dfsg-2ubuntu3.2) ...
正在将 libldap-2.4-2:i386 (2.4.42+dfsg-2ubuntu3.3) 解包到 (2.4.42+dfsg-2ubuntu3.2) 上 ...
正准备解包 .../libldap-2.4-2_2.4.42+dfsg-2ubuntu3.3_amd64.deb ...
正在将 libldap-2.4-2:amd64 (2.4.42+dfsg-2ubuntu3.3) 解包到 (2.4.42+dfsg-2ubuntu3.2) 上 ...
正在处理用于 libc-bin (2.23-0ubuntu10) 的触发器 ...
正在处理用于 man-db (2.7.5-1) 的触发器 ...
正在设置 gcc-7-base:amd64 (7.3.0-21ubuntu1~16.04) ...
正在设置 libcilkrts5:amd64 (7.3.0-21ubuntu1~16.04) ...
正在设置 libubsan0:amd64 (7.3.0-21ubuntu1~16.04) ...
正在设置 libldap-2.4-2:amd64 (2.4.42+dfsg-2ubuntu3.3) ...
正在设置 libldap-2.4-2:i386 (2.4.42+dfsg-2ubuntu3.3) ...
正在处理用于 libc-bin (2.23-0ubuntu10) 的触发器 ...
deii@deii-TVB01:~$ sudo apt install flatpak
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
下列软件包是自动安装的并且现在不需要了:
gir1.2-gtk-2.0 libatk1.0-dev libbz2-dev libcairo-script-interpreter2
libcairo2-dev libenca0 libfontconfig1-dev libfreetype6-dev
libgdk-pixbuf2.0-dev libglib2.0-dev libgtk2.0-dev libguess1 libharfbuzz-dev
libharfbuzz-gobject0 libice-dev libmpv1 libnotify-dev libpango1.0-dev
libpcre3-dev libpcre32-3 libpcrecpp0v5 libpixman-1-dev libpng12-dev
libpthread-stubs0-dev libqt5xml5 libqtermwidget5-0 librubberband2v5
libsdl2-2.0-0 libsm-dev libsndio6.1 libsox-fmt-alsa libsox-fmt-base libsox2
libva-wayland1 libx11-dev libx11-doc libxau-dev libxcb-render0-dev
libxcb-shm0-dev libxcb1-dev libxcomposite-dev libxcursor-dev libxdamage-dev
libxdmcp-dev libxext-dev libxfixes-dev libxft-dev libxi-dev libxinerama-dev
libxrandr-dev libxrender-dev mpv pkg-config qtermwidget5-data rtmpdump sox
theide x11proto-composite-dev x11proto-core-dev x11proto-damage-dev
x11proto-fixes-dev x11proto-input-dev x11proto-kb-dev x11proto-randr-dev
x11proto-render-dev x11proto-xext-dev x11proto-xinerama-dev
xorg-sgml-doctools xtrans-dev youtube-dl zlib1g-dev
使用'sudo apt autoremove'来卸载它(它们)。
将会同时安装下列软件:
libostree-1-1 xdg-desktop-portal xdg-desktop-portal-gtk
下列【新】软件包将被安装:
flatpak libostree-1-1 xdg-desktop-portal xdg-desktop-portal-gtk
升级了 0 个软件包,新安装了 4 个软件包,要卸载 0 个软件包,有 19 个软件包未被升级。
需要下载 1,154 kB 的归档。
解压缩后会消耗 5,356 kB 的额外空间。
您希望继续执行吗? [Y/n] y
获取:1 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu xenial/main amd64 libostree-1-1 amd64 2018.5-flatpak1~xenial [245 kB]
获取:2 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu xenial/main amd64 flatpak amd64 0.11.7-flatpak1~xenial [626 kB]
获取:3 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu xenial/main amd64 xdg-desktop-portal amd64 0.11-flatpak1~xenial [160 kB]
获取:4 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu xenial/main amd64 xdg-desktop-portal-gtk amd64 0.11-flatpak1~xenial [122 kB]
已下载 1,154 kB,耗时 30秒 (37.6 kB/s)
正在选中未选择的软件包 libostree-1-1:amd64。
(正在读取数据库 ... 系统当前共安装有 290972 个文件和目录。)
正准备解包 .../libostree-1-1_2018.5-flatpak1~xenial_amd64.deb ...
正在解包 libostree-1-1:amd64 (2018.5-flatpak1~xenial) ...
正在选中未选择的软件包 flatpak。
正准备解包 .../flatpak_0.11.7-flatpak1~xenial_amd64.deb ...
正在解包 flatpak (0.11.7-flatpak1~xenial) ...
正在选中未选择的软件包 xdg-desktop-portal。
正准备解包 .../xdg-desktop-portal_0.11-flatpak1~xenial_amd64.deb ...
正在解包 xdg-desktop-portal (0.11-flatpak1~xenial) ...
正在选中未选择的软件包 xdg-desktop-portal-gtk。
正准备解包 .../xdg-desktop-portal-gtk_0.11-flatpak1~xenial_amd64.deb ...
正在解包 xdg-desktop-portal-gtk (0.11-flatpak1~xenial) ...
正在处理用于 libc-bin (2.23-0ubuntu10) 的触发器 ...
正在处理用于 doc-base (0.10.7) 的触发器 ...
Processing 1 added doc-base file...
Registering documents with scrollkeeper...
正在处理用于 man-db (2.7.5-1) 的触发器 ...
正在处理用于 dbus (1.10.6-1ubuntu3.3) 的触发器 ...
正在处理用于 gnome-menus (3.13.3-6ubuntu3.1) 的触发器 ...
正在处理用于 desktop-file-utils (0.22-1ubuntu5.1) 的触发器 ...
正在处理用于 mime-support (3.59ubuntu1) 的触发器 ...
正在设置 libostree-1-1:amd64 (2018.5-flatpak1~xenial) ...
正在设置 flatpak (0.11.7-flatpak1~xenial) ...
正在设置 xdg-desktop-portal (0.11-flatpak1~xenial) ...
正在设置 xdg-desktop-portal-gtk (0.11-flatpak1~xenial) ...
正在处理用于 libc-bin (2.23-0ubuntu10) 的触发器 ...
正在处理用于 dbus (1.10.6-1ubuntu3.3) 的触发器 ...
deii@deii-TVB01:~$ sudo apt install gnome-software-plugin-flatpak
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
E: 无法定位软件包 gnome-software-plugin-flatpak
deii@deii-TVB01:~$ sudo apt update
命中:1 http://archive.ubuntukylin.com:10006/ubuntukylin xenial InRelease
命中:2 http://security.ubuntu.com/ubuntu xenial-security InRelease
命中:3 http://archive.canonical.com/ubuntu xenial InRelease
命中:4 http://cn.archive.ubuntu.com/ubuntu xenial-updates InRelease
命中:5 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu xenial InRelease
命中:6 http://cn.archive.ubuntu.com/ubuntu xenial-backports InRelease
命中:7 http://mirrors.aliyun.com/ubuntu xenial InRelease
命中:8 https://packages.zorinos.com/patches xenial InRelease
命中:9 https://packages.zorinos.com/stable xenial InRelease
命中:10 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial InRelease
命中:11 http://ppa.launchpad.net/zorinos/patches/ubuntu xenial InRelease
命中:12 http://ppa.launchpad.net/zorinos/stable/ubuntu xenial InRelease
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
有 19 个软件包可以升级。请执行 ‘apt list --upgradable’ 来查看它们。
deii@deii-TVB01:~$ sudo apt install gnome-software-plugin-flatpak
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
E: 无法定位软件包 gnome-software-plugin-flatpak
deii@deii-TVB01:~$ sudo apt update
命中:1 http://archive.ubuntukylin.com:10006/ubuntukylin xenial InRelease
命中:2 http://mirrors.sohu.com/ubuntu xenial InRelease
命中:3 https://packages.zorinos.com/patches xenial InRelease
命中:4 http://archive.canonical.com/ubuntu xenial InRelease
命中:5 http://security.ubuntu.com/ubuntu xenial-security InRelease
命中:6 http://cn.archive.ubuntu.com/ubuntu xenial-updates InRelease
命中:7 https://packages.zorinos.com/stable xenial InRelease
命中:8 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu xenial InRelease
命中:9 http://cn.archive.ubuntu.com/ubuntu xenial-backports InRelease
命中:10 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial InRelease
命中:11 http://ppa.launchpad.net/zorinos/patches/ubuntu xenial InRelease
命中:12 http://ppa.launchpad.net/zorinos/stable/ubuntu xenial InRelease
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
有 19 个软件包可以升级。请执行 ‘apt list --upgradable’ 来查看它们。
deii@deii-TVB01:~$ sudo apt upgradable
E: 无效的操作 upgradable
deii@deii-TVB01:~$ sudo apt install gnome-software-plugin-flatpak
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
E: 无法定位软件包 gnome-software-plugin-flatpak
deii@deii-TVB01:~$ flatpak
Usage:
flatpak [OPTION...] COMMAND

Builtin Commands:
Manage installed apps and runtimes
install Install an application or runtime
update Update an installed application or runtime
uninstall Uninstall an installed application or runtime
list List installed apps and/or runtimes
info Show info for installed app or runtime
config Configure flatpak

Finding applications and runtimes
search Search for remote apps/runtimes

Running applications
run Run an application
override Override permissions for an application
make-current Specify default version to run
enter Enter the namespace of a running application

Manage file access
document-export Grant an application access to a specific file
document-unexport Revoke access to a specific file
document-info Show information about a specific file
document-list List exported files

Manage remote repositories
remotes List all configured remotes
remote-add Add a new remote repository (by URL)
remote-modify Modify properties of a configured remote
remote-delete Delete a configured remote
remote-ls List contents of a configured remote
remote-info Show information about a remote app or runtime

Build applications
build-init Initialize a directory for building
build Run a build command inside the build dir
build-finish Finish a build dir for export
build-export Export a build dir to a repository
build-bundle Create a bundle file from a ref in a local repository
build-import-bundle Import a bundle file
build-sign Sign an application or runtime
build-update-repo Update the summary file in a repository
build-commit-from Create new commit based on existing ref
repo Print information about a repo

Help Options:
-h, --help Show help options

Application Options:
--version Print version information and exit
--default-arch Print default arch and exit
--supported-arches Print supported arches and exit
--gl-drivers Print active gl drivers and exit
-v, --verbose Print debug information during command processing, -vv for more detail
--ostree-verbose Print OSTree debug information during command processing

error: No command specified
deii@deii-TVB01:~$ flatpak remote-add --from gnome https://sdk.gnome.org/gnome.flatpakrepo
deii@deii-TVB01:~$ latpak install gnome org.gnome.Platform//3.28.2 org.gnome.Sdk//3.28.2
latpak:未找到命令
deii@deii-TVB01:~$ latpak install gdeii@deii-TVB01:~$ sudo add-apt-repository ppa:alexlarsson/flatpak
[sudo] deii 的密码:
Linux application sandboxing and distribution framework (formerly xdg-app)
更多信息: https://launchpad.net/~alexlarsson/+arc ... tu/flatpak
按回车继续或者 Ctrl+c 取消添加

gpg: 钥匙环‘/tmp/tmpyyoa_cvf/secring.gpg’已建立
gpg: 钥匙环‘/tmp/tmpyyoa_cvf/pubring.gpg’已建立
gpg: 下载密钥‘FA577F07’,从 hkp 服务器 keyserver.ubuntu.com
gpg: /tmp/tmpyyoa_cvf/trustdb.gpg:建立了信任度数据库
gpg: 密钥 FA577F07:公钥“Launchpad PPA for Alexander Larsson”已导入
gpg: 合计被处理的数量:1
gpg: 已导入:1 (RSA: 1)
OK
deii@deii-TVB01:~$ sudo apt update
命中:1 http://mirrors.aliyun.com/ubuntu xenial InRelease
获取:2 http://archive.ubuntukylin.com:10006/ubuntukylin xenial InRelease [18.1 kB]
获取:3 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB]
命中:4 http://archive.canonical.com/ubuntu xenial InRelease
获取:5 http://security.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11 Metadata [67.7 kB]
命中:6 https://packages.zorinos.com/patches xenial InRelease
获取:7 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu xenial InRelease [24.3 kB]
命中:8 https://packages.zorinos.com/stable xenial InRelease
获取:9 http://security.ubuntu.com/ubuntu xenial-security/main DEP-11 64x64 Icons [68.0 kB]
获取:10 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 DEP-11 Metadata [107 kB]
获取:11 http://security.ubuntu.com/ubuntu xenial-security/universe DEP-11 64x64 Icons [142 kB]
获取:12 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial InRelease [17.5 kB]
获取:13 http://cn.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
获取:14 http://cn.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
获取:15 http://cn.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [785 kB]
命中:16 http://ppa.launchpad.net/zorinos/patches/ubuntu xenial InRelease
获取:17 http://cn.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [720 kB]
命中:18 http://ppa.launchpad.net/zorinos/stable/ubuntu xenial InRelease
获取:19 http://cn.archive.ubuntu.com/ubuntu xenial-updates/main amd64 DEP-11 Metadata [319 kB]
获取:20 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu xenial/main amd64 Packages [4,292 B]
获取:21 http://cn.archive.ubuntu.com/ubuntu xenial-updates/main DEP-11 64x64 Icons [224 kB]
获取:22 http://cn.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [632 kB]
获取:23 http://cn.archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [578 kB]
获取:24 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu xenial/main i386 Packages [4,308 B]
获取:25 http://cn.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 DEP-11 Metadata [246 kB]
获取:26 http://cn.archive.ubuntu.com/ubuntu xenial-updates/universe DEP-11 64x64 Icons [331 kB]
获取:27 http://cn.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 DEP-11 Metadata [5,964 B]
获取:28 http://cn.archive.ubuntu.com/ubuntu xenial-backports/main amd64 DEP-11 Metadata [3,328 B]
获取:29 http://cn.archive.ubuntu.com/ubuntu xenial-backports/universe amd64 DEP-11 Metadata [5,096 B]
获取:30 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu xenial/main Translation-en [3,188 B]
获取:31 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial/main amd64 Packages [79.3 kB]
获取:32 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial/main i386 Packages [78.0 kB]
已下载 4,785 kB,耗时 31秒 (152 kB/s)
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
有 24 个软件包可以升级。请执行 ‘apt list --upgradable’ 来查看它们。
deii@deii-TVB01:~$ sudo apt list --upgradable
正在列表... 完成
cpp-8/xenial 8.1.0-5ubuntu1~16.04 amd64 [可从该版本升级:8-20180424-0ubuntu1~16.04.1]
g++-8/xenial 8.1.0-5ubuntu1~16.04 amd64 [可从该版本升级:8-20180424-0ubuntu1~16.04.1]
gcc-7-base/xenial 7.3.0-21ubuntu1~16.04 amd64 [可从该版本升级:7.3.0-16ubuntu3~16.04.1]
gcc-8/xenial 8.1.0-5ubuntu1~16.04 amd64 [可从该版本升级:8-20180424-0ubuntu1~16.04.1]
gcc-8-base/xenial 8.1.0-5ubuntu1~16.04 amd64 [可从该版本升级:8-20180424-0ubuntu1~16.04.1]
libasan5/xenial 8.1.0-5ubuntu1~16.04 amd64 [可从该版本升级:8-20180424-0ubuntu1~16.04.1]
libatomic1/xenial 8.1.0-5ubuntu1~16.04 amd64 [可从该版本升级:8-20180424-0ubuntu1~16.04.1]
libcc1-0/xenial 8.1.0-5ubuntu1~16.04 amd64 [可从该版本升级:8-20180424-0ubuntu1~16.04.1]
libcilkrts5/xenial 7.3.0-21ubuntu1~16.04 amd64 [可从该版本升级:7.3.0-16ubuntu3~16.04.1]
libgcc-8-dev/xenial 8.1.0-5ubuntu1~16.04 amd64 [可从该版本升级:8-20180424-0ubuntu1~16.04.1]
libgcc1/xenial 1:8.1.0-5ubuntu1~16.04 amd64 [可从该版本升级:1:8-20180424-0ubuntu1~16.04.1]
libgomp1/xenial 8.1.0-5ubuntu1~16.04 amd64 [可从该版本升级:8-20180424-0ubuntu1~16.04.1]
libitm1/xenial 8.1.0-5ubuntu1~16.04 amd64 [可从该版本升级:8-20180424-0ubuntu1~16.04.1]
libldap-2.4-2/xenial-updates 2.4.42+dfsg-2ubuntu3.3 amd64 [可从该版本升级:2.4.42+dfsg-2ubuntu3.2]
liblsan0/xenial 8.1.0-5ubuntu1~16.04 amd64 [可从该版本升级:8-20180424-0ubuntu1~16.04.1]
libmpx2/xenial 8.1.0-5ubuntu1~16.04 amd64 [可从该版本升级:8-20180424-0ubuntu1~16.04.1]
libobjc4/xenial 8.1.0-5ubuntu1~16.04 amd64 [可从该版本升级:8-20180424-0ubuntu1~16.04.1]
libquadmath0/xenial 8.1.0-5ubuntu1~16.04 amd64 [可从该版本升级:8-20180424-0ubuntu1~16.04.1]
libstdc++-8-dev/xenial 8.1.0-5ubuntu1~16.04 amd64 [可从该版本升级:8-20180424-0ubuntu1~16.04.1]
libstdc++6/xenial 8.1.0-5ubuntu1~16.04 amd64 [可从该版本升级:8-20180424-0ubuntu1~16.04.1]
libtsan0/xenial 8.1.0-5ubuntu1~16.04 amd64 [可从该版本升级:8-20180424-0ubuntu1~16.04.1]
libubsan0/xenial 7.3.0-21ubuntu1~16.04 amd64 [可从该版本升级:7.3.0-16ubuntu3~16.04.1]
libubsan1/xenial 8.1.0-5ubuntu1~16.04 amd64 [可从该版本升级:8-20180424-0ubuntu1~16.04.1]
deii@deii-TVB01:~$ sudo apt-get upgrade
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
正在计算更新... 完成
下列软件包是自动安装的并且现在不需要了:
gir1.2-gtk-2.0 libatk1.0-dev libbz2-dev libcairo-script-interpreter2
libcairo2-dev libenca0 libfontconfig1-dev libfreetype6-dev
libgdk-pixbuf2.0-dev libglib2.0-dev libgtk2.0-dev libguess1 libharfbuzz-dev
libharfbuzz-gobject0 libice-dev libmpv1 libnotify-dev libpango1.0-dev
libpcre3-dev libpcre32-3 libpcrecpp0v5 libpixman-1-dev libpng12-dev
libpthread-stubs0-dev libqt5xml5 libqtermwidget5-0 librubberband2v5
libsdl2-2.0-0 libsm-dev libsndio6.1 libsox-fmt-alsa libsox-fmt-base libsox2
libva-wayland1 libx11-dev libx11-doc libxau-dev libxcb-render0-dev
libxcb-shm0-dev libxcb1-dev libxcomposite-dev libxcursor-dev libxdamage-dev
libxdmcp-dev libxext-dev libxfixes-dev libxft-dev libxi-dev libxinerama-dev
libxrandr-dev libxrender-dev mpv pkg-config qtermwidget5-data rtmpdump sox
theide x11proto-composite-dev x11proto-core-dev x11proto-damage-dev
x11proto-fixes-dev x11proto-input-dev x11proto-kb-dev x11proto-randr-dev
x11proto-render-dev x11proto-xext-dev x11proto-xinerama-dev
xorg-sgml-doctools xtrans-dev youtube-dl zlib1g-dev
使用'sudo apt autoremove'来卸载它(它们)。
下列软件包的版本将保持不变:
cpp-8 g++-8 gcc-8 gcc-8-base libasan5 libatomic1 libcc1-0 libgcc-8-dev
libgcc1 libgomp1 libitm1 liblsan0 libmpx2 libobjc4 libquadmath0
libstdc++-8-dev libstdc++6 libtsan0 libubsan1
下列软件包将被升级:
gcc-7-base libcilkrts5 libldap-2.4-2 libldap-2.4-2:i386 libubsan0
升级了 5 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 19 个软件包未被升级。
需要下载 520 kB 的归档。
解压缩后会消耗 0 B 的额外空间。
您希望继续执行吗? [Y/n] y
获取:1 http://cn.archive.ubuntu.com/ubuntu xenial-updates/main i386 libldap-2.4-2 i386 2.4.42+dfsg-2ubuntu3.3 [173 kB]
获取:2 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial/main amd64 libcilkrts5 amd64 7.3.0-21ubuntu1~16.04 [42.4 kB]
获取:3 http://cn.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libldap-2.4-2 amd64 2.4.42+dfsg-2ubuntu3.3 [161 kB]
获取:4 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial/main amd64 libubsan0 amd64 7.3.0-21ubuntu1~16.04 [126 kB]
获取:5 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial/main amd64 gcc-7-base amd64 7.3.0-21ubuntu1~16.04 [18.5 kB]
已下载 520 kB,耗时 7秒 (65.0 kB/s)
(正在读取数据库 ... 系统当前共安装有 290972 个文件和目录。)
正准备解包 .../libcilkrts5_7.3.0-21ubuntu1~16.04_amd64.deb ...
正在将 libcilkrts5:amd64 (7.3.0-21ubuntu1~16.04) 解包到 (7.3.0-16ubuntu3~16.04.1) 上 ...
正准备解包 .../libubsan0_7.3.0-21ubuntu1~16.04_amd64.deb ...
正在将 libubsan0:amd64 (7.3.0-21ubuntu1~16.04) 解包到 (7.3.0-16ubuntu3~16.04.1) 上 ...
正准备解包 .../gcc-7-base_7.3.0-21ubuntu1~16.04_amd64.deb ...
正在将 gcc-7-base:amd64 (7.3.0-21ubuntu1~16.04) 解包到 (7.3.0-16ubuntu3~16.04.1) 上 ...
正准备解包 .../libldap-2.4-2_2.4.42+dfsg-2ubuntu3.3_i386.deb ...
正在反配置 libldap-2.4-2:amd64 (2.4.42+dfsg-2ubuntu3.2) ...
正在将 libldap-2.4-2:i386 (2.4.42+dfsg-2ubuntu3.3) 解包到 (2.4.42+dfsg-2ubuntu3.2) 上 ...
正准备解包 .../libldap-2.4-2_2.4.42+dfsg-2ubuntu3.3_amd64.deb ...
正在将 libldap-2.4-2:amd64 (2.4.42+dfsg-2ubuntu3.3) 解包到 (2.4.42+dfsg-2ubuntu3.2) 上 ...
正在处理用于 libc-bin (2.23-0ubuntu10) 的触发器 ...
正在处理用于 man-db (2.7.5-1) 的触发器 ...
正在设置 gcc-7-base:amd64 (7.3.0-21ubuntu1~16.04) ...
正在设置 libcilkrts5:amd64 (7.3.0-21ubuntu1~16.04) ...
正在设置 libubsan0:amd64 (7.3.0-21ubuntu1~16.04) ...
正在设置 libldap-2.4-2:amd64 (2.4.42+dfsg-2ubuntu3.3) ...
正在设置 libldap-2.4-2:i386 (2.4.42+dfsg-2ubuntu3.3) ...
正在处理用于 libc-bin (2.23-0ubuntu10) 的触发器 ...
deii@deii-TVB01:~$ sudo apt install flatpak
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
下列软件包是自动安装的并且现在不需要了:
gir1.2-gtk-2.0 libatk1.0-dev libbz2-dev libcairo-script-interpreter2
libcairo2-dev libenca0 libfontconfig1-dev libfreetype6-dev
libgdk-pixbuf2.0-dev libglib2.0-dev libgtk2.0-dev libguess1 libharfbuzz-dev
libharfbuzz-gobject0 libice-dev libmpv1 libnotify-dev libpango1.0-dev
libpcre3-dev libpcre32-3 libpcrecpp0v5 libpixman-1-dev libpng12-dev
libpthread-stubs0-dev libqt5xml5 libqtermwidget5-0 librubberband2v5
libsdl2-2.0-0 libsm-dev libsndio6.1 libsox-fmt-alsa libsox-fmt-base libsox2
libva-wayland1 libx11-dev libx11-doc libxau-dev libxcb-render0-dev
libxcb-shm0-dev libxcb1-dev libxcomposite-dev libxcursor-dev libxdamage-dev
libxdmcp-dev libxext-dev libxfixes-dev libxft-dev libxi-dev libxinerama-dev
libxrandr-dev libxrender-dev mpv pkg-config qtermwidget5-data rtmpdump sox
theide x11proto-composite-dev x11proto-core-dev x11proto-damage-dev
x11proto-fixes-dev x11proto-input-dev x11proto-kb-dev x11proto-randr-dev
x11proto-render-dev x11proto-xext-dev x11proto-xinerama-dev
xorg-sgml-doctools xtrans-dev youtube-dl zlib1g-dev
使用'sudo apt autoremove'来卸载它(它们)。
将会同时安装下列软件:
libostree-1-1 xdg-desktop-portal xdg-desktop-portal-gtk
下列【新】软件包将被安装:
flatpak libostree-1-1 xdg-desktop-portal xdg-desktop-portal-gtk
升级了 0 个软件包,新安装了 4 个软件包,要卸载 0 个软件包,有 19 个软件包未被升级。
需要下载 1,154 kB 的归档。
解压缩后会消耗 5,356 kB 的额外空间。
您希望继续执行吗? [Y/n] y
获取:1 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu xenial/main amd64 libostree-1-1 amd64 2018.5-flatpak1~xenial [245 kB]
获取:2 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu xenial/main amd64 flatpak amd64 0.11.7-flatpak1~xenial [626 kB]
获取:3 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu xenial/main amd64 xdg-desktop-portal amd64 0.11-flatpak1~xenial [160 kB]
获取:4 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu xenial/main amd64 xdg-desktop-portal-gtk amd64 0.11-flatpak1~xenial [122 kB]
已下载 1,154 kB,耗时 30秒 (37.6 kB/s)
正在选中未选择的软件包 libostree-1-1:amd64。
(正在读取数据库 ... 系统当前共安装有 290972 个文件和目录。)
正准备解包 .../libostree-1-1_2018.5-flatpak1~xenial_amd64.deb ...
正在解包 libostree-1-1:amd64 (2018.5-flatpak1~xenial) ...
正在选中未选择的软件包 flatpak。
正准备解包 .../flatpak_0.11.7-flatpak1~xenial_amd64.deb ...
正在解包 flatpak (0.11.7-flatpak1~xenial) ...
正在选中未选择的软件包 xdg-desktop-portal。
正准备解包 .../xdg-desktop-portal_0.11-flatpak1~xenial_amd64.deb ...
正在解包 xdg-desktop-portal (0.11-flatpak1~xenial) ...
正在选中未选择的软件包 xdg-desktop-portal-gtk。
正准备解包 .../xdg-desktop-portal-gtk_0.11-flatpak1~xenial_amd64.deb ...
正在解包 xdg-desktop-portal-gtk (0.11-flatpak1~xenial) ...
正在处理用于 libc-bin (2.23-0ubuntu10) 的触发器 ...
正在处理用于 doc-base (0.10.7) 的触发器 ...
Processing 1 added doc-base file...
Registering documents with scrollkeeper...
正在处理用于 man-db (2.7.5-1) 的触发器 ...
正在处理用于 dbus (1.10.6-1ubuntu3.3) 的触发器 ...
正在处理用于 gnome-menus (3.13.3-6ubuntu3.1) 的触发器 ...
正在处理用于 desktop-file-utils (0.22-1ubuntu5.1) 的触发器 ...
正在处理用于 mime-support (3.59ubuntu1) 的触发器 ...
正在设置 libostree-1-1:amd64 (2018.5-flatpak1~xenial) ...
正在设置 flatpak (0.11.7-flatpak1~xenial) ...
正在设置 xdg-desktop-portal (0.11-flatpak1~xenial) ...
正在设置 xdg-desktop-portal-gtk (0.11-flatpak1~xenial) ...
正在处理用于 libc-bin (2.23-0ubuntu10) 的触发器 ...
正在处理用于 dbus (1.10.6-1ubuntu3.3) 的触发器 ...
deii@deii-TVB01:~$ sudo apt install gnome-software-plugin-flatpak
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
E: 无法定位软件包 gnome-software-plugin-flatpak
deii@deii-TVB01:~$ sudo apt update
命中:1 http://archive.ubuntukylin.com:10006/ubuntukylin xenial InRelease
命中:2 http://security.ubuntu.com/ubuntu xenial-security InRelease
命中:3 http://archive.canonical.com/ubuntu xenial InRelease
命中:4 http://cn.archive.ubuntu.com/ubuntu xenial-updates InRelease
命中:5 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu xenial InRelease
命中:6 http://cn.archive.ubuntu.com/ubuntu xenial-backports InRelease
命中:7 http://mirrors.aliyun.com/ubuntu xenial InRelease
命中:8 https://packages.zorinos.com/patches xenial InRelease
命中:9 https://packages.zorinos.com/stable xenial InRelease
命中:10 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial InRelease
命中:11 http://ppa.launchpad.net/zorinos/patches/ubuntu xenial InRelease
命中:12 http://ppa.launchpad.net/zorinos/stable/ubuntu xenial InRelease
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
有 19 个软件包可以升级。请执行 ‘apt list --upgradable’ 来查看它们。
deii@deii-TVB01:~$ sudo apt install gnome-software-plugin-flatpak
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
E: 无法定位软件包 gnome-software-plugin-flatpak
deii@deii-TVB01:~$ sudo apt update
命中:1 http://archive.ubuntukylin.com:10006/ubuntukylin xenial InRelease
命中:2 http://mirrors.sohu.com/ubuntu xenial InRelease
命中:3 https://packages.zorinos.com/patches xenial InRelease
命中:4 http://archive.canonical.com/ubuntu xenial InRelease
命中:5 http://security.ubuntu.com/ubuntu xenial-security InRelease
命中:6 http://cn.archive.ubuntu.com/ubuntu xenial-updates InRelease
命中:7 https://packages.zorinos.com/stable xenial InRelease
命中:8 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu xenial InRelease
命中:9 http://cn.archive.ubuntu.com/ubuntu xenial-backports InRelease
命中:10 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial InRelease
命中:11 http://ppa.launchpad.net/zorinos/patches/ubuntu xenial InRelease
命中:12 http://ppa.launchpad.net/zorinos/stable/ubuntu xenial InRelease
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
有 19 个软件包可以升级。请执行 ‘apt list --upgradable’ 来查看它们。
deii@deii-TVB01:~$ sudo apt upgradable
E: 无效的操作 upgradable
deii@deii-TVB01:~$ sudo apt install gnome-software-plugin-flatpak
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
E: 无法定位软件包 gnome-software-plugin-flatpak
deii@deii-TVB01:~$ flatpak
Usage:
flatpak [OPTION...] COMMAND

Builtin Commands:
Manage installed apps and runtimes
install Install an application or runtime
update Update an installed application or runtime
uninstall Uninstall an installed application or runtime
list List installed apps and/or runtimes
info Show info for installed app or runtime
config Configure flatpak

Finding applications and runtimes
search Search for remote apps/runtimes

Running applications
run Run an application
override Override permissions for an application
make-current Specify default version to run
enter Enter the namespace of a running application

Manage file access
document-export Grant an application access to a specific file
document-unexport Revoke access to a specific file
document-info Show information about a specific file
document-list List exported files

Manage remote repositories
remotes List all configured remotes
remote-add Add a new remote repository (by URL)
remote-modify Modify properties of a configured remote
remote-delete Delete a configured remote
remote-ls List contents of a configured remote
remote-info Show information about a remote app or runtime

Build applications
build-init Initialize a directory for building
build Run a build command inside the build dir
build-finish Finish a build dir for export
build-export Export a build dir to a repository
build-bundle Create a bundle file from a ref in a local repository
build-import-bundle Import a bundle file
build-sign Sign an application or runtime
build-update-repo Update the summary file in a repository
build-commit-from Create new commit based on existing ref
repo Print information about a repo

Help Options:
-h, --help Show help options

Application Options:
--version Print version information and exit
--default-arch Print default arch and exit
--supported-arches Print supported arches and exit
--gl-drivers Print active gl drivers and exit
-v, --verbose Print debug information during command processing, -vv for more detail
--ostree-verbose Print OSTree debug information during command processing

error: No command specified
deii@deii-TVB01:~$ flatpak remote-add --from gnome https://sdk.gnome.org/gnome.flatpakrepo
deii@deii-TVB01:~$ latpak install gnome org.gnome.Platform//3.28.2 org.gnome.Sdk//3.28.2
latpak:未找到命令
deii@deii-TVB01:~$ latpak install gnome org.gnome.Platform//3.28 org.gnome.Sdk//3.28
latpak:未找到命令
deii@deii-TVB01:~$ latpak install gnome org.gnome.Platform//3.24 org.gnome.Sdk//3.24
latpak:未找到命令
deii@deii-TVB01:~$ flatpak install gnome org.gnome.Platform//3.24 org.gnome.Sdk//3.24
Installing: org.gnome.Platform/x86_64/3.24 from gnome
[###- ] Downloading: 26.5 MB/250.3 MB ([###- ] Downloading: 26.5 MB/250.3 MB ([#########- ] Downloading: 108.3 MB/250.3 MB (27.1 kB/s)
error: While pulling runtime/org.gnome.Platform/x86_64/3.24 from remote gnome: Socket I/O timed out
nome org.gnome.Platform//3.28 org.gnome.Sdk//3.28
latpak:未找到命令
deii@deii-TVB01:~$ latpak install gnome org.gnome.Platform//3.24 org.gnome.Sdk//3.24
latpak:未找到命令
deii@deii-TVB01:~$ flatpak install gnome org.gnome.Platform//3.24 org.gnome.Sdk//3.24
Installing: org.gnome.Platform/x86_64/3.24 from gnome
[###- ] Downloading: 26.5 MB/250.3 MB ([###- ] Downloading: 26.5 MB/250.3 MB ([#########- ] Downloading: 108.3 MB/250.3 MB (27.1 kB/s)
error: While pulling runtime/org.gnome.Platform/x86_64/3.24 from remote gnome: Socket I/O timed out

正在分析软件包的依赖关系树
正在读取状态信息... 完成
E: 无法定位软件包 gnome-software-plugin-flatpak
deii@deii-TVB01:~$ sudo apt update
命中:1 http://archive.ubuntukylin.com:10006/ubuntukylin xenial InRelease
命中:2 http://mirrors.sohu.com/ubuntu xenial InRelease
命中:3 https://packages.zorinos.com/patches xenial InRelease
命中:4 http://archive.canonical.com/ubuntu xenial InRelease
命中:5 http://security.ubuntu.com/ubuntu xenial-security InRelease
命中:6 http://cn.archive.ubuntu.com/ubuntu xenial-updates InRelease
命中:7 https://packages.zorinos.com/stable xenial InRelease
命中:8 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu xenial InRelease
命中:9 http://cn.archive.ubuntu.com/ubuntu xenial-backports InRelease
命中:10 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial InRelease
命中:11 http://ppa.launchpad.net/zorinos/patches/ubuntu xenial InRelease
命中:12 http://ppa.launchpad.net/zorinos/stable/ubuntu xenial InRelease
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
有 19 个软件包可以升级。请执行 ‘apt list --upgradable’ 来查看它们。
deii@deii-TVB01:~$ sudo apt upgradable
E: 无效的操作 upgradable
deii@deii-TVB01:~$ sudo apt install gnome-software-plugin-flatpak
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
E: 无法定位软件包 gnome-software-plugin-flatpak
deii@deii-TVB01:~$ flatpak
Usage:
flatpak [OPTION...] COMMAND

Builtin Commands:
Manage installed apps and runtimes
install Install an application or runtime
update Update an installed application or runtime
uninstall Uninstall an installed application or runtime
list List installed apps and/or runtimes
info Show info for installed app or runtime
config Configure flatpak

Finding applications and runtimes
search Search for remote apps/runtimes

Running applications
run Run an application
override Override permissions for an application
make-current Specify default version to run
enter Enter the namespace of a running application

Manage file access
document-export Grant an application access to a specific file
document-unexport Revoke access to a specific file
document-info Show information about a specific file
document-list List exported files

Manage remote repositories
remotes List all configured remotes
remote-add Add a new remote repository (by URL)
remote-modify Modify properties of a configured remote
remote-delete Delete a configured remote
remote-ls List contents of a configured remote
remote-info Show information about a remote app or runtime

Build applications
build-init Initialize a directory for building
build Run a build command inside the build dir
build-finish Finish a build dir for export
build-export Export a build dir to a repository
build-bundle Create a bundle file from a ref in a local repository
build-import-bundle Import a bundle file
build-sign Sign an application or runtime
build-update-repo Update the summary file in a repository
build-commit-from Create new commit based on existing ref
repo Print information about a repo

Help Options:
-h, --help Show help options

Application Options:
--version Print version information and exit
--default-arch Print default arch and exit
--supported-arches Print supported arches and exit
--gl-drivers Print active gl drivers and exit
-v, --verbose Print debug information during command processing, -vv for more detail
--ostree-verbose Print OSTree debug information during command processing

error: No command specified
deii@deii-TVB01:~$ flatpak remote-add --from gnome https://sdk.gnome.org/gnome.flatpakrepo
deii@deii-TVB01:~$ latpak install gnome org.gnome.Platform//3.28.2 org.gnome.Sdk//3.28.2
latpak:未找到命令
deii@deii-TVB01:~$ latpak install gnome org.gnome.Platform//3.28 org.gnome.Sdk//3.28
latpak:未找到命令
deii@deii-TVB01:~$ latpak install gnome org.gnome.Platform//3.24 org.gnome.Sdk//3.24
latpak:未找到命令
deii@deii-TVB01:~$ flatpak install gnome org.gnome.Platform//3.24 org.gnome.Sdk//3.24
Installing: org.gnome.Platform/x86_64/3.24 from gnome
[###- ] Downloading: 26.5 MB/250.3 MB ([###- ] Downloading: 26.5 MB/250.3 MB ([#########- ] Downloading: 108.3 MB/250.3 MB (27.1 kB/s)
error: While pulling runtime/org.gnome.Platform/x86_64/3.24 from remote gnome: Socket I/O timed out
添加ppa源是成功的, 可就是无法定位软件包 gnome-software-plugin-flatpak ,换过源,还是一样。和参考优麒麟的两篇资讯,还是不行。
相关教程网址如下:
https://flatpak.org/setup/Ubuntu/
http://www.ubuntukylin.com/news/shownew ... =cn&id=664
http://www.ubuntukylin.com/news/shownew ... =cn&id=653
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 使用zorin安装flatpak应用,按官网安装ubuntu的办法装不起,后又参考优麒麟的两篇文章还是不行。

#2

帖子 poloshiao » 2018-06-07 7:47

sudo apt update
命中:1 http://archive.ubuntukylin.com:10006/ubuntukylin xenial InRelease
1. Ubuntu 16.04
sudo apt install gnome-software-plugin-flatpak
...
E: 无法定位软件包 gnome-software-plugin-flatpak
2. Ubuntu 16.04 官方套件庫 沒有套件 gnome-software-plugin-flatpak, 17.10 以後才有
2-1. https://packages.ubuntu.com/search?suit ... chon=names
Package gnome-software-plugin-flatpak
deii@deii-TVB01:~$ sudo add-apt-repository ppa:alexlarsson/flatpak
Linux application sandboxing and distribution framework (formerly xdg-app)
更多信息: https://launchpad.net/~alexlarsson/+arc ... tu/flatpak
按回车继续或者 Ctrl+c 取消添加
3. ppa:alexlarsson/flatpak 也沒有 套件 gnome-software-plugin-flatpak
3-1. http://ppa.launchpad.net/alexlarsson/fl ... pool/main/

4. 建議 在 Ubuntu 18.04 再試試
deii
帖子: 146
注册时间: 2018-04-24 20:06

Re: 使用zorin安装flatpak应用,按官网安装ubuntu的办法装不起,后又参考优麒麟的两篇文章还是不行。

#3

帖子 deii » 2018-06-07 9:36

poloshiao 写了:
sudo apt update
命中:1 http://archive.ubuntukylin.com:10006/ubuntukylin xenial InRelease
1. Ubuntu 16.04
sudo apt install gnome-software-plugin-flatpak
...
E: 无法定位软件包 gnome-software-plugin-flatpak
2. Ubuntu 16.04 官方套件庫 沒有套件 gnome-software-plugin-flatpak, 17.10 以後才有
2-1. https://packages.ubuntu.com/search?suit ... chon=names
Package gnome-software-plugin-flatpak
deii@deii-TVB01:~$ sudo add-apt-repository ppa:alexlarsson/flatpak
Linux application sandboxing and distribution framework (formerly xdg-app)
更多信息: https://launchpad.net/~alexlarsson/+arc ... tu/flatpak
按回车继续或者 Ctrl+c 取消添加
3. ppa:alexlarsson/flatpak 也沒有 套件 gnome-software-plugin-flatpak
3-1. http://ppa.launchpad.net/alexlarsson/fl ... pool/main/
4. 建議 在 Ubuntu 18.04 再試試
我倒是下载了flatpak压缩包,解包进行./configure 或 ./configure [args],总是缺少依赖,满足不了编译要求,上网或用新立得搜也搜不到,怎么办?
deii@deii-TVB01:~/flatpak-0.11.4$ ./configure [args]
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: [args]
checking for [args]-gcc... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for [args]-gcc... gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking build system type... Invalid configuration `[args]': machine `[args]' not recognized
configure: error: /bin/bash ./config.sub [args] failed
deii@deii-TVB01:~/flatpak-0.11.4$ ./configure
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... gawk
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking whether make supports nested variables... yes
checking whether UID '1000' is supported by ustar format... yes
checking whether GID '1000' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... (cached) /bin/sed
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by gcc... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking whether make supports nested variables... (cached) yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking if gcc supports flag -pipe in envvar CFLAGS... yes
checking if gcc supports flag -Wall in envvar CFLAGS... yes
checking if gcc supports flag -Werror=empty-body in envvar CFLAGS... yes
checking if gcc supports flag -Werror=strict-prototypes in envvar CFLAGS... yes
checking if gcc supports flag -Werror=missing-prototypes in envvar CFLAGS... yes
checking if gcc supports flag -Werror=implicit-function-declaration in envvar CFLAGS... yes
checking if gcc supports flag -Werror=format=2 -Werror=format-security -Werror=format-nonliteral in envvar CFLAGS... yes
checking if gcc supports flag -Werror=pointer-arith in envvar CFLAGS... yes
checking if gcc supports flag -Werror=init-self in envvar CFLAGS... yes
checking if gcc supports flag -Werror=missing-declarations in envvar CFLAGS... yes
checking if gcc supports flag -Werror=return-type in envvar CFLAGS... yes
checking if gcc supports flag -Werror=overflow in envvar CFLAGS... yes
checking if gcc supports flag -Werror=int-conversion in envvar CFLAGS... yes
checking if gcc supports flag -Werror=parenthesis in envvar CFLAGS... no
checking if gcc supports flag -Werror=incompatible-pointer-types in envvar CFLAGS... yes
checking if gcc supports flag -Werror=misleading-indentation in envvar CFLAGS... yes
checking if gcc supports flag -Werror=missing-include-dirs in envvar CFLAGS... yes
checking whether to enable Valgrind on the unit tests... checking for valgrind... no
yes
checking for pkg-config... no
checking for cap_from_text in -lcap... no
configure: error: *** libcap needed by bubblewrap but not found
上次由 deii 在 2018-06-07 10:17,总共编辑 1 次。
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 使用zorin安装flatpak应用,按官网安装ubuntu的办法装不起,后又参考优麒麟的两篇文章还是不行。

#4

帖子 poloshiao » 2018-06-07 9:41

我这系统基于ubuntu 16.04,基于18.04的还没出
建議
1. 等 7 月底 8 月初 18.04.1 發行後 再升級到 18.04

2. 全新安裝 Ubuntu 18.04
deii
帖子: 146
注册时间: 2018-04-24 20:06

Re: 使用zorin安装flatpak应用,按官网安装ubuntu的办法装不起,后又参考优麒麟的两篇文章还是不行。

#5

帖子 deii » 2018-06-07 10:20

poloshiao 写了:
我这系统基于ubuntu 16.04,基于18.04的还没出
建議
1. 等 7 月底 8 月初 18.04.1 發行後 再升級到 18.04

2. 全新安裝 Ubuntu 18.04
我倒是下载了flatpak压缩包,解包进行./configure 或 ./configure [args],总是缺少依赖,满足不了编译要求,上网或用新立得搜也搜不到,怎么办?
deii@deii-TVB01:~/flatpak-0.11.4$ ./configure [args]
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: [args]
checking for [args]-gcc... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for [args]-gcc... gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking build system type... Invalid configuration `[args]': machine `[args]' not recognized
configure: error: /bin/bash ./config.sub [args] failed
deii@deii-TVB01:~/flatpak-0.11.4$ ./configure
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... gawk
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking whether make supports nested variables... yes
checking whether UID '1000' is supported by ustar format... yes
checking whether GID '1000' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... (cached) /bin/sed
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by gcc... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking whether make supports nested variables... (cached) yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking if gcc supports flag -pipe in envvar CFLAGS... yes
checking if gcc supports flag -Wall in envvar CFLAGS... yes
checking if gcc supports flag -Werror=empty-body in envvar CFLAGS... yes
checking if gcc supports flag -Werror=strict-prototypes in envvar CFLAGS... yes
checking if gcc supports flag -Werror=missing-prototypes in envvar CFLAGS... yes
checking if gcc supports flag -Werror=implicit-function-declaration in envvar CFLAGS... yes
checking if gcc supports flag -Werror=format=2 -Werror=format-security -Werror=format-nonliteral in envvar CFLAGS... yes
checking if gcc supports flag -Werror=pointer-arith in envvar CFLAGS... yes
checking if gcc supports flag -Werror=init-self in envvar CFLAGS... yes
checking if gcc supports flag -Werror=missing-declarations in envvar CFLAGS... yes
checking if gcc supports flag -Werror=return-type in envvar CFLAGS... yes
checking if gcc supports flag -Werror=overflow in envvar CFLAGS... yes
checking if gcc supports flag -Werror=int-conversion in envvar CFLAGS... yes
checking if gcc supports flag -Werror=parenthesis in envvar CFLAGS... no
checking if gcc supports flag -Werror=incompatible-pointer-types in envvar CFLAGS... yes
checking if gcc supports flag -Werror=misleading-indentation in envvar CFLAGS... yes
checking if gcc supports flag -Werror=missing-include-dirs in envvar CFLAGS... yes
checking whether to enable Valgrind on the unit tests... checking for valgrind... no
yes
checking for pkg-config... no
checking for cap_from_text in -lcap... no
configure: error: *** libcap needed by bubblewrap but not found
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 使用zorin安装flatpak应用,按官网安装ubuntu的办法装不起,后又参考优麒麟的两篇文章还是不行。

#6

帖子 poloshiao » 2018-06-07 10:24

总是缺少依赖
需要一個一個補安裝依賴包
這個方法 新手很辛苦
deii
帖子: 146
注册时间: 2018-04-24 20:06

Re: 使用zorin安装flatpak应用,按官网安装ubuntu的办法装不起,后又参考优麒麟的两篇文章还是不行。

#7

帖子 deii » 2018-06-07 18:12

poloshiao 写了:
总是缺少依赖
需要一個一個補安裝依賴包
這個方法 新手很辛苦
还是请您给出相关的依赖包吧!搜不到!为了安装flatpak应用,拼了!
头像
astolia
论坛版主
帖子: 6386
注册时间: 2008-09-18 13:11

Re: 使用zorin安装flatpak应用,按官网安装ubuntu的办法装不起,后又参考优麒麟的两篇文章还是不行。

#8

帖子 astolia » 2018-06-07 19:31

你都把flatpak安装好了,干嘛还要自己编译一遍?而且编译的还比安装好的版本低。
gnome-software-plugin-flatpak就是一个gnome软件中心的插件,免得你去输各种安装命令,又不是用flatpak的必要条件。不过看在你三番五次把命令输错,对你应该是很有意义的。不过这东西又不属于flatpak,你编译了flatpak也不会有它在。
后面给flatpak加源安装都可以就是说明flatpak可以正常工作,最后下载失败是原因是Socket I/O timed out,也就是网络超时。这是你那边网络的问题,你重新编译flatpak也没用
deii
帖子: 146
注册时间: 2018-04-24 20:06

Re: 使用zorin安装flatpak应用,按官网安装ubuntu的办法装不起,后又参考优麒麟的两篇文章还是不行。

#9

帖子 deii » 2018-06-07 20:04

astolia 写了:你都把flatpak安装好了,干嘛还要自己编译一遍?而且编译的还比安装好的版本低。
gnome-software-plugin-flatpak就是一个gnome软件中心的插件,免得你去输各种安装命令,又不是用flatpak的必要条件。不过看在你三番五次把命令输错,对你应该是很有意义的。不过这东西又不属于flatpak,你编译了flatpak也不会有它在。
后面给flatpak加源安装都可以就是说明flatpak可以正常工作,最后下载失败是原因是Socket I/O timed out,也就是网络超时。这是你那边网络的问题,你重新编译flatpak也没用
我下载的flatpak包据说是最新版。对了加源,使用sudo apt install flatpak就可以安装运行时和flatpak应用了吗?
头像
astolia
论坛版主
帖子: 6386
注册时间: 2008-09-18 13:11

Re: 使用zorin安装flatpak应用,按官网安装ubuntu的办法装不起,后又参考优麒麟的两篇文章还是不行。

#10

帖子 astolia » 2018-06-08 10:41

呵呵,“据说”
获取:2 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu xenial/main amd64 flatpak amd64 0.11.7-flatpak1~xenial [626 kB]
deii@deii-TVB01:~/flatpak-0.11.4$ ./configure [args]
我说的“给flatpak加源安装”是指的你的以下两个操作

代码: 全选

flatpak remote-add --from gnome https://sdk.gnome.org/gnome.flatpakrepo
flatpak install gnome org.gnome.Platform//3.24 org.gnome.Sdk//3.24
从你的操作来看,你这人的性格就是毛毛糙糙的,做事不动脑。
写得很清楚叫你用apt list --upgradable,你非要apt upgradable
同样写得很清楚是“latpak:未找到命令”,你不检查是不是少写了个字母f,调整半天后面的参数有什么用
把同样的东西粘贴了三遍就更不必说了
deii
帖子: 146
注册时间: 2018-04-24 20:06

Re: 使用zorin安装flatpak应用,按官网安装ubuntu的办法装不起,后又参考优麒麟的两篇文章还是不行。

#11

帖子 deii » 2018-06-08 15:45

astolia 写了:呵呵,“据说”
获取:2 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu xenial/main amd64 flatpak amd64 0.11.7-flatpak1~xenial [626 kB]
deii@deii-TVB01:~/flatpak-0.11.4$ ./configure [args]
我说的“给flatpak加源安装”是指的你的以下两个操作

代码: 全选

flatpak remote-add --from gnome https://sdk.gnome.org/gnome.flatpakrepo
flatpak install gnome org.gnome.Platform//3.24 org.gnome.Sdk//3.24
从你的操作来看,你这人的性格就是毛毛糙糙的,做事不动脑。
写得很清楚叫你用apt list --upgradable,你非要apt upgradable
同样写得很清楚是“latpak:未找到命令”,你不检查是不是少写了个字母f,调整半天后面的参数有什么用
把同样的东西粘贴了三遍就更不必说了
确实我的性格有些毛毛糙糙,粗心大意。
我使用apt upgradable命令为了直接更新,省得查看要升级的软件包!
sudo apt install gnome-software-plugin-flatpak
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
这两条命令既然是不要的,那我添加flatpak的ppa源安装flatpak后,直接安装运行时和SDK就可以安装flatpak应用了!
不过我现在觉得flatpak好麻烦,没snap简洁。snap应用不需要运行时和SDK,而flatpak却需要,好麻烦!
deii
帖子: 146
注册时间: 2018-04-24 20:06

Re: 使用zorin安装flatpak应用,按官网安装ubuntu的办法装不起,后又参考优麒麟的两篇文章还是不行。

#12

帖子 deii » 2018-07-03 20:31

代码: 全选

deii@deii-TVB01:~$ flatpak
flatpak:未找到命令
deii@deii-TVB01:~$ flatpak install flathub  org.gnome.Platform//3.28.3
flatpak:未找到命令
deii@deii-TVB01:~$ flatpak install flathub org.gnome.Builder
flatpak:未找到命令
deii@deii-TVB01:~$ flatpak -v
flatpak:未找到命令
deii@deii-TVB01:~$ flatpak -help
flatpak:未找到命令
这到底有没有安装flatpak?
回复