[Debian-med-packaging] Bug#557495: libtowitoko-dev and libctapimkt0-dev: error when trying to install together

Ralf Treinen treinen at free.fr
Sun Nov 22 13:25:15 UTC 2009

Package: libctapimkt0-dev,libtowitoko-dev
Version: libctapimkt0-dev/1.0.1-1
Version: libtowitoko-dev/2.0.7-8+b1
Severity: serious
User: treinen at debian.org
Usertags: edos-file-overwrite

Date: 2009-11-22
Architecture: amd64
Distribution: sid


automatic installation tests of packages that share a file and at the
same time do not conflict by their package dependency relationships has
detected the following problem:

WARNING: The following packages cannot be authenticated!
  libc-dev-bin linux-libc-dev libc6-dev libctapimkt0 libctapimkt0-dev
  libtowitoko2 libtowitoko-dev
Preconfiguring packages ...
Authentication warning overridden.
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously deselected package libc-dev-bin.
(Reading database ... 10432 files and directories currently installed.)
Unpacking libc-dev-bin (from .../libc-dev-bin_2.10.1-7_amd64.deb) ...
Selecting previously deselected package linux-libc-dev.
Unpacking linux-libc-dev (from .../linux-libc-dev_2.6.31-2_amd64.deb) ...
Selecting previously deselected package libc6-dev.
Unpacking libc6-dev (from .../libc6-dev_2.10.1-7_amd64.deb) ...
Selecting previously deselected package libctapimkt0.
Unpacking libctapimkt0 (from .../libctapimkt0_1.0.1-1_amd64.deb) ...
Selecting previously deselected package libctapimkt0-dev.
Unpacking libctapimkt0-dev (from .../libctapimkt0-dev_1.0.1-1_amd64.deb) ...
Selecting previously deselected package libtowitoko2.
Unpacking libtowitoko2 (from .../libtowitoko2_2.0.7-8+b1_amd64.deb) ...
Selecting previously deselected package libtowitoko-dev.
Unpacking libtowitoko-dev (from .../libtowitoko-dev_2.0.7-8+b1_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/libtowitoko-dev_2.0.7-8+b1_amd64.deb (--unpack):
 trying to overwrite '/usr/include/ctapi.h', which is also in package libctapimkt0-dev 0:1.0.1-1
Processing triggers for man-db ...
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)

This is a serious bug as it makes installation fail, and violate
section 7.6.1 of the policy. Possible solutions are to have the two
packages conflict, to rename the common file in one of the two
packages, or to remove the file from one package and have this package
depend on the other package. File diversions or a Replace relation are
another possibility.

Here is a list of files that are known to be shared by both packages
(according to the Contents file for sid/amd64, which may be
slightly out of sync):


This bug is assigned to both packages. If you, the maintainers of
the two packages in question, have agreed on which of the packages will
resolve the problem please reassign the bug to that package.


PS: for more information about the detection of file overwrite errors
of this kind see http://edos.debian.net/file-overwrites/.

More information about the Debian-med-packaging mailing list