On 2016-11-10 16:34, Guillem Jover wrote: >> If you can still reproduce at will, I might like to provide a patch to >> make sure the fix works for you? If you could test this, probably >> later today, that'd be awesome! > > Ok, it was too trivial to leave alone. :) Attached the proposed patch.
That seems to work: # ./dpkg-buggy --configure --pending Setting up desktop-base (9.0.0~exp1) ... dpkg: error processing package desktop-base (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: Segmentation fault # ./dpkg-fixed --configure --pending Setting up desktop-base (9.0.0~exp1) ... dpkg: error processing package desktop-base (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: desktop-base and I can run an arbitrary sequence of these two commands and get always the same output. Andreas