Bug 455833

Summary: Discover constantly indicates updates available.
Product: [Applications] Discover Reporter: lnxusr
Component: NotifierAssignee: Aleix Pol <aleixpol>
Status: RESOLVED UPSTREAM    
Severity: normal CC: aleixpol, nate, zilla
Priority: NOR    
Version First Reported In: 5.25.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description lnxusr 2022-06-23 10:27:39 UTC
SUMMARY
Discover icon is constantly on panel and says updates are available.  When I open Discover, it says "Up to date".


STEPS TO REPRODUCE
1. Notice icon on panel, indicating updates are available.
2. Click icon to open Discover to install updates.
3. Notice Discover says "Up to date".

OBSERVED RESULT
Discover icon in panel, and hovering over it says updates are available.

EXPECTED RESULT
Discover icon should only be visible when updates are available.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
Operating System: KDE neon 5.25
KDE Plasma Version: 5.25.0
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.4
Kernel Version: 5.18.6-051806-generic (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION
This is new.  I just installed kernel 5.18.6 to test out, and the icon was in the panel when  I rebooted.
Comment 1 Nate Graham 2022-06-23 13:11:45 UTC
What does `pkcon get-updates` when run in a terminal window say?
Comment 2 lnxusr 2022-06-23 14:55:59 UTC
(In reply to Nate Graham from comment #1)
> What does `pkcon get-updates` when run in a terminal window say?

I installed kernel 5.14.1 now, and after booting into it, this is what I get:

Getting updates               [=========================]         
Loading cache                 [=========================]         
Finished                      [=========================]         
Removed         linux-headers-5.18.6-051806-generic-5.18.6-051806.202206221336.amd64 (local)    Linux kernel headers for version 5.18.6 on 64 bit x86 SMP
Comment 3 Nate Graham 2022-06-24 14:03:47 UTC
Thanks.
Comment 4 lnxusr 2022-06-24 17:12:57 UTC
(In reply to Nate Graham from comment #3)
> Thanks.

It seems to be fixed now.  I had a legitimate update to opera-stable that also wanted to remove linux-headers-5.18.6-051806-generic:amd64 (5.18.6-051806.202206221336).  After allowing both and rebooting from  that, the icon is no longer in the panel.  The linux-header may have been gumming up the works if it needed to be uninstalled but, for some reason, wasn't showing up in Discover Update.
Comment 5 Nate Graham 2022-08-02 13:41:16 UTC
Seems like it. It would appear this was an issue in PackageKit itself, for handing this odd situation oddly. If you'd like to follow up, or if it happens again I'd encourage you to file a bug report at https://github.com/PackageKit/PackageKit/issues. Thanks!