Bug#1070335: samba-dev: missing Breaks+Replaces: libwbclient-dev (<< 2:4.20)
On 03/05/2024 22.27, Michael Tokarev wrote: The move has happened in 4.19.6-2 which were uploaded a couple days ago. The version in experimental (4.20) uploaded *before* the version in sid (4.19.6) - I uploaded new upstream version to experimental to see how it will work. I didn't check the timing of the uploads ... Ususally such changes happen with new upstreams in experimental ;-) For the real 4.20 upload, I'll rebase it on top of current sid version, 4.19.6-2, which does have proper breaks/replaces but in the opposite direction. Sounds like no action is needed to fix this experimental-only bug. Just close it with the upload of 4.20 to sid. Andreas
Bug#1070335: samba-dev: missing Breaks+Replaces: libwbclient-dev (<< 2:4.20)
03.05.2024 23:16, Andreas Beckmann wrote: 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'. Hm. I'm not sure what to do here, it's a bit interesting. The move has happened in 4.19.6-2 which were uploaded a couple days ago. The version in experimental (4.20) uploaded *before* the version in sid (4.19.6) - I uploaded new upstream version to experimental to see how it will work. For the real 4.20 upload, I'll rebase it on top of current sid version, 4.19.6-2, which does have proper breaks/replaces but in the opposite direction. So in order to fix this bug, current version of samba should be *removed* from experimental, instead of adding backwards-facing breaks/replaces. I don't plan to do another upload of 4.20 to experimental at this time, and the next upload will be to sid (hopefully) with proper history et al. So current version in experimental is sort of orphan right now. Or are you suggesting I should perform another upload to experimental just to fix this bug report? I'd rather avoid another rebase.. Thanks, /mjt
Bug#1070335: samba-dev: missing Breaks+Replaces: libwbclient-dev (<< 2:4.20)
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 libwbclient-dev=2:4.19.6+dfsg-3_samba-dev=2:4.20.0+dfsg-1~exp2.log.gz Description: application/gzip