package libpam-runtime 1.3.1-5ubuntu4.3 failed to install/upgrade: installed libpam-runtime package post-installation script subprocess returned error exit status 255
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
debconf (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
pam (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I found this bug when I upgrade my ubuntu 20.04 LTS using command "apt-get upgrade"
ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: libpam-runtime 1.3.1-5ubuntu4.3
ProcVersionSign
Uname: Linux 5.13.0-35-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
Date: Fri Mar 11 10:43:38 2022
ErrorMessage: installed libpam-runtime package post-installation script subprocess returned error exit status 255
InstallationDate: Installed on 2022-03-10 (0 days ago)
InstallationMedia: Ubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)
PackageArchitec
Python3Details: /usr/bin/python3.8, Python 3.8.5, unpackaged
PythonDetails: N/A
RelatedPackageV
dpkg 1.19.7ubuntu3
apt 2.0.4
SourcePackage: pam
Title: package libpam-runtime 1.3.1-5ubuntu4.3 failed to install/upgrade: installed libpam-runtime package post-installation script subprocess returned error exit status 255
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |
These lines from the logs look most relevant:
Unpacking libpam-runtime (1.3.1-5ubuntu4.3) over (1.3.1-5ubuntu4.1) ... :Element: :Noninteractive ::Multiselect" (perhaps you forgot to load "Debconf: :Element: :Noninteractive ::Multiselect" ?) at /usr/share/ perl5/Debconf/ FrontEnd. pm line 68, <GEN1> line 8. perl5/Debconf/ Client/ ConfModule. pm line 132, <STDIN> line 7. perl5/Debconf/ Client/ ConfModule. pm line 133, <STDIN> line 7. perl5/Debconf/ Client/ ConfModule. pm line 134, <STDIN> line 7.
Setting up libpam-runtime (1.3.1-5ubuntu4.3) ...
Can't locate object method "new" via package "Debconf:
Use of uninitialized value $ret in scalar chomp at /usr/share/
Use of uninitialized value $ret in split at /usr/share/
Use of uninitialized value $ret[0] in string eq at /usr/share/
dpkg: error processing package libpam-runtime (--configure):
installed libpam-runtime package post-installation script subprocess returned error exit status 255
Is pam missing a versioned pre-depends? or is something not prepared to handle a non-interactive update?
Amit you can probably make progress by running this in a terminal: sudo apt install -f
Thanks