[Bug 2012174] Re: package libpam-modules 1.3.1-5ubuntu4.6 failed to install/upgrade: new libpam-modules:amd64 package pre-installation script subprocess returned error exit status 2
Steve Langasek
2012174 at bugs.launchpad.net
Sun Mar 19 18:06:37 UTC 2023
ubuntu-release-upgrader 1:22.04.13 and later in Ubuntu 22.04 includes a
check to detect pam_tally's presence in /etc/pam.d and abort the upgrade
to let the user fix up their config beforehand.
If you are getting failures from libpam-modules during do-release-
upgrade, then this check is not correctly working for you.
Please attach the config files that reference pam_tally on the affected
system, so that we can debug.
** Package changed: pam (Ubuntu) => ubuntu-release-upgrader (Ubuntu)
** Changed in: ubuntu-release-upgrader (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/2012174
Title:
package libpam-modules 1.3.1-5ubuntu4.6 failed to install/upgrade: new
libpam-modules:amd64 package pre-installation script subprocess
returned error exit status 2
Status in ubuntu-release-upgrader package in Ubuntu:
Incomplete
Bug description:
Upgrade from Ubuntu 20.04 to 22.4 fails if pam_tally is present in the
system's PAM config
I run do-release-upgrade and I got a message upgrade completed with
errors. I rebooted the server and it is now in an undefined state
between 20.04 and 22.04. Not all packages have been installed.
ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: libpam-modules 1.3.1-5ubuntu4.6
ProcVersionSignature: Ubuntu 5.4.0-144.161-generic 5.4.229
Uname: Linux 5.4.0-144-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.25
Architecture: amd64
CasperMD5CheckResult: pass
Date: Sun Mar 19 07:20:35 2023
ErrorMessage: new libpam-modules:amd64 package pre-installation script subprocess returned error exit status 2
InstallationDate: Installed on 2023-03-19 (0 days ago)
InstallationMedia: RNP Ubuntu-Server 20.04.1 21.07 "Custom OIEC Secure OS" (20210111)
Python3Details: /usr/bin/python3.8, Python 3.8.10, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: N/A
RelatedPackageVersions:
dpkg 1.21.1ubuntu2.1
apt 2.0.9
SourcePackage: pam
Title: package libpam-modules 1.3.1-5ubuntu4.6 failed to install/upgrade: new libpam-modules:amd64 package pre-installation script subprocess returned error exit status 2
UpgradeStatus: Upgraded to focal on 2023-03-19 (0 days ago)
mtime.conffile..etc.security.limits.conf: 2021-01-09T12:35:56
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2012174/+subscriptions
More information about the foundations-bugs
mailing list