Package: samba-dev
Version: 2:4.20.0+dfsg-1~exp2
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts fileconflict

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.
This error may also be triggered by having a predecessor package from
'sid' installed while installing the package from 'experimental'.

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...):

  Preparing to unpack .../samba-dev_2%3a4.20.0+dfsg-1~exp2_amd64.deb ...
  Unpacking samba-dev:amd64 (2:4.20.0+dfsg-1~exp2) ...
  dpkg: error processing archive 
/var/cache/apt/archives/samba-dev_2%3a4.20.0+dfsg-1~exp2_amd64.deb (--unpack):
   trying to overwrite '/usr/include/samba-4.0/core/doserr.h', which is also in 
package libwbclient-dev:amd64 2:4.19.6+dfsg-3
  Errors were encountered while processing:
   /var/cache/apt/archives/samba-dev_2%3a4.20.0+dfsg-1~exp2_amd64.deb

The following headers moved from libwbclient-dev to samba-dev:

usr/include/samba-4.0/core/doserr.h
usr/include/samba-4.0/core/error.h
usr/include/samba-4.0/core/hresult.h
usr/include/samba-4.0/core/ntstatus.h
usr/include/samba-4.0/core/ntstatus_gen.h
usr/include/samba-4.0/core/werror.h
usr/include/samba-4.0/core/werror_gen.h


cheers,

Andreas

Attachment: libwbclient-dev=2:4.19.6+dfsg-3_samba-dev=2:4.20.0+dfsg-1~exp2.log.gz
Description: application/gzip

Reply via email to