やってみる

アウトプットすべく己を導くためのブログ。その試行錯誤すらたれ流す。

Raspbian buster Flatpak インストールしたがパッケージがインストールできなかった

 新しいパッケージ管理。

Flatpak

 Flatpakパッケージ管理・アプリケーション仮想化するツール。

情報源

探す

apt search flatpak | grep flatpak
flatpak/stable,stable 1.2.4-1 armhf
flatpak-builder/stable,stable 1.0.5-1 armhf
flatpak-builder-tests/stable,stable 1.0.5-1 armhf
flatpak-tests/stable,stable 1.2.4-1 armhf
flatpak-xdg-utils/stable,stable 1.0.0-1 armhf
flatpak-xdg-utils-tests/stable,stable 1.0.0-1 armhf
  as-installed tests for flatpak-xdg-utils
gir1.2-flatpak-1.0/stable,stable 1.2.4-1 armhf
gnome-software-plugin-flatpak/stable,stable 3.30.6-5 armhf
libflatpak-dev/stable,stable 1.2.4-1 armhf
libflatpak-doc/stable,stable 1.2.4-1 all
libflatpak0/stable,stable 1.2.4-1 armhf
plasma-discover-backend-flatpak/stable,stable 5.14.5.1-1 armhf
qt5-flatpak-platformtheme/stable,stable 5.11.3+dfsg1-1+rpi1 armhf

インストールする

sudo apt install -y flatpak
この操作後に追加で 7,870 kB のディスク容量が消費されます。

 確認する。

flatpak --version
Flatpak 1.2.4

リポジトリ追加

flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
Note that the directories 

'/var/lib/flatpak/exports/share'
'/home/pi/.local/share/flatpak/exports/share'

are not in the search path set by the XDG_DATA_DIRS environment variable, so
applications installed by Flatpak may not appear on your desktop until the
session is restarted.

f:id:ytyaru:20191211185931p:plain

パッケージのインストール

flatpak install --from https://flathub.org/repo/appstream/com.github.fabiocolacio.marker.flatpakref
Note that the directories 

'/var/lib/flatpak/exports/share'
'/home/pi/.local/share/flatpak/exports/share'

are not in the search path set by the XDG_DATA_DIRS environment variable, so
applications installed by Flatpak may not appear on your desktop until the
session is restarted.

Required runtime for com.github.fabiocolacio.marker/arm/stable (runtime/org.gnome.Platform/arm/3.30) found in remote flathub
Do you want to install it? [Y/n]: 

 y入力後、Enterキー押下。

com.github.fabiocolacio.marker permissions:
    ipc     wayland     x11     file access [1]     dbus access [2]

    [1] home, xdg-run/dconf, ~/.config/dconf:ro
    [2] ca.desrt.dconf


        ID                                               Arch            Branch            Remote            Download
 1.     org.gnome.Platform                               arm             3.30              flathub           < 311.5 MB
 2.     org.gnome.Platform.Locale                        arm             3.30              flathub           < 320.2 MB (partial)
 3.     org.freedesktop.Platform.html5-codecs            arm             18.08             flathub             < 2.9 MB
 4.     com.github.fabiocolacio.marker                   arm             stable            flathub            < 27.3 MB
 5.     com.github.fabiocolacio.marker.Locale            arm             stable            flathub           < 234.7 kB (partial)

Proceed with these changes to the Default system installation? [Y/n]: 

 y入力後、Enterキー押下。

Error: Not enough disk space to complete this operation
error: Failed to install org.gnome.Platform: While pulling runtime/org.gnome.Platform/arm/3.30 from remote flathub: Writing content object: min-free-space-size 500MB would be exceeded, at least 4.1 kB requested

 エラー。

原因不明

 ググってみたが、わからなかった。

対象環境