[Pkg-samba-maint] Bug#616075: samba-common: install/upgrade should not depend on the presence of /etc/samba/smb.conf

Steve Langasek vorlon at debian.org
Wed Mar 2 17:39:07 UTC 2011

On Wed, Mar 02, 2011 at 12:42:17PM +0200, Teodor wrote:

> The latest security upgrades for 'samba' cannot be installed due to missing
> 'smb.conf' file. I think post-install should check this.

> Setting up samba-common (2:3.5.6~dfsg-3squeeze2) ...
> Not replacing deleted config file /etc/samba/smb.conf
> chmod: cannot access `/etc/samba/smb.conf': No such file or directory
> dpkg: error processing samba-common (--configure):
>  subprocess installed post-installation script returned error exit status 1
> configured to not write apport reports
>                                       dpkg: dependency problems prevent configuration of smbclient:
>  smbclient depends on samba-common (= 2:3.5.6~dfsg-3squeeze2); however:
>   Package samba-common is not configured yet.
> dpkg: error processing smbclient (--configure):
>  dependency problems - leaving unconfigured
> configured to not write apport reports
>                                       Errors were encountered while processing:
>  samba-common
>  smbclient
> E: Sub-process /usr/bin/dpkg returned an error code (1)

It should; but I don't think you'll get usable samba packages with a missing
smb.conf anyway, will you?  So that seems like a low-priority bug.

Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20110302/366cc146/attachment.pgp>

More information about the Pkg-samba-maint mailing list