*** This bug is a duplicate of bug 1699360 *** https://bugs.launchpad.net/bugs/1699360
This seems to be the same as explained here: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1921574/comments/2 so marking this as dup of bug 1699360 for your specific system, you probably can fix your local problem by running: $ sudo apt install --fix-broken and then try apt upgrade again. ** This bug has been marked a duplicate of bug 1699360 package libpam-systemd:amd64 232-21ubuntu4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 128 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1922279 Title: package libpam-systemd:amd64 245.4-4ubuntu3.5 failed to install/upgrade: пакунок знаходиться у поганому стані; потрібно перевстановити його до початку налаштування Status in systemd package in Ubuntu: New Bug description: libpam-systemd:amd64 E: Sub-process /usr/bin/dpkg returned an error code (1) Description: Ubuntu 20.04.2 LTS Release: 20.04 How to fix this Bug Thanks ProblemType: Package DistroRelease: Ubuntu 20.04 Package: libpam-systemd:amd64 245.4-4ubuntu3.5 ProcVersionSignature: Ubuntu 5.8.0-48.54~20.04.1-generic 5.8.18 Uname: Linux 5.8.0-48-generic x86_64 ApportVersion: 2.20.11-0ubuntu27.16 Architecture: amd64 CasperMD5CheckResult: skip Date: Wed Mar 31 15:52:24 2021 ErrorMessage: пакунок знаходиться у поганому стані; потрібно перевстановити його до початку налаштування InstallationDate: Installed on 2020-11-07 (144 days ago) InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731) Python3Details: /usr/bin/python3.8, Python 3.8.5, python3-minimal, 3.8.2-0ubuntu2 PythonDetails: N/A RelatedPackageVersions: dpkg 1.19.7ubuntu3 apt 2.0.4 SourcePackage: systemd Title: package libpam-systemd:amd64 245.4-4ubuntu3.5 failed to install/upgrade: пакунок знаходиться у поганому стані; потрібно перевстановити його до початку налаштування UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1922279/+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