Preparing to unpack .../python-samba_2%3a4.1.6+dfsg-1ubuntu2.14.04.3_amd64.deb ... Unpacking python-samba (2:4.1.6+dfsg-1ubuntu2.14.04.3) over (2:4.1.6+dfsg-1ubuntu2.14.04.2) ... Preparing to unpack .../samba-common-bin_2%3a4.1.6+dfsg-1ubuntu2.14.04.3_amd64.deb ... Unpacking samba-common-bin (2:4.1.6+dfsg-1ubuntu2.14.04.3) over (2:4.1.6+dfsg-1ubuntu2.14.04.2) ... Preparing to unpack .../samba-common_2%3a4.1.6+dfsg-1ubuntu2.14.04.3_all.deb ... Unpacking samba-common (2:4.1.6+dfsg-1ubuntu2.14.04.3) over (2:4.1.6+dfsg-1ubuntu2.14.04.2) ... Preparing to unpack .../libsmbclient_2%3a4.1.6+dfsg-1ubuntu2.14.04.3_amd64.deb ... Unpacking libsmbclient:amd64 (2:4.1.6+dfsg-1ubuntu2.14.04.3) over (2:4.1.6+dfsg-1ubuntu2.14.04.2) ... Preparing to unpack .../samba-libs_2%3a4.1.6+dfsg-1ubuntu2.14.04.3_amd64.deb ... secrets.tdb exists in /var/lib/samba and /var/lib/samba/private, aborting samba-libs preinst rename one of them to allow the install/upgrade to continue http://bugs.debian.org/726472 /var/lib/samba: total 356 drwxr-xr-x 6 root root 4096 Jul 2 20:24 . drwxr-xr-x 91 root root 4096 Jul 2 20:59 .. -rw------- 1 root root 36864 Aug 21 2011 account_policy.tdb -rw------- 1 root root 77824 Aug 21 2011 group_mapping.ldb.replaced -rw------- 1 root root 696 Apr 27 2012 group_mapping.tdb -rw------- 1 root root 8192 Aug 21 2011 ntdrivers.tdb.bak -rw------- 1 root root 696 Aug 21 2011 ntforms.tdb.bak -rw------- 1 root root 8192 Aug 21 2011 ntprinters.tdb.bak -rw------- 1 root root 36864 Aug 21 2011 passdb.tdb drwxr-xr-x 2 root root 4096 Aug 21 2011 perfmon drwxr-xr-x 3 root root 4096 Oct 14 2011 private -rw------- 1 root root 81920 Dec 29 2013 registry.tdb -rw------- 1 root root 45056 Aug 21 2011 secrets.tdb -rw------- 1 root root 36864 Apr 27 2012 share_info.tdb drwxrwx--T 2 root sambashare 4096 Oct 30 2013 usershares drwxr-x--- 2 root root 4096 Oct 14 2011 winbindd_privileged /var/lib/samba/private: total 176 drwxr-xr-x 3 root root 4096 Oct 14 2011 . drwxr-xr-x 6 root root 4096 Jul 2 20:24 .. -rw------- 1 root root 53248 Aug 23 2011 privilege.ldb -rw------- 1 root root 696 Oct 14 2011 randseed.tdb -rw------- 1 root root 53248 Aug 23 2011 sam.ldb -rw------- 1 root root 53248 Aug 23 2011 secrets.ldb -rw------- 1 root root 696 Aug 23 2011 secrets.tdb drwxr-xr-x 3 root root 4096 Aug 23 2011 smbd.tmp