Bug 404872 - flatpak updates repeating/stuck
Summary: flatpak updates repeating/stuck
Status: RESOLVED FIXED
Alias: None
Product: Discover
Classification: Applications
Component: Flatpak Backend (show other bugs)
Version: 5.15.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-27 13:31 UTC by Harald Sitter
Modified: 2019-05-14 15:13 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Harald Sitter 2019-02-27 13:31:14 UTC
A bunch of my flatpaks are always in the list for updates, they then try to install updates but fail. Interestingly their latest commit in flatpak CLI is '?'

STEPS TO REPRODUCE
1. have my system

OBSERVED RESULT

updates stuck

EXPECTED RESULT

either shouldn't be listed for update, or should successfully update

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.15
KDE Plasma Version: 5.15.2
KDE Frameworks Version: 5.55.0
Qt Version: 5.12.0
Kernel Version: 4.15.0-45-generic
OS Type: 64-bit
Processors: 4 × Intel® Core™ i5-7600K CPU @ 3.80GHz
Memory: 15,6 GiB of RAM

ADDITIONAL INFORMATION

no debug output from discover it seems :((

➜ flatpak list --columns=application,branch,active,latest,origin        
Application                                        Branch          Active commit         Latest commit         Origin
org.freedesktop.Platform.GL.nvidia-390-77          1.4             bcf9e351b422          -                     flathub
org.freedesktop.Platform.VAAPI.Intel               1.6             82006efc71d3          ?                     flathub
org.freedesktop.Platform.VAAPI.Intel               18.08           5b626f46f00b          -                     flathub
org.freedesktop.Platform.ffmpeg                    1.6             d757f762489e          ?                     flathub
org.freedesktop.Platform.html5-codecs              18.08           337041240b18          -                     flathub
org.gtk.Gtk3theme.Breeze                           3.22            9c4b68859732          ?                     flathub
org.kde.Platform                                   5.11            02ede84d3591          ?                     flathub
org.kde.Platform                                   5.12            d3e20330f263          -                     flathub
org.kde.kdiff3                                     master          97ae48d8459b          -                     kdeapps
Comment 1 Aleix Pol 2019-03-07 02:27:43 UTC
No idea hat that means. Do you also get it if you update from the terminal?
Comment 2 Harald Sitter 2019-03-07 10:19:50 UTC
Nope. That only wants to update kdiff3 just now, and that's a git build so that makes sense.

```
➜ flatpak update                                                        
Looking for updates…


        ID                      Arch           Branch         Remote          Download
 1.     org.kde.kdiff3          x86_64         master         kdeapps         < 1,0 MB

Proceed with these changes to the Default system installation? [Y/n]: 
```
Comment 3 Aleix Pol 2019-03-07 17:23:37 UTC
Can you see if 2b7e28d372c20d51913b4e82a1493caee3e5d998 fixed the issue for you? Then it would be a dupe of 404434
Comment 4 Harald Sitter 2019-03-08 11:50:53 UTC
Nope, still happens with newly built Plasma/5.15

The new build does print this though, maybe it helps:

discover(24258)/(default) FlatpakBackend::onFetchUpdatesFinished: could not find updated resource "org.kde.Platform.Locale" 783
discover(24258)/(default) FlatpakBackend::onFetchUpdatesFinished: could not find updated resource "org.kde.Platform.Locale" 783
discover(24258)/(default) FlatpakBackend::onFetchUpdatesFinished: could not find updated resource "org.kde.Platform.Locale" 783
Comment 5 Harald Sitter 2019-05-14 15:13:14 UTC
Seems fixed on my system.