Bug 485343

Summary: Discover shows "Remove" instead of "Update" when updating a package via .deb (it still functions like an Update)
Product: [Applications] Discover Reporter: kritomas <kritomasx>
Component: UpdatesAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: aleixpol, nate
Priority: NOR    
Version First Reported In: 5.27.10   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: The bug in action. Notice, how the "Remove" button updates instead of removing.

Description kritomas 2024-04-10 20:24:12 UTC
Created attachment 168363 [details]
The bug in action. Notice, how the "Remove" button updates instead of removing.

SUMMARY
Discover shows "Remove" instead of "Update" when updating a package via .deb (it still functions like an Update).

STEPS TO REPRODUCE
1. Grab a .deb file, that contains an update (such as whenever Discord pushes an update)
2. Open it with Discover
3. Click "Remove"

OBSERVED RESULT
The "Update" button is replaced by a "Remove" button, which updates regardless.

EXPECTED RESULT
The "Remove" button should remove, whilst an "Update" button should show up, which updates.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Debian Trixie
(available in About System)
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.107.0
Qt Version: 5.15.10

ADDITIONAL INFORMATION
This happens to Pulsar too (which at the moment is also updated with .debs). My guess is, any update via .deb is affected.
Comment 1 Nate Graham 2024-04-11 19:27:31 UTC

*** This bug has been marked as a duplicate of bug 445761 ***