Bug#985059: libwine-development: missing Breaks+Replaces: wine-development (<< 4.8)
On 12.03.21 11:40, Andreas Beckmann wrote: > Unpacking libwine-development:amd64 (5.6-1) over (4.2-4+b1) ... > dpkg: error processing archive > /tmp/apt-dpkg-install-mfCwgB/93-libwine-development_5.6-1_amd64.deb > (--unpack): >trying to overwrite '/usr/lib/wine-development/wineserver', which is also > in package wine-development 4.2-4 > dpkg-deb: error: paste subprocess was killed by signal (Broken pipe) [...] > According to snapshot.d.o 4.8-1 was the first version no longer shipping > ./usr/lib/wine-development/wineserver in wine-development See my commit 0ba2f523fdae3ec4787afafea18b28a98fe3f9b4 from back then, I (probably) had the correct entries there, so you just have to re-apply these: Package: libwineVERSION [...] +Breaks: + wine32VERSION (<< 4.7-2~), + wine64VERSION (<< 4.7-2~), +Replaces: + wine32VERSION (<< 4.7-2~), + wine64VERSION (<< 4.7-2~), In 5.5-7 (latest git, please push your changes) they were still there. Given that bullseye won't have wine-development I guess the packages should keep such things for updates from buster until bullseye + 1. Greets jre
Bug#985059: libwine-development: missing Breaks+Replaces: wine-development (<< 4.8)
Package: libwine-development Version: 5.6-1 Severity: serious User: debian...@lists.debian.org Usertags: piuparts Control: affects -1 + wine-development Hi, during a test with piuparts I noticed your package fails to upgrade from 'stable'. It installed fine in 'stable', then the upgrade to 'sid' 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 This test intentionally skipped 'testing' to find file overwrite problems before packages migrate from 'unstable' to 'testing'. >From the attached log (scroll to the bottom...): Preparing to unpack .../92-wine64-development_5.6-1_amd64.deb ... Unpacking wine64-development (5.6-1) over (4.2-4+b1) ... Preparing to unpack .../93-libwine-development_5.6-1_amd64.deb ... Unpacking libwine-development:amd64 (5.6-1) over (4.2-4+b1) ... dpkg: error processing archive /tmp/apt-dpkg-install-mfCwgB/93-libwine-development_5.6-1_amd64.deb (--unpack): trying to overwrite '/usr/lib/wine-development/wineserver', which is also in package wine-development 4.2-4 dpkg-deb: error: paste subprocess was killed by signal (Broken pipe) dpkg: considering deconfiguration of libwine-development:amd64, which would be broken by installation of wine-development ... dpkg: yes, will deconfigure libwine-development:amd64 (broken by wine-development) Preparing to unpack .../94-wine-development_5.6-1_all.deb ... De-configuring libwine-development:amd64 (4.2-4+b1) ... Unpacking wine-development (5.6-1) over (4.2-4) ... Preparing to unpack .../95-ocl-icd-libopencl1_2.2.14-2_amd64.deb ... Unpacking ocl-icd-libopencl1:amd64 (2.2.14-2) over (2.2.12-2) ... Selecting previously unselected package libz-mingw-w64. Preparing to unpack .../96-libz-mingw-w64_1.2.11+dfsg-2_all.deb ... Unpacking libz-mingw-w64 (1.2.11+dfsg-2) ... Preparing to unpack .../97-libx11-xcb1_2%3a1.7.0-2_amd64.deb ... Unpacking libx11-xcb1:amd64 (2:1.7.0-2) over (2:1.6.7-1+deb10u1) ... Errors were encountered while processing: /tmp/apt-dpkg-install-mfCwgB/93-libwine-development_5.6-1_amd64.deb According to snapshot.d.o 4.8-1 was the first version no longer shipping ./usr/lib/wine-development/wineserver in wine-development cheers, Andreas wine-development_5.6-1.log.gz Description: application/gzip