Bug#709123: libdcmtk3: fails to install, trying to overwrite other packages files: /usr/share/dcmtk/dicom.dic
On 2013-05-21 11:35, Sebastian Ramacher wrote: > On 2013-05-21 03:51:36, Andreas Beckmann wrote: >> Pulling in both libdcmtk2 and libdcmtk3 looks wrong. > > The only think pulling libdcmtk2 is piuparts-depends-dummy. A "feature" of doing piuparts tests in experimental ... Somehow the dummy containes the merged dependencies of the packages in sid and experimental. Hmm, apt-cache shows both ... But I get the same overwrite problem doing a distuprade from sid to experimental (and the dummy package only pulls in libdcmtk2 in that case) Andreas -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#709123: libdcmtk3: fails to install, trying to overwrite other packages files: /usr/share/dcmtk/dicom.dic
On 2013-05-21 03:51:36, Andreas Beckmann wrote: > Package: libdcmtk3 > Version: 3.6.1~20121102-1 > Severity: serious > User: debian...@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 signature.asc Description: Digital signature
Bug#709123: libdcmtk3: fails to install, trying to overwrite other packages files: /usr/share/dcmtk/dicom.dic
Package: libdcmtk3 Version: 3.6.1~20121102-1 Severity: serious User: debian...@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 dcmtk_3.6.1~20121102-1.log.gz Description: GNU Zip compressed data