On Fri, Apr 15, 2016 at 11:59:48AM +0200, Harald Dunkel wrote: > I think you underestimate the problem. The next unattended > upgrade (using the 2nd set of new samba 4.2 packages) ran > into a dependency problem: > > Log started: 2016-04-15 00:37:18 > Preconfiguring packages ... > (Reading database ... 327171 files and directories currently installed.) > Preparing to unpack .../libwbclient0_2%3a4.2.10+dfsg-0+deb8u2_amd64.deb ... > Unpacking libwbclient0:amd64 (2:4.2.10+dfsg-0+deb8u2) over > (2:4.2.10+dfsg-0+deb8u1) ... > Preparing to unpack .../samba-dsdb-modules_2%3a4.2.10+dfsg-0+deb8u2_amd64.deb > ... > Unpacking samba-dsdb-modules (2:4.2.10+dfsg-0+deb8u2) over > (2:4.2.10+dfsg-0+deb8u1) ... > Preparing to unpack .../python-samba_2%3a4.2.10+dfsg-0+deb8u2_amd64.deb ... > Unpacking python-samba (2:4.2.10+dfsg-0+deb8u2) over (2:4.2.10+dfsg-0+deb8u1) > ... > Preparing to unpack .../smbclient_2%3a4.2.10+dfsg-0+deb8u2_amd64.deb ... > Unpacking smbclient (2:4.2.10+dfsg-0+deb8u2) over (2:4.2.10+dfsg-0+deb8u1) ... > Preparing to unpack .../libsmbclient_2%3a4.2.10+dfsg-0+deb8u2_amd64.deb ... > Unpacking libsmbclient:amd64 (2:4.2.10+dfsg-0+deb8u2) over > (2:4.2.10+dfsg-0+deb8u1) ... > Preparing to unpack .../samba-libs_2%3a4.2.10+dfsg-0+deb8u2_amd64.deb ... > Unpacking samba-libs:amd64 (2:4.2.10+dfsg-0+deb8u2) over > (2:4.2.10+dfsg-0+deb8u1) ... > dpkg: error processing archive > /var/cache/apt/archives/samba-libs_2%3a4.2.10+dfsg-0+deb8u2_amd64.deb > (--unpack): > trying to overwrite '/usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0', > which is also in package samba 2:4.2.10+dfsg-0+deb8u1
I know. This is Bug #821002, which is also serious and should be fixed soon. If you still want to work around the problem and not wait for +deb8u3, you could maybe: dpkg --purge --force-depends samba apt-get -f install This will probably install samba (again) and samba-libs version +deb8u2, but this time without errors. After that you can use aptitude, deborphan, debfoster, or whatever work best in your case.