On Fri, 26 Nov 2010 10:58:44 -0600 Jonathan Nieder wrote: > Package: apt-listbugs > Version: 0.1.3 > Severity: minor
Hi Jonathan and thanks for your bug report! ;-) > > [...] > Fetched 679KiB in 5s. > ^C/usr/sbin/apt-listbugs:228:in ``': Interrupt > from /usr/sbin/apt-listbugs:228 > E: dpkg 'pre' action '/usr/sbin/apt-listbugs apt || exit 10' returned > non-zero status: 2 > E: error performing command 'full-upgrade' > $ > > Listing full paths and line numbers like this gives a feeling that > something dangerous has happened. Really? I did not get such an impression: I mean, the user pressed [Ctrl+C], so some sort of abnormal exit from the program should be expected... But anyway. > Would it make sense to silently > accept the SIGINT, allowing cupt or apt to explain it (with exit > status 130)? Actually, there's already some code intended to trap SIGINTs. See /usr/sbin/apt-listbugs:257 (in apt-listbugs version 0.1.3). Unfortunately, it seems that, when you pressed [Ctrl+C], that instruction had not yet been executed. Indeed, the "full path" with "line number" says that you were still at line 228 ... Maybe the trap instruction should be moved before everything else: I have to think about it... And maybe the exit status should be turned into 130 ... I don't know when I can manage to find the time to do that. Anyway, Debian testing is currently in deep freeze, so *don't* expect to see this modification hit testing or unstable soon. [...] > Thanks for apt-listbugs. You have to thank the previous developers, above all. I am just the current maintainer and my contribution so far is not that big... Anyway, you're welcome! :-) -- http://www.inventati.org/frx/progs/scripts/pdebuild-hooks.html Need some pdebuild hook scripts? ..................................................... Francesco Poli . GnuPG key fpr == C979 F34B 27CE 5CD8 DC12 31B5 78F4 279B DD6D FCF4
pgph8XR3H8x0o.pgp
Description: PGP signature