[Bug 2066183] [NEW] AppStream metadata allow user uninstallation of PackageKit
Launchpad Bug Tracker
2066183 at bugs.launchpad.net
Wed Jan 8 17:00:31 UTC 2025
You have been subscribed to a public bug by Alessandro Astone (aleasto):
[ Impact ]
An AppStream metainfo file was added in PackageKit since v1.2.8.
Unfortunately, this file causes PackageKit to show in App Center, GNOME
Software, KDE Discover and other package management GUIs and allow users
to click an "Uninstall" button.
The appstream metadata should be updated to specify that it cannot be
uninstalled. This was implemented upstream in version 1.3.0:
https://github.com/PackageKit/PackageKit/commit/d8f84f7e0a017e0b4df1e08a2a6be832c9fb3611
[ Test plan ]
1. Install gnome-software
2. Run `gnome-software --details org.freedesktop.PackageKit`
3. Verify that "Software" opens a page about PackageKit
4. Verify that there is no button to uninstall it
[ Where problems could occur ]
The patch only changes the metainfo.xml file adding
<compulsory_for_desktop> tags. The tag is supported starting from
appstream version 0.6 (dating 2014), so the file will be parsed without
problems.
** Affects: packagekit
Importance: Unknown
Status: Fix Released
** Affects: packagekit (Ubuntu)
Importance: Undecided
Status: Fix Released
** Affects: packagekit (Ubuntu Noble)
Importance: Undecided
Assignee: Alessandro Astone (aleasto)
Status: In Progress
** Tags: noble udeng-5158
--
AppStream metadata allow user uninstallation of PackageKit
https://bugs.launchpad.net/bugs/2066183
You received this bug notification because you are a member of Ubuntu Sponsors, which is subscribed to the bug report.
More information about the Ubuntu-sponsors
mailing list