How to install flatpak on debian-10

Hi all,

does anyone have a guide or “how to” install a flatpak-program in debian-10 template without directly attaching to a network vm? I tried to “export https_proxy=127.0.0.1:8082” but that did not do the trick…

BG

Have you checked the docs yet?

Yep, checked it, but could not find anything helping to solve my problem. Flatpak installs work fine when connecting the template-vm to a net-vm directly for the time of install…
But I would like to proxy it just like installing e.g. signal-desktop - with that I do not need to connect to a net-vm directly - works just fine with “export https_proxy=127.0.0.1:8082”.

There’s an open issue at flatpak about failure to honour proxy settings
in download/build - Way to Build Flatpaks Behind SSL Proxy? · Issue #3746 · flatpak/flatpak · GitHub - but
that’s about honouring certificates, which shouldnt be an issue with
tinyproxy.
My psychic powers are quite muted at present, and “that did not do the
trick” is not giving me anything - can you say something about what error
you saw (if any), and at what stage?

Hi unman,
after I had installed “flatpak” and “gnome-software-plugin-flatpak” I then proxied
“export https_proxy=127.0.0.1:8082”
and tried to ad the flatpakrepo
“flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

Adding the repo only worked when the template was attached to a net-vm - otherwise it showed an error although I proxied it ==>“Can’t load uri https://flathub.org/repo/flathub.flatpakrepo: Error resolving “flathub.org”: Name or service not known”.

My current work around is to install “flatpak” and “gnome-software-plugin-flatpak” in the template-vm. Then I create my app-vm and
“binds+=( ‘/var/lib/flatpak’ )”
After a restart I attach it to a net-vm, add the repo and install the desired app.

I’ve been waiting for Debian support for Flatpak 1.8.2 for a while now to use it with minimal templates.