Bug#906110: freecad-{common, python2}, libfreecad-python2-0.17: missing Breaks+Replaces: freecad (<< 0.17)

Andreas Beckmann anbe at debian.org
Tue Aug 14 11:17:16 BST 2018


Package: freecad-common,freecad-python2,libfreecad-python2-0.17
Version: 0.17+dfsg1-1
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts

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.

See policy 7.6 at
https://www.debian.org/doc/debian-policy/#overwriting-files-and-replacing-packages-replaces

>From the attached log (scroll to the bottom...):

  Preparing to unpack .../freecad-common_0.17+dfsg1-1_all.deb ...
  Unpacking freecad-common (0.17+dfsg1-1) ...
  dpkg: error processing archive /var/cache/apt/archives/freecad-common_0.17+dfsg1-1_all.deb (--unpack):
   trying to overwrite '/usr/share/icons/hicolor/16x16/apps/freecad.png', which is also in package freecad 0.16.6712+dfsg1-3
  Errors were encountered while processing:
   /var/cache/apt/archives/freecad-common_0.17+dfsg1-1_all.deb

  Preparing to unpack .../freecad-python2_0.17+dfsg1-1_amd64.deb ...
  Unpacking freecad-python2 (0.17+dfsg1-1) ...
  dpkg: error processing archive /var/cache/apt/archives/freecad-python2_0.17+dfsg1-1_amd64.deb (--unpack):
   trying to overwrite '/usr/lib/freecad/bin/FreeCAD', which is also in package freecad 0.16.6712+dfsg1-3
  Errors were encountered while processing:
   /var/cache/apt/archives/freecad-python2_0.17+dfsg1-1_amd64.deb

  Preparing to unpack .../libfreecad-python2-0.17_0.17+dfsg1-1_amd64.deb ...
  Unpacking libfreecad-python2-0.17 (0.17+dfsg1-1) ...
  dpkg: error processing archive /var/cache/apt/archives/libfreecad-python2-0.17_0.17+dfsg1-1_amd64.deb (--unpack):
   trying to overwrite '/usr/lib/freecad/lib/DraftUtils.so', which is also in package freecad 0.16.6712+dfsg1-3
  dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
  Errors were encountered while processing:
   /var/cache/apt/archives/libfreecad-python2-0.17_0.17+dfsg1-1_amd64.deb


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freecad=0.16.6712+dfsg1-3_freecad-common=0.17+dfsg1-1.log.gz
Type: application/gzip
Size: 29292 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20180814/7bb672c9/attachment-0001.gz>


More information about the debian-science-maintainers mailing list