Re: Samba package
I know what's happening because I went throught this problem before:
the /var/lib/dpkg/info/samba.prerm script stops any nmbd and smbd
that could be running. It does this by calling start-stop-daemon
but the script does not consider the case of no daemons running.
To solve the problem just edit /var/lib/dpkg/info/samba.prerm and
add the option --oknodo to the invocation of start-stop-daemon.
This option makes start-stop-daemon return a succesful code even
in the case of no daemons running, so the prerm script does not
This is definitely a bug in the Samba package that the new
maintainer should take care of.
: I have the samba package installed but want to remove it, everytime i try I
: get the following:
: Shadow:~# dpkg --remove samba
: (Reading database ... 14226 files and directories currently installed.)
: Removing samba ...
: dpkg: error processing samba (--remove):
: subprocess pre-removal script returned error exit status 1
: Errors were encountered while processing:
Eloy A. Paris
Information Technology Department
Rockwell Automation de Venezuela
Telephone: +58-2-9432311 Fax: +58-2-9431645
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
Trouble? e-mail to email@example.com .