Bug 390193 - Discover repeatedly fails to update GNOME runtimes
Summary: Discover repeatedly fails to update GNOME runtimes
Status: RESOLVED UPSTREAM
Alias: None
Product: Discover
Classification: Applications
Component: Flatpak Backend (show other bugs)
Version: 5.11.5
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Aleix Pol
URL: https://github.com/flatpak/flatpak/is...
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-10 03:10 UTC by Nate Graham
Modified: 2018-02-12 00:43 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Failed to update GNOME runtimes (1.12 MB, video/webm)
2018-02-10 03:10 UTC, Nate Graham
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nate Graham 2018-02-10 03:10:32 UTC
Created attachment 110499 [details]
Failed to update GNOME runtimes

This is happening on my personal machine running Plasma 5.12, but it started happening in 5.11.x and was not fixed by Discover 5.12

I have the Flatpak backend and Flathub. At some point, I got an update to the GNOME runtime (version 3.24) that failed, displaying the following message in the UI and on the console:

Failed to install "org.gnome.Platform" : "While pulling runtime/org.gnome.Platform/x86_64/3.24 from remote flathub: No such metadata object 4336f092c117d3eacfdbaacc8996e94786e55b8d6a93cece00fef39648b298d0.commit"

Later I got another update to the GNOME runtime, this time for 3.26. That too failed with this message:

Failed to install "org.gnome.Platform" : "While pulling runtime/org.gnome.Platform/x86_64/3.26 from remote flathub: No such metadata object c4d67937b0417cb0a83b7a836b0c2052b9e94bcc3978847f2a262fa8c1343c50.commit"

I'm not sure what I should do to resolve this issue, and the error message doesn't exactly provide a lot of clues regarding what a user should do next.

Screen recording attached.
Comment 1 Aleix Pol 2018-02-12 00:21:22 UTC
I've seen this issue in the past. One thing you can do is test whether you have the problem with "flatpak update" on the CLI.

I reported this a while ago, I'm still not sure why it happens.
https://github.com/flatpak/flatpak/issues/725
Comment 2 Aleix Pol 2018-02-12 00:22:11 UTC
Please do some research if you can but my impression is that it should be closed as an upstream issue.
Comment 3 Nate Graham 2018-02-12 00:23:40 UTC
Yep, `flatpak update` also fails:

$  sudo flatpak update
[sudo] password for nate: 
Looking for updates...
Updating: org.freedesktop.Platform.Locale/x86_64/1.6 from flathub
No updates.
Updating: org.freedesktop.Platform/x86_64/1.6 from flathub
No updates.
Installing: org.freedesktop.Platform.ffmpeg/x86_64/1.6 from flathub

1 delta parts, 3 loose fetched; 2186 KiB transferred in 3 seconds                         
Updating: org.gnome.Platform.Locale/x86_64/3.24 from flathub


Warning: Failed to update org.gnome.Platform.Locale/x86_64/3.24: While pulling runtime/org.gnome.Platform.Locale/x86_64/3.24 from remote flathub: No such metadata object 4f9099920477c6784621cc87af5a90648fd5a01b00b3e9270e2ebbffee85b2f6.commit
Updating: org.gnome.Platform.Locale/x86_64/3.26 from flathub


Warning: Failed to update org.gnome.Platform.Locale/x86_64/3.26: While pulling runtime/org.gnome.Platform.Locale/x86_64/3.26 from remote flathub: No such metadata object 5b27b4a6d6e2247a6b27e5b7d95133f5cc52159136e418fe42485a0635d38c69.commit
Updating: org.gnome.Platform/x86_64/3.24 from flathub


Error: Failed to update org.gnome.Platform/x86_64/3.24: While pulling runtime/org.gnome.Platform/x86_64/3.24 from remote flathub: No such metadata object 4336f092c117d3eacfdbaacc8996e94786e55b8d6a93cece00fef39648b298d0.commit
Updating: org.gnome.Platform/x86_64/3.26 from flathub


Error: Failed to update org.gnome.Platform/x86_64/3.26: While pulling runtime/org.gnome.Platform/x86_64/3.26 from remote flathub: No such metadata object c4d67937b0417cb0a83b7a836b0c2052b9e94bcc3978847f2a262fa8c1343c50.commit
error: One or more operations failed


Let's track this in https://github.com/flatpak/flatpak/issues/725