[Pkg-samba-maint] Bug#719212: libsmbd0: fails to upgrade from 'sid' - trying to overwrite /usr/lib/x86_64-linux-gnu/samba/lib{smbd_base, ads}.so

Andreas Beckmann anbe at debian.org
Fri Aug 9 09:56:23 UTC 2013


Package: libsmbd0,samba-common-bin
Version: 2:4.0.6+dfsg-1
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts
Control: affects -1 + python-samba samba4-clients

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'sid' to 'experimental'.
It installed fine in 'sid', then the upgrade to 'experimental' fails
because it tries to overwrite other packages files without declaring a
Breaks+Replaces relation.

See policy 7.6 at
http://www.debian.org/doc/debian-policy/ch-relationships.html#s-replaces

>From the attached log (scroll to the bottom...):

  Selecting previously unselected package libsmbd0:amd64.
  Unpacking libsmbd0:amd64 (from .../libsmbd0_2%3a4.0.6+dfsg-1_amd64.deb) ...
  dpkg: error processing /var/cache/apt/archives/libsmbd0_2%3a4.0.6+dfsg-1_amd64.deb (--unpack):
   trying to overwrite '/usr/lib/x86_64-linux-gnu/samba/libsmbd_base.so', which is also in package python-samba 4.0.0~beta2+dfsg1-3.2
  dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
  Preparing to replace python-samba 4.0.0~beta2+dfsg1-3.2 (using .../python-samba_2%3a4.0.6+dfsg-1_amd64.deb) ...
  Unpacking replacement python-samba ...

  Selecting previously unselected package samba-common-bin.
  Unpacking samba-common-bin (from .../samba-common-bin_2%3a4.0.6+dfsg-1_amd64.deb) ...
  Replacing files in old package samba4-common-bin ...
  dpkg: error processing /var/cache/apt/archives/samba-common-bin_2%3a4.0.6+dfsg-1_amd64.deb (--unpack):
   trying to overwrite '/usr/lib/x86_64-linux-gnu/samba/libads.so', which is also in package python-samba 4.0.0~beta2+dfsg1-3.2
  dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python-samba_2:4.0.6+dfsg-1.log.gz
Type: application/x-gzip
Size: 12557 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20130809/f41c617c/attachment-0001.bin>


More information about the Pkg-samba-maint mailing list