[Debian-med-packaging] Bug#709123: libdcmtk3: fails to install, trying to overwrite other packages files: /usr/share/dcmtk/dicom.dic
Sebastian Ramacher
sramacher at debian.org
Tue May 21 09:35:20 UTC 2013
On 2013-05-21 03:51:36, Andreas Beckmann wrote:
> 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.
The only think pulling libdcmtk2 is piuparts-depends-dummy.
However, shipping /usr/share/dcmtk/dicom.dic in libdcmtk[23] is a violation of
8.2 of the Policy: "If your package contains files whose names do not change
with each change in the library shared object version, you must not put them in
the shared library package."
/usr/share/dcmtk/{dicom,diconde,private}.dic either need to be versioned or
moved into a separate package so that libdcmtk2 and libdcmtk3 are
co-installable.
> I'm filing this bug against libdcmtk3 since it is more likely
> that this is missing an appropriately versioned
> Breaks+Replaces: libdcmtk2 (<< ???)
>
> cheers,
>
> Andreas
--
Sebastian Ramacher
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20130521/31e0ddc6/attachment.pgp>
More information about the Debian-med-packaging
mailing list