Package: freecad-common Version: 0.18+dfsg1-1 Severity: serious User: debian...@lists.debian.org Usertags: piuparts
Hi, during a test with piuparts I noticed your package fails to upgrade from 'testing'. It installed fine in 'testing', 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 >From the attached log (scroll to the bottom...): Preparing to unpack .../freecad-common_0.18+dfsg1-1_all.deb ... Unpacking freecad-common (0.18+dfsg1-1) over (0.18~pre1+dfsg1-5) ... dpkg: error processing archive /var/cache/apt/archives/freecad-common_0.18+dfsg1-1_all.deb (--unpack): trying to overwrite '/usr/share/man/man1/freecad.1.gz', which is also in package freecad-python2 0.18~pre1+dfsg1-5 Errors were encountered while processing: /var/cache/apt/archives/freecad-common_0.18+dfsg1-1_all.deb freecad-common currently has Replaces: freecad (<< 0.18~), freecad-python2 (<< 0.18~) Conflicts: freecad (<< 0.18~), freecad-python2 (<< 0.18~) Breaks: freecad (<< 0.18~), freecad-python2 (<< 0.18~) which does not cover the version in testing. (<< 0.18) should do. Also having both Breaks and Conflicts on the same is redundant. You most likely don't need the Conflicts, the Breaks should be sufficient (and simplify the upgrade path for apt). cheers, Andreas
freecad-python2=0.18~pre1+dfsg1-5_freecad-common=0.18+dfsg1-1.log.gz
Description: application/gzip