Bug 485270

Summary: Discover shows available updates that don't actually exist
Product: [Applications] Discover Reporter: Rune <rune.fritzsche>
Component: PackageKitAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: aleixpol, sitter
Priority: NOR    
Version First Reported In: 6.0.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot of the "fake" updates

Description Rune 2024-04-09 11:50:36 UTC
Created attachment 168305 [details]
Screenshot of the "fake" updates

SUMMARY
Discover notifies that there are updates available. Checking manually (pacman), there are no updates. The list of available updates is always the same (see the attached screenshot). Trying to apply these updates results in an error message: "Unknown error ErrorUnknown.:cachyos-v3/graphene: unexpected error"

STEPS TO REPRODUCE
1. Install discover and packagekit-qt6
2. Wait for the update notifier to show up

OBSERVED RESULT
Updates are shown that do not exist

EXPECTED RESULT
Updates shown in discover should reflect the actual available updates

SOFTWARE/OS VERSIONS
Linux: 6.8.4-arch1-1 (64-bit)
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.3

ADDITIONAL INFORMATION
I will also file a bug report at archlinux since I am not sure this is the right place.
Comment 1 Harald Sitter 2024-04-09 12:28:35 UTC
What does `pkcon get-updates` say?
Comment 2 Rune 2024-04-09 12:47:12 UTC
(In reply to Harald Sitter from comment #1)
> What does `pkcon get-updates` say?

It shows the same updates as discover. They can't be applied though (same error as in discover).
Comment 3 Harald Sitter 2024-04-09 12:48:54 UTC
Bug in the packagekit backend then -> https://github.com/PackageKit/PackageKit/issues