flatpak missing ostree dependency
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:/
I did that as well. Flatpak started downloading things but eventually errored out with this error message:
error: While pulling app/com.
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
ProcVersionSign
Uname: Linux 4.15.0-20-generic x86_64
NonfreeKernelMo
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_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: flatpak
UpgradeStatus: No upgrade log present (probably fresh install)
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 /packages. ubuntu. com/bionic/ libostree- 1-1 /pastebin. ubuntu. com/p/7yzwcw3hG d/
1 - https:/
2 - https:/