Bug 404434 - Update shows 3 packages to update even though they have been installed
Summary: Update shows 3 packages to update even though they have been installed
Status: RESOLVED FIXED
Alias: None
Product: Discover
Classification: Applications
Component: Updates (other bugs)
Version First Reported In: 5.15.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-16 11:13 UTC by Tim Goodwin
Modified: 2019-03-07 02:31 UTC (History)
1 user (show)

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


Attachments
Discover showing updates (67.65 KB, image/png)
2019-02-16 11:13 UTC, Tim Goodwin
Details
Terminal showing no updates available (74.96 KB, image/png)
2019-02-16 11:14 UTC, Tim Goodwin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Goodwin 2019-02-16 11:13:13 UTC
Created attachment 118133 [details]
Discover showing updates

SUMMARY
Discover shows 3 updates available even though they are installed. Icon in system tray does not disappear when updates installed.


STEPS TO REPRODUCE
1. Click on icon in system tray - 3 updates showing.
2. Discover launches and shows 3 updates. Click on install updates. Discover show no updates available.
3. System tray icon shows 3 updates available. When clicked Discover will again show the 3 updates previously installed.

OBSERVED RESULT
Installed updates re-appear and icon shows in system tray.

EXPECTED RESULT
Updates that have been installed should not re-appear and icon should not show.


Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.15.0
KDE Frameworks Version: 5.55.0
Qt Version: 5.12.0

ADDITIONAL INFORMATION
Comment 1 Tim Goodwin 2019-02-16 11:14:09 UTC
Created attachment 118134 [details]
Terminal showing no updates available
Comment 2 Aleix Pol 2019-02-18 15:45:56 UTC
This is intentional, you are showing that there are no updates on apt but you have Elisa installed using flatpak.
If you run flatpak update you'll see how you get some.
Comment 3 Tim Goodwin 2019-02-18 16:15:03 UTC
On 2019-02-18 15:45, Aleix Pol wrote:
> https://bugs.kde.org/show_bug.cgi?id=404434
> 
> Aleix Pol <aleixpol@kde.org> changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>          Resolution|---                         |NOT A BUG
>              Status|REPORTED                    |RESOLVED
> 
> --- Comment #2 from Aleix Pol <aleixpol@kde.org> ---
> This is intentional, you are showing that there are no updates on apt 
> but you
> have Elisa installed using flatpak.
> If you run flatpak update you'll see how you get some.

Thans Aleix, but even when all flatpak packages are updated Discover 
still shows these 3 updates outstanding. I thought that the flatpak 
backend in Discover allowed one to both install and update flatpak 
packages, however it appears this is not the case. I have temporarily 
fixed the problem by uninstalling all flatpak packages and also 
uninstalling flatpak itself. I'm pretty sure this is not the way it is 
supposed to work, but I could be wrong.

Appreciate your help.

Kind regards,

Tim Goodwin
Comment 4 Aleix Pol 2019-03-07 02:31:03 UTC
Git commit 2b7e28d372c20d51913b4e82a1493caee3e5d998 by Aleix Pol.
Committed on 07/03/2019 at 02:28.
Pushed by apol into branch 'Plasma/5.15'.

flatpak: Fix look-up of updates on flatpak

M  +3    -2    libdiscover/backends/FlatpakBackend/FlatpakBackend.cpp

https://commits.kde.org/discover/2b7e28d372c20d51913b4e82a1493caee3e5d998