[Bug 2066183] Re: AppStream metadata allow user uninstallation of PackageKit
Alessandro Astone
2066183 at bugs.launchpad.net
Wed Jan 8 17:00:09 UTC 2025
Attaching debdiff for noble
** Patch added: "packagekit_1.2.8-2ubuntu2.debdiff"
https://bugs.launchpad.net/ubuntu/+source/packagekit/+bug/2066183/+attachment/5850466/+files/packagekit_1.2.8-2ubuntu2.debdiff
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to packagekit in Ubuntu.
https://bugs.launchpad.net/bugs/2066183
Title:
AppStream metadata allow user uninstallation of PackageKit
Status in PackageKit:
Fix Released
Status in packagekit package in Ubuntu:
Fix Released
Status in packagekit source package in Noble:
In Progress
Bug description:
[ 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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/packagekit/+bug/2066183/+subscriptions
More information about the foundations-bugs
mailing list