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
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/
Setting up code (1.105.
debconf: DbDriver "config": /var/cache/
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-
debconf: DbDriver "config": /var/cache/
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-
debconf: DbDriver "config": /var/cache/
dpkg: error processing package libpam-
installed libpam-
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-
Package logind is not installed.
Package libpam-
dpkg: error processing package gdm3 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
code
mysql-server-8.0
libpam-
mysql-server
gdm3
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-
ProcVersionSign
Uname: Linux 6.14.0-33-generic x86_64
ApportVersion: 2.28.1-0ubuntu3.8
AptOrdering: NULL: ConfigurePending
Architecture: amd64
CasperMD5CheckR
Date: Mon Oct 13 14:53:20 2025
ErrorMessage: installed libpam-
InstallationDate: Installed on 2025-06-07 (128 days ago)
InstallationMedia: Ubuntu 24.04.2 LTS "Noble Numbat" - Release amd64 (20250215)
Python3Details: /usr/bin/
PythonDetails: N/A
RelatedPackageV
dpkg 1.22.6ubuntu6.5
apt 2.8.3
SourcePackage: systemd
Title: package libpam-
UpgradeStatus: No upgrade log present (probably fresh install)
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) ... 1.1ubuntu6. 3) ... amber-dri: amd64 (21.3.9- 0ubuntu3~ 24.04.1) ... 0ubuntu0. 24.04.2) ... d/mysql- server ... mysql/error. log dpkg/info/ mysql-server- 8.0.postinst: line 56: kill: (19153) - Permission denied
Setting up libnss-sss:amd64 (2.9.4-
Setting up libgl1-
Setting up mysql-server-8.0 (8.0.43-
Installing new version of config file /etc/logrotate.
mysqld will log errors to /var/log/
mysqld is running as pid 19153
/var/lib/
^[[B^[[A
qq
Log started: 2025-10-13 14:53:17 0-1759933565) ... debconf/ config. dat is locked by another process: Resource temporarily unavailable 0ubuntu0. 24.04.2) ... debconf/ config. dat is locked by another process: Resource temporarily unavailable systemd: amd64 (255.4-1ubuntu8.11) ... debconf/ config. dat is locked by another process: Resource temporarily unavailable systemd: amd64 (--configure): systemd: amd64 package post-installation script subprocess returned error exit status 1
Setting up code (1.105.
debconf: DbDriver "config": /var/cache/
[1mdpkg:[0m 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-
debconf: DbDriver "config": /var/cache/
[1mdpkg:[0m 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-
debconf: DbDriver "config": /var/cache/
[1mdpkg:[0m error processing package libpam-
installed libpam-
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