[Pkg-samba-maint] Bug#987209: libwbclient-dev: missing Breaks+Replaces: samba-dev (<< 2:4.11)

Andreas Beckmann anbe at debian.org
Mon Apr 19 17:38:15 BST 2021


Package: libwbclient-dev
Version: 2:4.13.5+dfsg-1
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts
Control: affects -1 + samba-dev

Hi,

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

See policy 7.6 at
https://www.debian.org/doc/debian-policy/ch-relationships.html#overwriting-files-and-replacing-packages-replaces

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

  Selecting previously unselected package libwbclient-dev:amd64.
  Preparing to unpack .../libwbclient-dev_2%3a4.13.5+dfsg-1_amd64.deb ...
  Unpacking libwbclient-dev:amd64 (2:4.13.5+dfsg-1) ...
  dpkg: error processing archive /var/cache/apt/archives/libwbclient-dev_2%3a4.13.5+dfsg-1_amd64.deb (--unpack):
   trying to overwrite '/usr/lib/x86_64-linux-gnu/pkgconfig/samba-util.pc', which is also in package samba-dev:amd64 2:4.9.5+dfsg-5+deb10u1
  dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
  Preparing to unpack .../samba-dev_2%3a4.13.5+dfsg-1_amd64.deb ...
  Unpacking samba-dev:amd64 (2:4.13.5+dfsg-1) over (2:4.9.5+dfsg-5+deb10u1) ...
  Errors were encountered while processing:
   /var/cache/apt/archives/libwbclient-dev_2%3a4.13.5+dfsg-1_amd64.deb


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: samba-dev_2:4.13.5+dfsg-1.log.gz
Type: application/gzip
Size: 27469 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-samba-maint/attachments/20210419/6db362a2/attachment-0001.gz>


More information about the Pkg-samba-maint mailing list