[Bug 2066183] Re: AppStream metadata allow user uninstallation of PackageKit

AsciiWolf 2066183 at bugs.launchpad.net
Thu Feb 27 21:24:18 UTC 2025


The update description seems to be incorrect:

"Backport patch to make PackageKit uninstallable from graphical software
centers"

It should be:

"Backport patch to make PackageKit not uninstallable from graphical
software centers"

-- 
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:
  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




More information about the foundations-bugs mailing list