Created attachment 451 [details] fix When purging a package (dpkg -P), the postrm script is deleted before it has a chance to run. The attached patch excludes the postrm script from the initial deletion and then deletes it after the script has run. This problem was identified and initially patched by my colleague John Ata.
Thanks, committed to git. Please test it.