*** 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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1922279 Title: package libpam-systemd:amd64 245.4-4ubuntu3.5 failed to install/upgrade: пакунок знаходиться у поганому стані; потрібно перевстановити його до початку налаштування To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1922279/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs