Unpacking libglade2-0:i386 (from .../libglade2-0_1%3a2.6.4-1ubuntu3_i386.deb) ... Preparing to replace libwbclient0:i386 2:3.6.18-1ubuntu3 (using .../libwbclient0_2%3a3.6.18-1ubuntu3.1_i386.deb) ... Unpacking replacement libwbclient0:i386 ... Preparing to replace smbclient 2:3.6.18-1ubuntu3 (using .../smbclient_2%3a3.6.18-1ubuntu3.1_i386.deb) ... Unpacking replacement smbclient ... Preparing to replace samba-common 2:3.6.18-1ubuntu3 (using .../samba-common_2%3a3.6.18-1ubuntu3.1_all.deb) ... Unpacking replacement samba-common ... Selecting previously unselected package samba. Unpacking samba (from .../samba_2%3a3.6.18-1ubuntu3.1_i386.deb) ... Selecting previously unselected package libuser1. Unpacking libuser1 (from .../libuser1_1%3a0.56.9.dfsg.1-1.2ubuntu2_i386.deb) ... Selecting previously unselected package python-central. Unpacking python-central (from .../python-central_0.6.17ubuntu2_all.deb) ... Selecting previously unselected package python-glade2. Unpacking python-glade2 (from .../python-glade2_2.24.0-3ubuntu1_i386.deb) ... Selecting previously unselected package python-support. Unpacking python-support (from .../python-support_1.0.15_all.deb) ... Selecting previously unselected package python-libuser. Unpacking python-libuser (from .../python-libuser_1%3a0.56.9.dfsg.1-1.2ubuntu2_i386.deb) ... Selecting previously unselected package system-config-samba. Unpacking system-config-samba (from .../system-config-samba_1.2.63-0ubuntu5_all.deb) ... Processing triggers for man-db ... Processing triggers for ureadahead ... Processing triggers for ufw ... Processing triggers for gnome-menus ... Processing triggers for desktop-file-utils ... Processing triggers for bamfdaemon ... Rebuilding /usr/share/applications/bamf-2.index... Processing triggers for mime-support ... Processing triggers for hicolor-icon-theme ... Setting up samba4 (4.0.3+dfsg1-0.1ubuntu1) ... ERROR(ldb): uncaught exception - operations error at ../source4/dsdb/samdb/ldb_modules/rootdse.c:501 File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line 175, in _run return self.run(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/samba/netcmd/dbcheck.py", line 108, in run fix=fix, yes=yes, quiet=quiet, in_transaction=started_transaction) File "/usr/lib/python2.7/dist-packages/samba/dbchecker.py", line 62, in __init__ self.ntds_dsa = samdb.get_dsServiceName() File "/usr/lib/python2.7/dist-packages/samba/samdb.py", line 856, in get_dsServiceName res = self.search(base="", scope=ldb.SCOPE_BASE, attrs=["dsServiceName"]) dpkg: error processing samba4 (--configure): subprocess installed post-installation script returned error exit status 255 Setting up libglade2-0:i386 (1:2.6.4-1ubuntu3) ... Setting up libwbclient0:i386 (2:3.6.18-1ubuntu3.1) ... Setting up samba-common (2:3.6.18-1ubuntu3.1) ... Use of uninitialized value $reply in scalar chomp at /usr/share/perl5/Debconf/FrontEnd/Passthrough.pm line 66, line 12. Use of uninitialized value $reply in concatenation (.) or string at /usr/share/perl5/Debconf/FrontEnd/Passthrough.pm line 67, line 12. Use of uninitialized value $reply in split at /usr/share/perl5/Debconf/FrontEnd/Passthrough.pm line 68, line 12. Use of uninitialized value in string eq at /usr/share/perl5/Debconf/FrontEnd/Passthrough.pm line 202, line 12. Use of uninitialized value $reply in scalar chomp at /usr/share/perl5/Debconf/FrontEnd/Passthrough.pm line 66, line 12. Use of uninitialized value $reply in concatenation (.) or string at /usr/share/perl5/Debconf/FrontEnd/Passthrough.pm line 67, line 12. Use of uninitialized value $reply in split at /usr/share/perl5/Debconf/FrontEnd/Passthrough.pm line 68, line 12. Use of uninitialized value $ret in string eq at /usr/share/perl5/Debconf/FrontEnd/Passthrough.pm line 212, line 12. Use of uninitialized value $_[1] in join or string at /usr/share/perl5/Debconf/DbDriver/Stack.pm line 111, line 12. Use of uninitialized value $val in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 83, line 17. Use of uninitialized value $val in concatenation (.) or string at /usr/share/perl5/Debconf/Format/822.pm line 84, line 17. dpkg: error processing samba-common (--configure): subprocess installed post-installation script returned error exit status 128