[Pkg-samba-maint] Bug#1070335: samba-dev: missing Breaks+Replaces: libwbclient-dev (<< 2:4.20)
Andreas Beckmann
anbe at debian.org
Fri May 3 21:16:07 BST 2024
Package: samba-dev
Version: 2:4.20.0+dfsg-1~exp2
Severity: serious
User: debian-qa at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libwbclient-dev=2:4.19.6+dfsg-3_samba-dev=2:4.20.0+dfsg-1~exp2.log.gz
Type: application/gzip
Size: 9796 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-samba-maint/attachments/20240503/65ea843e/attachment.gz>
More information about the Pkg-samba-maint
mailing list