Package: libpam0g Version: 1.4.0-9 Severity: important Dear Maintainer,
While upgrading a Raspberry Pi from Buster to Bullseye, the postinst of the libpam0g package failed, which resulted in a system in a half-upgraded state. This could not be resolved by 'apt -fix-broken install' because this would trigger the same bug again. The bug in question is in debian/libpam0g.postinst, line 63: failed = "$failed $1" This should read: failed="$failed $1" I managed to repair my install by applying the fix above to /var/lib/dpkg/info/libpam0g:armhf.postinst and then completed the upgrade. The bug doesn't always get triggered, as an upgrade on another RPi did not trigger it. Having the exim4 package installed may be a contributing factor, because the code got triggered on trying to restart exim4. Although I've encounted the bug on a Raspbian system, I've verified that it is also present in the source package as shipped by Debian. The VCS repository for this package unfortunately is at 1.4.0-1, while 1.4.0-9 is shipped with Bullseye. Could you please update the repository in question? Regards, Paul Boven. -- System Information: Distributor ID: Raspbian Description: Raspbian GNU/Linux 11 (bullseye) Release: 11 Codename: bullseye Architecture: armv7l Kernel: Linux 5.10.52-v7l+ (SMP w/4 CPU threads) Kernel taint flags: TAINT_CRAP Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages libpam0g depends on: ii debconf [debconf-2.0] 1.5.77 ii libaudit1 1:3.0-2 ii libc6 2.31-13+rpi1 libpam0g recommends no packages. Versions of packages libpam0g suggests: pn libpam-doc <none> -- debconf information: libpam0g/restart-services: * libraries/restart-without-asking: true libpam0g/restart-failed: libpam0g/xdm-needs-restart: