[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#556419: libpgocaml-ocaml-dev and libpgocaml-ocaml: error when trying to install together



Package: libpgocaml-ocaml,libpgocaml-ocaml-dev
Version: libpgocaml-ocaml/1.3-2
Version: libpgocaml-ocaml-dev/1.3-2
Severity: serious
User: treinen@debian.org
Usertags: edos-file-overwrite

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

Hi,

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!
  libpcre3 binutils ocaml-base-nox libc-dev-bin linux-libc-dev libc6-dev
  libncurses5-dev ocaml-interp libgmp3c2 libmpfr1ldbl cpp-4.3 cpp libgomp1
  gcc-4.3 gcc ocaml-nox camlp4 libcalendar-ocaml libfindlib-ocaml
  libfindlib-ocaml-dev ocaml-findlib libcalendar-ocaml-dev libextlib-ocaml
  libextlib-ocaml-dev libcsv-ocaml-dev libpcre-ocaml libpcrecpp0 libpcre3-dev
  libpcre-ocaml-dev libpgocaml-ocaml libpgocaml-ocaml-dev

Extracting templates from packages: 96%
Extracting templates from packages: 100%
Authentication warning overridden.
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously deselected package libpcre3.
(Reading database ... 10430 files and directories currently installed.)
Unpacking libpcre3 (from .../libpcre3_7.8-3_amd64.deb) ...
Selecting previously deselected package binutils.
Unpacking binutils (from .../binutils_2.20-4_amd64.deb) ...
Selecting previously deselected package ocaml-base-nox.
Unpacking ocaml-base-nox (from .../ocaml-base-nox_3.11.1-4_amd64.deb) ...
Selecting previously deselected package libc-dev-bin.
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-1_amd64.deb) ...
Selecting previously deselected package libc6-dev.
Unpacking libc6-dev (from .../libc6-dev_2.10.1-7_amd64.deb) ...
Selecting previously deselected package libncurses5-dev.
Unpacking libncurses5-dev (from .../libncurses5-dev_5.7+20090803-2_amd64.deb) ...
Selecting previously deselected package ocaml-interp.
Unpacking ocaml-interp (from .../ocaml-interp_3.11.1-4_amd64.deb) ...
Selecting previously deselected package libgmp3c2.
Unpacking libgmp3c2 (from .../libgmp3c2_2%3a4.3.1+dfsg-3_amd64.deb) ...
Selecting previously deselected package libmpfr1ldbl.
Unpacking libmpfr1ldbl (from .../libmpfr1ldbl_2.4.1-2_amd64.deb) ...
Selecting previously deselected package cpp-4.3.
Unpacking cpp-4.3 (from .../cpp-4.3_4.3.4-6_amd64.deb) ...
Selecting previously deselected package cpp.
Unpacking cpp (from .../cpp_4%3a4.3.4-1_amd64.deb) ...
Selecting previously deselected package libgomp1.
Unpacking libgomp1 (from .../libgomp1_4.4.2-2_amd64.deb) ...
Selecting previously deselected package gcc-4.3.
Unpacking gcc-4.3 (from .../gcc-4.3_4.3.4-6_amd64.deb) ...
Selecting previously deselected package gcc.
Unpacking gcc (from .../gcc_4%3a4.3.4-1_amd64.deb) ...
Selecting previously deselected package ocaml-nox.
Unpacking ocaml-nox (from .../ocaml-nox_3.11.1-4_amd64.deb) ...
Selecting previously deselected package camlp4.
Unpacking camlp4 (from .../camlp4_3.11.1-4_amd64.deb) ...
Selecting previously deselected package libcalendar-ocaml.
Unpacking libcalendar-ocaml (from .../libcalendar-ocaml_2.01.1-6_amd64.deb) ...
Selecting previously deselected package libfindlib-ocaml.
Unpacking libfindlib-ocaml (from .../libfindlib-ocaml_1.2.5+debian-1_amd64.deb) ...
Selecting previously deselected package libfindlib-ocaml-dev.
Unpacking libfindlib-ocaml-dev (from .../libfindlib-ocaml-dev_1.2.5+debian-1_amd64.deb) ...
Selecting previously deselected package ocaml-findlib.
Unpacking ocaml-findlib (from .../ocaml-findlib_1.2.5+debian-1_amd64.deb) ...
Selecting previously deselected package libcalendar-ocaml-dev.
Unpacking libcalendar-ocaml-dev (from .../libcalendar-ocaml-dev_2.01.1-6_amd64.deb) ...
Selecting previously deselected package libextlib-ocaml.
Unpacking libextlib-ocaml (from .../libextlib-ocaml_1.5.1-5_amd64.deb) ...
Selecting previously deselected package libextlib-ocaml-dev.
Unpacking libextlib-ocaml-dev (from .../libextlib-ocaml-dev_1.5.1-5_amd64.deb) ...
Selecting previously deselected package libcsv-ocaml-dev.
Unpacking libcsv-ocaml-dev (from .../libcsv-ocaml-dev_1.1.7-2_amd64.deb) ...
Selecting previously deselected package libpcre-ocaml.
Unpacking libpcre-ocaml (from .../libpcre-ocaml_6.0.1-2_amd64.deb) ...
Selecting previously deselected package libpcrecpp0.
Unpacking libpcrecpp0 (from .../libpcrecpp0_7.8-3_amd64.deb) ...
Selecting previously deselected package libpcre3-dev.
Unpacking libpcre3-dev (from .../libpcre3-dev_7.8-3_amd64.deb) ...
Selecting previously deselected package libpcre-ocaml-dev.
Unpacking libpcre-ocaml-dev (from .../libpcre-ocaml-dev_6.0.1-2_amd64.deb) ...
Selecting previously deselected package libpgocaml-ocaml.
Unpacking libpgocaml-ocaml (from .../libpgocaml-ocaml_1.3-2_amd64.deb) ...
Selecting previously deselected package libpgocaml-ocaml-dev.
Unpacking libpgocaml-ocaml-dev (from .../libpgocaml-ocaml-dev_1.3-2_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/libpgocaml-ocaml-dev_1.3-2_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/ocaml/pgocaml/pgocaml.cma', which is also in package libpgocaml-ocaml 0:1.3-2
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/libpgocaml-ocaml-dev_1.3-2_amd64.deb
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):


  usr/lib/ocaml/pgocaml/META
  usr/lib/ocaml/pgocaml/pgocaml.cma
  

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.

-Ralf.

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



Reply to: