← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2129565] [NEW] package polkitd 124-2ubuntu1.24.04.2 failed to install/upgrade: installed polkitd package post-installation script subprocess returned error exit status 1

 

Public bug reported:

do-release-upgrade from 22.04 to 24.04 (right after doing a 20.04 to
22.04 upgrade) resulted in this error

dpkg: error processing package policykit-1 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of packagekit-tools:
 packagekit-tools depends on packagekit (= 1.2.8-2ubuntu1.2); however:
  Package packagekit is not configured yet.

dpkg: error processing package packagekit-tools (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of software-properties-common:
 software-properties-common depends on packagekit; however:
  Package packagekit is not configured yet.

dpkg: error processing package software-properties-common (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ubuntu-server:
 ubuntu-server depends on software-properties-common; however:
  Package software-properties-common is not configured yet.

dpkg: error processing package ubuntu-server (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 polkitd
 pkexec
 packagekit
 modemmanager
 policykit-1
 packagekit-tools
 software-properties-common
 ubuntu-server


There are errors before that but I can page backup to see them (or at least, I don't know how to). Previous server I did this on had no issues at all.

What I expected to happen: 22.04 to 24.04 do-release-upgrade to finish without errors.
What happened instead: dpkg threw errors that a the packagekit-tools package was a dependency for the listed packages, but hadn't been configured yet.

ProblemType: Package
DistroRelease: Ubuntu 24.04
Package: polkitd 124-2ubuntu1.24.04.2
ProcVersionSignature: Ubuntu 5.15.0-160.170-generic 5.15.189
Uname: Linux 5.15.0-160-generic x86_64
ApportVersion: 2.28.1-0ubuntu3.8
Architecture: amd64
CasperMD5CheckResult: pass
CloudArchitecture: x86_64
CloudID: none
CloudName: none
CloudPlatform: none
CloudSubPlatform: config
Date: Wed Oct 22 14:52:44 2025
ErrorMessage: installed polkitd package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2022-11-14 (1073 days ago)
InstallationMedia: Ubuntu-Server 20.04.5 LTS "Focal Fossa" - Release amd64 (20220831)
Python3Details: /usr/bin/python3.12, Python 3.12.3, python3-minimal, 3.12.3-0ubuntu2
PythonDetails: N/A
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageVersions:
 dpkg 1.22.6ubuntu6.5
 apt  2.8.3
SourcePackage: policykit-1
Title: package polkitd 124-2ubuntu1.24.04.2 failed to install/upgrade: installed polkitd package post-installation script subprocess returned error exit status 1
UpgradeStatus: Upgraded to noble on 2025-10-22 (0 days ago)

** Affects: policykit-1 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-package noble

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

Title:
  package polkitd 124-2ubuntu1.24.04.2 failed to install/upgrade:
  installed polkitd package post-installation script subprocess returned
  error exit status 1

Status in policykit-1 package in Ubuntu:
  New

Bug description:
  do-release-upgrade from 22.04 to 24.04 (right after doing a 20.04 to
  22.04 upgrade) resulted in this error

  dpkg: error processing package policykit-1 (--configure):
   dependency problems - leaving unconfigured
  dpkg: dependency problems prevent configuration of packagekit-tools:
   packagekit-tools depends on packagekit (= 1.2.8-2ubuntu1.2); however:
    Package packagekit is not configured yet.

  dpkg: error processing package packagekit-tools (--configure):
   dependency problems - leaving unconfigured
  dpkg: dependency problems prevent configuration of software-properties-common:
   software-properties-common depends on packagekit; however:
    Package packagekit is not configured yet.

  dpkg: error processing package software-properties-common (--configure):
   dependency problems - leaving unconfigured
  dpkg: dependency problems prevent configuration of ubuntu-server:
   ubuntu-server depends on software-properties-common; however:
    Package software-properties-common is not configured yet.

  dpkg: error processing package ubuntu-server (--configure):
   dependency problems - leaving unconfigured
  Errors were encountered while processing:
   polkitd
   pkexec
   packagekit
   modemmanager
   policykit-1
   packagekit-tools
   software-properties-common
   ubuntu-server

  
  There are errors before that but I can page backup to see them (or at least, I don't know how to). Previous server I did this on had no issues at all.

  What I expected to happen: 22.04 to 24.04 do-release-upgrade to finish without errors.
  What happened instead: dpkg threw errors that a the packagekit-tools package was a dependency for the listed packages, but hadn't been configured yet.

  ProblemType: Package
  DistroRelease: Ubuntu 24.04
  Package: polkitd 124-2ubuntu1.24.04.2
  ProcVersionSignature: Ubuntu 5.15.0-160.170-generic 5.15.189
  Uname: Linux 5.15.0-160-generic x86_64
  ApportVersion: 2.28.1-0ubuntu3.8
  Architecture: amd64
  CasperMD5CheckResult: pass
  CloudArchitecture: x86_64
  CloudID: none
  CloudName: none
  CloudPlatform: none
  CloudSubPlatform: config
  Date: Wed Oct 22 14:52:44 2025
  ErrorMessage: installed polkitd package post-installation script subprocess returned error exit status 1
  InstallationDate: Installed on 2022-11-14 (1073 days ago)
  InstallationMedia: Ubuntu-Server 20.04.5 LTS "Focal Fossa" - Release amd64 (20220831)
  Python3Details: /usr/bin/python3.12, Python 3.12.3, python3-minimal, 3.12.3-0ubuntu2
  PythonDetails: N/A
  RebootRequiredPkgs: Error: path contained symlinks.
  RelatedPackageVersions:
   dpkg 1.22.6ubuntu6.5
   apt  2.8.3
  SourcePackage: policykit-1
  Title: package polkitd 124-2ubuntu1.24.04.2 failed to install/upgrade: installed polkitd package post-installation script subprocess returned error exit status 1
  UpgradeStatus: Upgraded to noble on 2025-10-22 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/policykit-1/+bug/2129565/+subscriptions



Follow ups