Bug#378934: mldonkey-server: postinst breaks (dpkg failure) when mlnet fails to start
#include <hallo.h>
* Eduard Bloch [Thu, Jul 20 2006, 01:19:56AM]:
> > The stop) action of the new script is fairly simple:
> >
> > stop)
> > echo -n "Stopping $DESC: $NAME"
> > start-stop-daemon --stop --oknodo --pidfile $PIDFILE
> > echo "."
> > ;;
> >
> > Let's try a little experiment (of course the "toto" file does not exist):
>
> Well, that is not the point! When the new version of prerm is run, it
> does still execute the _old_ init script. So, how do you intend to solve
> this problem?
Oh, and the fun continues:
Setting up mldonkey-server (2.7.7-4) ...
Please set both variables MLDONKEY_USER and MLDONKEY_GROUP in /etc/default/mldonkey-server
invoke-rc.d: initscript mldonkey-server, action "start" failed.
dpkg: error processing mldonkey-server (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
mldonkey-server
Sorry, WTF? It was purged, of course there is no such setting.
Eduard.
Reply to: