Add an "exit 0" to the top of the prerm script and try again. i.e.,
#!/bin/bash exit 0 Regards, Jeff On Fri, Apr 09, 1999 at 03:31:18PM -0400, Paul Kirschner wrote: > In the process of installing and removing autofs and amd, I got autofs > locked up so that I cannot remove, purge, install or unpack it. All I > get is... > > dpkg --purge autofs > (Reading database ... 28494 files and directories currently installed.) > Removing autofs ... > Stopping automounter. > dpkg: error processing autofs (--purge): > subprocess pre-removal script returned error exit status 1 > Starting automounter:. > Errors were encountered while processing: > autofs > > > The pre and post-rm script just stop autofs and run OK by hand. > > How can I completely remove or install or fix this? > > TIA. >