package libpam-systemd:amd64 255.4-1ubuntu8.11 failed to install/upgrade: installed libpam-systemd:amd64 package post-installation script subprocess returned error exit status 1

Bug #2127771 reported by Praveen Dhashinamoorthy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
debconf (Ubuntu)
New
Undecided
Unassigned
mysql-8.0 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  libgl1-amber-dri libglapi-amber libllvm19
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
5 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
Setting up code (1.105.0-1759933565) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing package code (--configure):
 installed code package post-installation script subprocess returned error exit status 1
Setting up mysql-server-8.0 (8.0.43-0ubuntu0.24.04.2) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing package mysql-server-8.0 (--configure):
 installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1
Setting up libpam-systemd:amd64 (255.4-1ubuntu8.11) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing package libpam-systemd:amd64 (--configure):
 installed libpam-systemd:amd64 package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of mysql-server:
 mysql-server depends on mysql-server-8.0; however:
  Package mysql-server-8.0 is not configured yet.

dpkg: error processing package mysql-server (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gdm3:
 gdm3 depends on default-logind | logind; however:
  Package default-logind is not installed.
  Package libpam-systemd:amd64 which provides default-logind is not configured yet.
  Package logind is not installed.
  Package libpam-systemd:amd64 which provides logind is not configured yet.

dpkg: error processing package gdm3 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 code
 mysql-server-8.0
 libpam-systemd:amd64
 mysql-server
 gdm3
No apport report written because MaxReports is reached already
                                                              No apport report written because MaxReports is reached already
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 24.04
Package: libpam-systemd:amd64 255.4-1ubuntu8.11
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
AptOrdering: NULL: ConfigurePending
Architecture: amd64
CasperMD5CheckResult: pass
Date: Mon Oct 13 14:53:20 2025
ErrorMessage: installed libpam-systemd:amd64 package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2025-06-07 (128 days ago)
InstallationMedia: Ubuntu 24.04.2 LTS "Noble Numbat" - Release amd64 (20250215)
Python3Details: /usr/bin/python3.12, Python 3.12.3, python3-minimal, 3.12.3-0ubuntu2
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.22.6ubuntu6.5
 apt 2.8.3
SourcePackage: systemd
Title: package libpam-systemd:amd64 255.4-1ubuntu8.11 failed to install/upgrade: installed libpam-systemd:amd64 package post-installation script subprocess returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Praveen Dhashinamoorthy (praveendhashinamoorthy) wrote :
Revision history for this message
Nick Rosbrook (enr0n) wrote :

There is a lot going wrong in the dpkg output, and it does not appear to be specific to libpam-systemd:

Setting up libmalcontent-0-0:amd64 (0.11.1-1ubuntu1.2) ...
Setting up libnss-sss:amd64 (2.9.4-1.1ubuntu6.3) ...
Setting up libgl1-amber-dri:amd64 (21.3.9-0ubuntu3~24.04.1) ...
Setting up mysql-server-8.0 (8.0.43-0ubuntu0.24.04.2) ...
Installing new version of config file /etc/logrotate.d/mysql-server ...
mysqld will log errors to /var/log/mysql/error.log
mysqld is running as pid 19153
/var/lib/dpkg/info/mysql-server-8.0.postinst: line 56: kill: (19153) - Permission denied

^[[B^[[A
qq

Log started: 2025-10-13 14:53:17
Setting up code (1.105.0-1759933565) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing package code (--configure):
 installed code package post-installation script subprocess returned error exit status 1
Setting up mysql-server-8.0 (8.0.43-0ubuntu0.24.04.2) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing package mysql-server-8.0 (--configure):
 installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1
Setting up libpam-systemd:amd64 (255.4-1ubuntu8.11) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing package libpam-systemd:amd64 (--configure):
 installed libpam-systemd:amd64 package post-installation script subprocess returned error exit status 1

I guess debconf would be next place to look? However, this also looks odd:

/var/lib/dpkg/info/mysql-server-8.0.postinst: line 56: kill: (19153) - Permission denied

affects: systemd (Ubuntu) → debconf (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.