[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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
fail.

This is definitely a bug in the Samba package that the new
maintainer should take care of.

E.-

kestrel@aye.net wrote:
: 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:
:   samba

-- 

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
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: