On Wed, 2006-10-18 at 15:57 +0200, Florian Kulzer wrote: > > dpkg: error processing postfix-policyd (--remove): > > subprocess pre-removal script returned error exit status 10 > > Errors were encountered while processing: > > postfix-policyd > > E: Sub-process /usr/bin/dpkg returned an error code (1) > > mail:~#
> We have to identify the problem in the pre-removal script: > /var/lib/dpkg/info/postfix-policyd.prerm It looks like this: #!/bin/sh set -e #set -x . /usr/share/debconf/confmodule . /usr/share/dbconfig-common/dpkg/prerm.mysql dbc_go postfix-policyd $@ # Automatically added by dh_installinit if [ -x "/etc/init.d/postfix-policyd" ]; then if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then invoke-rc.d postfix-policyd stop || exit $? else /etc/init.d/postfix-policyd stop || exit $? fi fi # End automatically added section I don't see a "dbc_go" command anywhere? > If you don't know shell scripting well enough to figure it out yourself > then tell us which version of the postfix-policyd package is currently > installed on your system. ("dpkg -l postfix-policyd") My scripting skill is very basic, but enough to get a rough idea of what most scripts do. I have postfix-policyd 1.80-2.1 Thanks Hans -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]