[Pkg-citadel-devel] Bug#908551: apt-listchanges: apt update hangs if no mail system
Robert Luberda
robert at debian.org
Tue Sep 11 23:10:23 BST 2018
RJ pisze:
An issue in apt-listchanges is that handling of Ctrl-C does not work,
when /bin/sh points to dash; this is visible here:
> ^CE: Sub-process /usr/bin/apt-listchanges --apt || test $? -lt 10
> received signal 2.
> E: Failure running script /usr/bin/apt-listchanges --apt || test $? -lt 10
Pressing Ctrl-C causes apt-listchanges to exit with code 10, so the
above command should return 0, but... dash as parent process receives
SIGINT as well, what ends up with returning code 130.
bash works differently and returns 0, but I guess unfortunately dash
behavior's is correct according to POSIX. I will try to fix this inside
apt-listchanges somehow.
Regards,
robert
More information about the Pkg-citadel-devel
mailing list