Package: flatpak Version: 1.2.3-1~bpo9+1 Severity: normal
Dear Maintainer, We are providing schools with customized Debian Live images. Usually they are a combination of Debian stable and some selected backports (LibreOffice, Linux kernel, ...). Now we have some schools that really want to use the current versions of GIMP and Kdenlive. Both packages are not up to date in stretch-backports, but are available as flatpaks on flathub, see: https://flathub.org/apps/details/org.gimp.GIMP https://flathub.org/apps/details/org.kde.kdenlive Now that flatpak 1.2.3 has arrived in stretch-backports, I wanted to integrate the GIMP and Kdenlive flatpak packages in our Debian Live builds. Unfortunately, calling flatpak in a live-build hook fails with some dbus and polkit error messages and then flatpak segfaults. Here is an example that just tries to add the flathub repo: cat config/hooks/live/add_flathub.chroot #!/bin/sh flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo After adding this hook live-build fails with the following error messages: ------------------------------- P: Begin executing hooks... (flatpak remote-add:9603): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion 'G_IS_DBUS_CONNECTION (connection)' failed ** (flatpak remote-add:9603): CRITICAL **: polkit_authority_register_authentication_agent_with_options_sync: assertion 'POLKIT_IS_AUTHORITY (authority)' failed Segmentation fault E: config/hooks/live/add_flathub.chroot failed (exit non-zero). You should check for errors. P: Begin unmounting filesystems... ------------------------------- I tried prefixing the call to flatpak with dbus-run-session, but it still fails. -- System Information: Debian Release: 9.8 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.19.0-0.bpo.2-amd64 (SMP w/6 CPU cores) Locale: LANG=de_CH.UTF-8, LC_CTYPE=de_CH.UTF-8 (charmap=UTF-8), LANGUAGE=de_CH.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages flatpak depends on: ii bubblewrap 0.3.1-2~bpo9+1 ii libappstream-glib8 0.6.8-1 ii libarchive13 3.2.2-2+deb9u1 ii libc6 2.24-11+deb9u4 ii libdconf1 0.26.0-2+b1 ii libgdk-pixbuf2.0-0 2.36.5-2+deb9u2 ii libglib2.0-0 2.50.3-2 ii libgpgme11 1.12.0-6~bpo9+1 ii libjson-glib-1.0-0 1.2.6-1 ii libostree-1-1 2019.1-1~bpo9+1 ii libpolkit-agent-1-0 0.105-18+deb9u1 ii libpolkit-gobject-1-0 0.105-18+deb9u1 ii libseccomp2 2.3.1-2.1+deb9u1 ii libsoup2.4-1 2.56.0-2+deb9u2 ii libsystemd0 232-25+deb9u8 ii libxau6 1:1.0.8-1 ii libxml2 2.9.4+dfsg1-2.2+deb9u2 ii xdg-dbus-proxy 0.1.1-1~bpo9+1 ii xdg-desktop-portal 1.2.0-1~bpo9+1 Versions of packages flatpak recommends: ii desktop-file-utils 0.23-1 ii gtk-update-icon-cache 3.22.11-1 ii hicolor-icon-theme 0.15-1 ii libpam-systemd 232-25+deb9u8 ii p11-kit 0.23.3-2 ii policykit-1 0.105-18+deb9u1 ii shared-mime-info 1.8-1+deb9u1 ii xdg-desktop-portal-gtk [xdg-desktop-portal-backend] 1.2.0-1~bpo9+1 Versions of packages flatpak suggests: ii avahi-daemon 0.6.32-2 -- no debconf information