This bug was fixed in the package packagekit - 1.2.8-2ubuntu1.2
---------------
packagekit (1.2.8-2ubuntu1.2) noble; urgency=medium
* Backport patch to make PackageKit uninstallable from graphical software
centers
(LP: #2066183)
-- Alessandro Astone <[email protected]> Wed, 08 Jan
2025 17:35:09 +0100
** Changed in: packagekit (Ubuntu Noble)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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:
Fix Released
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
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp