[Debian-med-packaging] Bug#709123: libdcmtk3: fails to install, trying to overwrite other packages files: /usr/share/dcmtk/dicom.dic

Andreas Beckmann anbe at debian.org
Tue May 21 01:51:36 UTC 2013


Package: libdcmtk3
Version: 3.6.1~20121102-1
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts
Control: affects -1 + libdcmtk2 dcmtk

Hi,

during a test with piuparts I noticed your package failed to install
because it tries to overwrite other packages files without declaring a
Breaks+Replaces relation.

See policy 7.6 at
http://www.debian.org/doc/debian-policy/ch-relationships.html#s-replaces

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

  Selecting previously unselected package libdcmtk3.
  Unpacking libdcmtk3 (from .../libdcmtk3_3.6.1~20121102-1_amd64.deb) ...
  Selecting previously unselected package libwrap0:amd64.
  Unpacking libwrap0:amd64 (from .../libwrap0_7.6.q-24_amd64.deb) ...
  Selecting previously unselected package libdcmtk2.
  Unpacking libdcmtk2 (from .../libdcmtk2_3.6.0-13_amd64.deb) ...
  dpkg: error processing /var/cache/apt/archives/libdcmtk2_3.6.0-13_amd64.deb (--unpack):
   trying to overwrite '/usr/share/dcmtk/dicom.dic', which is also in package libdcmtk3 3.6.1~20121102-1
  dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
  Errors were encountered while processing:
   /var/cache/apt/archives/libdcmtk2_3.6.0-13_amd64.deb

Pulling in both libdcmtk2 and libdcmtk3 looks wrong.

I'm filing this bug against libdcmtk3 since it is more likely
that this is missing an appropriately versioned 
Breaks+Replaces: libdcmtk2 (<< ???)

cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dcmtk_3.6.1~20121102-1.log.gz
Type: application/x-gzip
Size: 7623 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20130521/276e2c76/attachment.bin>


More information about the Debian-med-packaging mailing list