flatpak missing ostree dependency

Bug #1769152 reported by Daniel Boyd
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
flatpak (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

I was attempting to install MonoDevelop per the instructions on MonoDevelop's web site.

It says to install flatpak (which I did, via apt) and then issue this command:
flatpak install --user --from https://download.mono-project.com/repo/monodevelop.flatpakref

I did that as well. Flatpak started downloading things but eventually errored out with this error message:
error: While pulling app/com.xamarin.MonoDevelop/x86_64/stable from remote com.xamarin.MonoDevelop-origin: Socket I/O timed out

I tried this 5 times, each time with the same result. After searching around on the internet, I saw a forum thread where someone suggested I check my ostree version:

$ ostree --version

Command 'ostree' not found, but can be installed with:

sudo apt install ostree

I then installed ostree, re-ran the flatpak install and it installed.

I suggest ostree be added as a dependency to flatpak.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: flatpak 0.11.3-3
ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17
Uname: Linux 4.15.0-20-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.9-0ubuntu7
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Fri May 4 09:07:23 2018
InstallationDate: Installed on 2018-05-04 (0 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
ProcEnviron:
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: flatpak
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Daniel Boyd (danboyd) wrote :
Revision history for this message
Andrew Hayzen (ahayzen) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

This is strange, flatpak does not depend on ostree - only libostree [0]. Our current suspicions are that there were network issues with mono-project.org or gnome.org (for the SDK) when you first tried to install, then in the time it took to install the ostree package, these network issues became "resolved".

Do you remember if installing ostree upgraded the libostree package at all ? It seems that you have done a fresh install of Ubuntu 18.04 so this should have installed the most update to version (2018.4-2) initially [1].

Also I have just tried this myself on a system with libostree and *not* ostree installed and it worked fine [2].

Maybe you could try removing the ostree package, removing monodevelop and trying to install again ? (To see if you are able to reproduce the issue)

Therefore as it is not clear how to reproduce the issue, and it looks possible it is down to network issues, I am marking this bug as incomplete until there are more information.

0 - https://packages.ubuntu.com/bionic/flatpak
1 - https://packages.ubuntu.com/bionic/libostree-1-1
2 - https://pastebin.ubuntu.com/p/7yzwcw3hGd/

Changed in flatpak (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for flatpak (Ubuntu) because there has been no activity for 60 days.]

Changed in flatpak (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.