Hi, thanks for taking the time to report this bug.
This actually appears to be a problem not in libpam-cgfs itself: Setting up libpam-cgfs (2.0.7-0ubuntu1~17.04.1) ... Use of uninitialized value $reply in scalar chomp at /usr/share/perl5/Debconf/FrontEnd/Passthrough.pm line 66. I'm going to mark this as affecting debconf, though the error message looks like a duplicate of a supposedly resolved bug. Can you please show the result of dpkg -l | grep debconf cat /etc/*-release so we can check the versions? ** Also affects: debconf (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to debconf in Ubuntu. https://bugs.launchpad.net/bugs/1696989 Title: package libpam-cgfs 2.0.7-0ubuntu1~17.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 128 Status in debconf package in Ubuntu: New Status in lxcfs package in Ubuntu: New Bug description: Error occurred while updating from terminal: W: APT had planned for dpkg to do more than it reported back (40 vs 44). Affected packages: libpam-cgfs:amd64 ProblemType: Package DistroRelease: Ubuntu 17.04 Package: libpam-cgfs 2.0.7-0ubuntu1~17.04.1 ProcVersionSignature: Ubuntu 4.10.0-22.24-generic 4.10.15 Uname: Linux 4.10.0-22-generic x86_64 ApportVersion: 2.20.4-0ubuntu4.1 Architecture: amd64 Date: Fri Jun 9 14:49:06 2017 ErrorMessage: subprocess installed post-installation script returned error exit status 128 InstallationDate: Installed on 2017-03-16 (84 days ago) InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2) RelatedPackageVersions: dpkg 1.18.10ubuntu2 apt 1.4 SourcePackage: lxcfs Title: package libpam-cgfs 2.0.7-0ubuntu1~17.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 128 UpgradeStatus: Upgraded to zesty on 2017-04-18 (52 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/debconf/+bug/1696989/+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