Comment 7 for bug 832465

Revision history for this message
Roger Hunwicks (roger-tonic-solutions) wrote : Re: package samba4 4.0.0~alpha17~git20110807.dfsg1-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

If you do :
apt-cache show samba4-common-bin

You get:
Package: samba4-common-bin
Priority: optional
Section: universe/net
Installed-Size: 80
Maintainer: Ubuntu Developers <email address hidden>
Original-Maintainer: Samba Debian Maintainers <email address hidden>
Architecture: i386
Source: samba4
Version: 4.0.0~alpha17~git20110807.dfsg1-1ubuntu1
Replaces: samba4-common (<< 2:3.4.0~pre2-1)
Depends: python-samba (= 4.0.0~alpha17~git20110807.dfsg1-1ubuntu1), samba-common (>= 2:3.4.0~pre2-1), python
Conflicts: samba (<< 2:3.3.0~rc2-5), samba-common (<< 2:3.3.0~rc2-5)

I.e. samba4-common-bin depends on a recent version of samba-common, which is why both samba and samba4 components get installed.