After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 791106 - When a flatpak changes its runtime and the runtime is not installed, gnome-software fails to update the app and install the required runtime
When a flatpak changes its runtime and the runtime is not installed, gnome-so...
Status: RESOLVED OBSOLETE
Product: gnome-software
Classification: Applications
Component: Flatpak
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Richard Hughes
Richard Hughes
Depends on:
Blocks:
 
 
Reported: 2017-12-01 22:59 UTC by Andrew Hayzen
Modified: 2018-01-24 17:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Error updating spotify flatpak (800.10 KB, image/png)
2017-12-01 22:59 UTC, Andrew Hayzen
Details

Description Andrew Hayzen 2017-12-01 22:59:57 UTC
Created attachment 364794 [details]
Error updating spotify flatpak

What Happened:
1) Blank Fedora 27 Virtual Machine
2) Installed Spotify flatpak and it's required runtime
3) Spotify flatpak changed it's runtime [0]
4) An update appeared in gnome-software
5) When trying to perform the update, it failed due to the new runtime not being installed. (see attached screenshot [Error updating spotify flatpak])

What I expected to happen:
At step 5 for the update to install the runtime (or prompt to install), so that the app can be updated. (as you can see in the screenshot that the flatpak CLI is trying to do when running $ flatpak update).

Workaround (via GUI-only):
1) Remove the spotify flatpak
2) Restart your machine (I tried refreshing and restarting gnome-software, but it seemed to have cached things)
3) Install spotify flatpak from gnome-software (it works and installs the new runtime)

0 - https://github.com/flathub/com.spotify.Client/commit/52720fc73620c8b904663383e155d3be73fd1776


$ lsb_release -rd
Description:	Fedora release 27 (Twenty Seven)
Release:	27

Installed Packages
Name         : gnome-software
Version      : 3.26.3
Release      : 1.fc27
Arch         : x86_64
Size         : 8.1 M
Source       : gnome-software-3.26.3-1.fc27.src.rpm
Repo         : @System
From repo    : updates

Installed Packages
Name         : flatpak
Version      : 0.10.1
Release      : 1.fc27
Arch         : x86_64
Size         : 4.3 M
Source       : flatpak-0.10.1-1.fc27.src.rpm
Repo         : @System
From repo    : updates
Comment 1 GNOME Infrastructure Team 2018-01-24 17:55:27 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-software/issues/270.