← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2127771] Re: 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

 

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


** Package changed: systemd (Ubuntu) => debconf (Ubuntu)

** Also affects: mysql-8.0 (Ubuntu)
   Importance: Undecided
       Status: New

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

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

Status in debconf package in Ubuntu:
  New
Status in mysql-8.0 package in Ubuntu:
  New

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)

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



References