On Mon, 2010-10-25 at 10:22 +0100, Daniel Case wrote:
Thank you for your help, I attempted to do a purge as
you suggested,
however:
dpkg: error processing postfix (--purge):
subprocess installed pre-removal script returned error exit status
100
It's likely complaining about the missing init file. Do "sudo
touch /etc/init.d/postfix" to create the file (which will be empty, but
we don't care because you're creating it so that it can be removed
successfully).
If there are other problems with the package, you might want to do 'dpkg
-L postfix' to get a list of the files that it's looking for, and see if
they're all there or if other bits have been nuked. If they have, you
might want to create those as well - essentially, the error you're
getting is the pre-removal script encountering errors, which almost
certainly means it's expecting a file to exist which has been manually
removed.
dpkg experts might be able to point out an equivalent to "rpm --verify";
last time I looked it had no such feature though (sadly, and bizarrely).
Cheers
Alex.
--
This message was scanned by Better Hosted and is believed to be clean.
http://www.betterhosted.com