[Pkg-samba-maint] Bug#731192: Bug#731192: warning: subprocess old pre-removal script returned error exit status 2

Jelmer Vernooij jelmer at debian.org
Tue Dec 3 02:24:51 UTC 2013


On Tue, Dec 03, 2013 at 05:00:14AM +0530, shirish शिरीष wrote:
> Package: samba-common-bin
> Version: 2:4.0.12+dfsg-1
> Severity: important
> 
> Dear Maintainer,
>      Dpkg gave the above warning while updating/upgrading samba. This
> is the whole output on aptitude.
> 
> Preparing to replace samba-common-bin 2:4.0.11+dfsg-1 (using
> .../samba-common-bin_2%3a4.0.12+dfsg-1_amd64.deb) ...
> update-alternatives: error: unknown argument `/usr/bin/nmblookup.samba3'

It looks like we're providing an extra argument to update-alternatives
--remove-all:

--remove-all name
  Remove all alternatives and all of their associated slave links.  name is a name in the alternatives directory.

However, prerm has:

update-alternatives --remove-all nmblookup /usr/bin/nmblookup.samba3
update-alternatives --remove-all net /usr/bin/net.samba3
update-alternatives --remove-all testparm /usr/bin/testparm.samba3

Cheers,

Jelmer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20131203/eae97174/attachment.sig>


More information about the Pkg-samba-maint mailing list