Bug 1226269 - AppStream metadata allow user uninstallation of PackageKit
Summary: AppStream metadata allow user uninstallation of PackageKit
Status: NEW
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: GNOME (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-12 22:28 UTC by Daniel Rusek
Modified: 2024-06-16 20:16 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.