← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2129493] [NEW] PackageKit assertion failure with Phased-Update-Percentage field

 

Public bug reported:

PackageKit 1.2.8 fails with assertion error when processing packages 
with Phased-Update-Percentage metadata field from Ubuntu Pro ESM repositories.

Error: pk_package_set_update_severity: assertion failed - expects one of:
PK_INFO_ENUM_UNKNOWN, PK_INFO_ENUM_LOW, PK_INFO_ENUM_NORMAL, 
PK_INFO_ENUM_IMPORTANT, PK_INFO_ENUM_CRITICAL

Steps to reproduce:
1. Enable Ubuntu Pro ESM Apps and ESM Infra
2. Run: pkcon get-updates
3. Assertion error occurs when parsing Phased-Update-Percentage field

The issue occurs because PackageKit treats Phased-Update-Percentage 
as a severity enum value, but it's a numeric percentage field.

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: packagekit 1.2.8-2ubuntu1.2
ProcVersionSignature: Ubuntu 6.14.0-33.33~24.04.1-generic 6.14.11
Uname: Linux 6.14.0-33-generic x86_64
ApportVersion: 2.28.1-0ubuntu3.8
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Wed Oct 22 11:24:02 2025
InstallationDate: Installed on 2025-06-18 (126 days ago)
InstallationMedia: Ubuntu 24.04.2 LTS "Noble Numbat" - Release amd64 (20250215)
ProcEnviron:
 LANG=nl_NL.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
SourcePackage: packagekit
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.dbus-1.system.d.org.freedesktop.PackageKit.conf: [deleted]

** Affects: packagekit (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug noble wayland-session

-- 
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to packagekit in Ubuntu.
https://bugs.launchpad.net/bugs/2129493

Title:
  PackageKit assertion failure with Phased-Update-Percentage field

Status in packagekit package in Ubuntu:
  New

Bug description:
  PackageKit 1.2.8 fails with assertion error when processing packages 
  with Phased-Update-Percentage metadata field from Ubuntu Pro ESM repositories.

  Error: pk_package_set_update_severity: assertion failed - expects one of:
  PK_INFO_ENUM_UNKNOWN, PK_INFO_ENUM_LOW, PK_INFO_ENUM_NORMAL, 
  PK_INFO_ENUM_IMPORTANT, PK_INFO_ENUM_CRITICAL

  Steps to reproduce:
  1. Enable Ubuntu Pro ESM Apps and ESM Infra
  2. Run: pkcon get-updates
  3. Assertion error occurs when parsing Phased-Update-Percentage field

  The issue occurs because PackageKit treats Phased-Update-Percentage 
  as a severity enum value, but it's a numeric percentage field.

  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: packagekit 1.2.8-2ubuntu1.2
  ProcVersionSignature: Ubuntu 6.14.0-33.33~24.04.1-generic 6.14.11
  Uname: Linux 6.14.0-33-generic x86_64
  ApportVersion: 2.28.1-0ubuntu3.8
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Wed Oct 22 11:24:02 2025
  InstallationDate: Installed on 2025-06-18 (126 days ago)
  InstallationMedia: Ubuntu 24.04.2 LTS "Noble Numbat" - Release amd64 (20250215)
  ProcEnviron:
   LANG=nl_NL.UTF-8
   PATH=(custom, no user)
   SHELL=/bin/bash
   TERM=xterm-256color
   XDG_RUNTIME_DIR=<set>
  SourcePackage: packagekit
  UpgradeStatus: No upgrade log present (probably fresh install)
  modified.conffile..etc.dbus-1.system.d.org.freedesktop.PackageKit.conf: [deleted]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/packagekit/+bug/2129493/+subscriptions