Hello I'm too stupid to find that bug: my snort package calls: # Automatically added by dh_installdebconf if [ "$1" = purge -a -e /usr/share/debconf/confmodule ]; then . /usr/share/debconf/confmodule db_purge fi # End automatically added section
At the very end of the script. Now this confmodule does the following: Check to see if a FrontEnd is running. f [ ! "$DEBIAN_HAS_FRONTEND" ]; then # Ok, this is pretty crazy. Since there is no FrontEnd, this # program execs a FrontEnd. It will then run a new copy of $0 that # can talk to it. exec /usr/share/debconf/frontend $0 $* fi ++ '[' '!' '' ']' ++ exec /usr/share/debconf/frontend /var/lib/dpkg/info/snort.postrm purge # summary of how this script can be called: # * <postrm> `remove' # * <postrm> `purge' As you can see, this frontend calls my postrm *again* which leads to an error because I do things there I cannot do twice! (e.g. removing a user) Any ideas? bye, -christian- -- A radioactive cat has eighteen half-lives. --------------------------------------------------------------------------- Linux - the choice of the GNU generation. Join the Debian Project http://www.debian.org Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel.: 02404-25624 0AA3 E879 1D82 F59E 77A4 0096 911F 4AE6 86A1 18E6 1024D/86A118E6 1999-09-17