Bug 1226269

Summary: AppStream metadata allow user uninstallation of PackageKit
Product: [openSUSE] openSUSE Tumbleweed Reporter: Daniel Rusek <mail>
Component: GNOMEAssignee: E-mail List <gnome-bugs>
Status: NEW --- QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Daniel Rusek 2024-06-12 22:28:42 UTC
Because of a missing tags in the AppStream metainfo file (that was added in PK 1.2.8), PackageKit is shown as user uninstallable in GNOME Software and other GUI/TUI package managers based on AppStream metadata. This is incorrect and potentially dangerous.

The issue was already fixed in upstream. Please, consider backporting this fix into OpenSUSE as a downstream patch until a new PackageKit version gets released.

Upstream ticket: https://github.com/PackageKit/PackageKit/issues/759
Upstream fix: https://github.com/PackageKit/PackageKit/commit/d8f84f7e0a017e0b4df1e08a2a6be832c9fb3611
Comment 1 Daniel Rusek 2024-06-16 20:16:18 UTC
FYI it is not GNOME (GNOME Software) related bug and the same behavior will (most likely) happen in KDE Discover and other AppStream-based package management interfaces. It needs to be fixed in the AppStream metadata file of PackageKit.