[Pkg-samba-maint] Bug#820947: smbclient: [regression] pulls the server package "samba" via samba-libs since 2:4.2.10 dfsg-0 deb8u1 (DSA 3548-1)

Luca Boccassi luca.boccassi at gmail.com
Fri Apr 15 09:24:17 UTC 2016


 On Thu, 14 Apr 2016 12:23:09 +0200 Salvatore Bonaccorso <carnil at debian.org>
wrote:
> Hi Axel,
>
> On Thu, Apr 14, 2016 at 12:18:09PM +0200, Axel Beckert wrote:
> > Hi Salvatore,
> >
> > Axel Beckert wrote:
> > > Salvatore Bonaccorso wrote:
> > > > On Wed, Apr 13, 2016 at 11:57:13PM +0200, Axel Beckert wrote:
> > > > Current test packages for (amd64) are on
> > > > https://people.debian.org/~carnil/tmp/samba/jessie/ with the
libraries
> > > > moved to the correct samba-libs instead of samba.
> > >
> > > Thanks for the prompt fix! Testing them right now on my laptop as well
> > > as on one BackupPC server. (BackupPC has a dependency on smbclient for
> > > backing up Windows machines.)
> >
> > Worked fine on all six machines I've deployed it via reprepro so far.
> > Thanks!
>
> Thanks! The regression update will sent out soon to fix this immediate
> problem.

Hello Salvatore,

FYI: this upgrade broke apt-get upgrade:

Reading changelogs... Done
Preconfiguring packages ...
(Reading database ... 355011 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 .../samba-vfs-modules_2%3a4.2.10+dfsg-0+deb8u2_amd64.deb ...
Unpacking samba-vfs-modules (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
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Preparing to unpack .../samba_2%3a4.2.10+dfsg-0+deb8u2_amd64.deb ...
Unpacking samba (2:4.2.10+dfsg-0+deb8u2) over (2:4.2.10+dfsg-0+deb8u1) ...
Preparing to unpack .../samba-common-bin_2%3a4.2.10+dfsg-0+deb8u2_amd64.deb ...
Unpacking samba-common-bin (2:4.2.10+dfsg-0+deb8u2) over
(2:4.2.10+dfsg-0+deb8u1) ...
Preparing to unpack .../samba-common_2%3a4.2.10+dfsg-0+deb8u2_all.deb ...
Unpacking samba-common (2:4.2.10+dfsg-0+deb8u2) over
(2:4.2.10+dfsg-0+deb8u1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for systemd (215-17+deb8u4) ...
Errors were encountered while processing:
 /var/cache/apt/archives/samba-libs_2%3a4.2.10+dfsg-0+deb8u2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 libsmbclient : Depends: samba-libs (= 2:4.2.10+dfsg-0+deb8u2) but
2:4.2.10+dfsg-0+deb8u1 is installed
 python-samba : Depends: samba-libs (= 2:4.2.10+dfsg-0+deb8u2) but
2:4.2.10+dfsg-0+deb8u1 is installed
 samba : Depends: samba-libs (= 2:4.2.10+dfsg-0+deb8u2) but
2:4.2.10+dfsg-0+deb8u1 is installed
 samba-common-bin : Depends: samba-libs (= 2:4.2.10+dfsg-0+deb8u2) but
2:4.2.10+dfsg-0+deb8u1 is installed
 samba-dsdb-modules : Depends: samba-libs (= 2:4.2.10+dfsg-0+deb8u2)
but 2:4.2.10+dfsg-0+deb8u1 is installed
 samba-libs : Depends: samba (= 2:4.2.10+dfsg-0+deb8u1) but
2:4.2.10+dfsg-0+deb8u2 is installed
 samba-vfs-modules : Depends: samba-libs (= 2:4.2.10+dfsg-0+deb8u2)
but 2:4.2.10+dfsg-0+deb8u1 is installed
 smbclient : Depends: samba-libs (= 2:4.2.10+dfsg-0+deb8u2) but
2:4.2.10+dfsg-0+deb8u1 is installed
E: Unmet dependencies. Try using -f.



>From I quick look, I think samba-libs should have declared a Conficts +
Replaces on samba << 2:4.2.10+dfsg-0+deb8u1 since it appears a file moved
between the two. Fortunately apt-get install -f is enough to fix it this
time, so no dependency chain to manually unravel :-)

Kind regards,
Luca Boccassi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20160415/d7922a10/attachment-0001.html>


More information about the Pkg-samba-maint mailing list