Hi, I've found the problem. I had a env var PERL5LIB with modules installed with perl 5.30. Therefore the upgrade/install scripts where getting these libs and not the system wide ones.
For future "correctness" maybe the script should unset PERL5LIB to "force" the use of the system libs ? Thank you! -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to perl in Ubuntu. https://bugs.launchpad.net/bugs/2037531 Title: package libpam0g:amd64 1.4.0-11ubuntu2.3 failed to install/upgrade: installed libpam0g:amd64 package post-installation script subprocess returned error exit status 1 Status in perl package in Ubuntu: Incomplete Bug description: Doing a release upgrade from 20.04 to 22.04 ProblemType: Package DistroRelease: Ubuntu 20.04 Package: libpam0g:amd64 1.4.0-11ubuntu2.3 ProcVersionSignature: Ubuntu 5.4.0-163.180-generic 5.4.246 Uname: Linux 5.4.0-163-generic x86_64 ApportVersion: 2.20.11-0ubuntu27.27 Architecture: amd64 CasperMD5CheckResult: pass CloudArchitecture: x86_64 CloudID: none CloudName: none CloudPlatform: none CloudSubPlatform: config Date: Wed Sep 27 11:19:52 2023 DuplicateSignature: package:libpam0g:amd64:1.4.0-11ubuntu2.3 Setting up libpam0g:amd64 (1.4.0-11ubuntu2.3) ... ListUtil.c: loadable library and perl binaries are mismatched (got handshake key 0xcd00080, needed 0xeb00080) dpkg: error processing package libpam0g:amd64 (--configure): installed libpam0g:amd64 package post-installation script subprocess returned error exit status 1 ErrorMessage: installed libpam0g:amd64 package post-installation script subprocess returned error exit status 1 InstallationDate: Installed on 2020-12-14 (1016 days ago) InstallationMedia: Ubuntu-Server 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731) Python3Details: /usr/bin/python3.8, Python 3.8.10, python3-minimal, 3.8.2-0ubuntu2 PythonDetails: N/A RelatedPackageVersions: dpkg 1.21.1ubuntu2.2 apt 2.0.9 SourcePackage: pam Title: package libpam0g:amd64 1.4.0-11ubuntu2.3 failed to install/upgrade: installed libpam0g:amd64 package post-installation script subprocess returned error exit status 1 UpgradeStatus: Upgraded to focal on 2023-09-27 (0 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/perl/+bug/2037531/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp