[Pkg-electronics-devel] Bug#891012: kicad-{footprints, symbols, templates}: fails to upgrade from 'sid' - trying to overwrite usr/share/kicad/*

Andreas Beckmann anbe at debian.org
Wed Feb 21 14:13:00 UTC 2018


Package: kicad-footprints,kicad-symbols,kicad-templates
Version: 0~2018.01.27-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...):

  Selecting previously unselected package kicad-footprints.
  Preparing to unpack .../kicad-footprints_0~2018.01.27-1_all.deb ...
  Unpacking kicad-footprints (0~2018.01.27-1) ...
  dpkg: error processing archive /var/cache/apt/archives/kicad-footprints_0~2018.01.27-1_all.deb (--unpack):
   trying to overwrite '/usr/share/kicad/template/fp-lib-table', which is also in package kicad-common 4.0.7+dfsg1-1
  Errors were encountered while processing:
   /var/cache/apt/archives/kicad-footprints_0~2018.01.27-1_all.deb

  Selecting previously unselected package kicad-symbols.
  Preparing to unpack .../kicad-symbols_0~2018.01.27-1_all.deb ...
  Unpacking kicad-symbols (0~2018.01.27-1) ...
  dpkg: error processing archive /var/cache/apt/archives/kicad-symbols_0~2018.01.27-1_all.deb (--unpack):
   trying to overwrite '/usr/share/kicad/library/Power_Management.dcm', which is also in package kicad-common 4.0.7+dfsg1-1
  dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
  Errors were encountered while processing:
   /var/cache/apt/archives/kicad-symbols_0~2018.01.27-1_all.deb

  Selecting previously unselected package kicad-templates.
  Preparing to unpack .../kicad-templates_0~2018.01.27-1_all.deb ...
  Unpacking kicad-templates (0~2018.01.27-1) ...
  dpkg: error processing archive /var/cache/apt/archives/kicad-templates_0~2018.01.27-1_all.deb (--unpack):
   trying to overwrite '/usr/share/kicad/template/Arduino_As_Uno_R3/Arduino_As_Uno-cache.lib', which is also in package kicad-common 4.0.7+dfsg1-1
  dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
  Errors were encountered while processing:
   /var/cache/apt/archives/kicad-templates_0~2018.01.27-1_all.deb


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kicad-common=4.0.7+dfsg1-1_kicad-footprints=0~2018.01.27-1.log.gz
Type: application/gzip
Size: 9519 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-electronics-devel/attachments/20180221/c173a83d/attachment.bin>


More information about the Pkg-electronics-devel mailing list