[Pkg-utopia-maintainers] Bug#860262: flatpak: fails to download any platform etc (sticks at 0%)

Jonathan Dowland jmtd at debian.org
Wed Apr 19 12:54:55 UTC 2017


On Thu, Apr 13, 2017 at 07:32:39PM +0100, Simon McVittie wrote:
> ... sometimes. I think this is a race condition, unfortunately.
> I've occasionally seen it hang like this, but never when I was in a
> position to spend a lot of time debugging it.

I've reproduced it with a new d-i RC3 install in a virtual box VM.  So far I've
reproduced it 100% of the time on a mix of physical and virtual machines in two
different locations (= different network environments).

I just tried
	flatpak install gnome-games.flatpakref

Where the file was obtained from flatpak.org; the stall is for downloading
Delta parts of org.gnome.Platform/x86_64/3.24 from gnome

If I try Michael's example

	(prerequisite)
	flatpak remote-add gnome-apps https://sdk.gnome.org/gnome-apps.flatpakrepo
	(seems fine)
	flatpak install gnome-apps org.gnome.Maps
	(wants to install org.gnome.Platform/x86_64/3.22) from "gnome"
	Receiving delta parts: 0/9 -/s 0 bytes/183.1 MB - remaining

This is as uid=1000 but I am prompted for elevation so I believe that works.

If I do all of the above with --user the result is the same.

> If you can reproduce this, a gdb `thread apply all bt full`
> from interrupting the stuck download with a signal would probably be
> really useful.

"flatpak-bt-1", attached, is the result of running "gdb --args flatpak --user
install gnome-apps org.gnome.Maps", then sending SIGINT to the process once
it's stuck.

"flatpak-bt-2", attached, is "thread apply all bt full".

> Trying ostree from experimental would also be useful input, if you can
> reproduce it reliably enough.

This seems to resolve the immediate problem. Installing libostree-1-1:amd64	2017.4-1
The prompt now mostly looks right and it finishes and installs:

	Receiving delta parts: 13/81 0 bytes/183.1 MB 2.3 MB/s 1 minutes 19 seconds remaining

However, the actual apps won't run:

	$ flatpak list
	org.gnome.Maps
	$ flatpak run org.gnome.Maps
	execvp gnome-maps: Permission denied



-- 
⢀⣴⠾⠻⢶⣦⠀ 
⣾⠁⢠⠒⠀⣿⡁ Jonathan Dowland
⢿⡄⠘⠷⠚⠋⠀ https://jmtd.net
⠈⠳⣄⠀⠀⠀⠀ Please do not CC me, I am subscribed to the list.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20170419/e41e8599/attachment.sig>


More information about the Pkg-utopia-maintainers mailing list