Hi Samuel, thank you very much for the report.

On Fri, 18 Nov 2022 09:40:11 +0100 Samuel Thibault <sthiba...@debian.org> wrote:
> Version 0.7.3-1 of opensysusers made it uninstallable:
>
> (Reading database ... 936343 files and directories currently installed.)
> Preparing to unpack .../opensysusers_0.7.3-1_all.deb ...
> Adding 'diversion of /bin/systemd-sysusers to /bin/systemd-sysusers.real by opensysusers'
> /var/lib/dpkg/tmp.ci/preinst: 15: 2: parameter not set
> dpkg: error processing archive /var/cache/apt/archives/opensysusers_0.7.3-1_all.deb (--unpack): > new opensysusers package pre-installation script subprocess returned error exit status 2
>
> Indeed, preinst uses set -u, and then tries [ -n "$2" ] (expanded from
> dh_installinit), thus deemed to fail under first installation.

Strange... I too noticed that version 0.7.3-1 introduced a piuparts error, but the release is pretty much identical to 0.7.2-1, as 0.7.2-1 already contained the only new upstream commit in 0.7.3.

Anyway, would you simply suggest to drop the `u` shell option? I added it only because I usually do so, but there's no strong motivation behind it.

Thanks again :)

Reply via email to