Package: libllvm-ocaml-2.7-dev,libllvm-ocaml-dev Version: libllvm-ocaml-2.7-dev/2.7-4 Version: libllvm-ocaml-dev/2.6-9.1 Severity: serious User: trei...@debian.org Usertags: edos-file-overwrite
Date: 2010-08-26 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! binfmt-support binutils libgmp3c2 libmpfr4 cpp-4.4 cpp libgomp1 gcc-4.4 gcc libc-dev-bin linux-libc-dev libc6-dev ocaml-base-nox libffi5 libllvm2.7 libffi-dev llvm-2.7-runtime llvm-2.7 llvm-2.7-dev libllvm-ocaml-2.7-dev libncurses5-dev ocaml-interp ocaml-nox llvm-runtime llvm llvm-dev libllvm-ocaml-dev Authentication warning overridden. Can not write log, openpty() failed (/dev/pts not mounted?) Selecting previously deselected package binfmt-support. (Reading database ... 12252 files and directories currently installed.) Unpacking binfmt-support (from .../binfmt-support_1.2.18_all.deb) ... Selecting previously deselected package binutils. Unpacking binutils (from .../binutils_2.20.1-13_amd64.deb) ... Selecting previously deselected package libgmp3c2. Unpacking libgmp3c2 (from .../libgmp3c2_2%3a4.3.2+dfsg-1_amd64.deb) ... Selecting previously deselected package libmpfr4. Unpacking libmpfr4 (from .../libmpfr4_3.0.0-2_amd64.deb) ... Selecting previously deselected package cpp-4.4. Unpacking cpp-4.4 (from .../cpp-4.4_4.4.4-9_amd64.deb) ... Selecting previously deselected package cpp. Unpacking cpp (from .../cpp_4%3a4.4.4-2_amd64.deb) ... Selecting previously deselected package libgomp1. Unpacking libgomp1 (from .../libgomp1_4.4.4-9_amd64.deb) ... Selecting previously deselected package gcc-4.4. Unpacking gcc-4.4 (from .../gcc-4.4_4.4.4-9_amd64.deb) ... Selecting previously deselected package gcc. Unpacking gcc (from .../gcc_4%3a4.4.4-2_amd64.deb) ... Selecting previously deselected package libc-dev-bin. Unpacking libc-dev-bin (from .../libc-dev-bin_2.11.2-2_amd64.deb) ... Selecting previously deselected package linux-libc-dev. Unpacking linux-libc-dev (from .../linux-libc-dev_2.6.32-21_amd64.deb) ... Selecting previously deselected package libc6-dev. Unpacking libc6-dev (from .../libc6-dev_2.11.2-2_amd64.deb) ... Selecting previously deselected package ocaml-base-nox. Unpacking ocaml-base-nox (from .../ocaml-base-nox_3.11.2-1_amd64.deb) ... Selecting previously deselected package libffi5. Unpacking libffi5 (from .../libffi5_3.0.9-2_amd64.deb) ... Selecting previously deselected package libllvm2.7. Unpacking libllvm2.7 (from .../libllvm2.7_2.7-4_amd64.deb) ... Selecting previously deselected package libffi-dev. Unpacking libffi-dev (from .../libffi-dev_3.0.9-2_amd64.deb) ... Selecting previously deselected package llvm-2.7-runtime. Unpacking llvm-2.7-runtime (from .../llvm-2.7-runtime_2.7-4_amd64.deb) ... Selecting previously deselected package llvm-2.7. Unpacking llvm-2.7 (from .../llvm-2.7_2.7-4_amd64.deb) ... Selecting previously deselected package llvm-2.7-dev. Unpacking llvm-2.7-dev (from .../llvm-2.7-dev_2.7-4_amd64.deb) ... Selecting previously deselected package libllvm-ocaml-2.7-dev. Unpacking libllvm-ocaml-2.7-dev (from .../libllvm-ocaml-2.7-dev_2.7-4_amd64.deb) ... Selecting previously deselected package libncurses5-dev. Unpacking libncurses5-dev (from .../libncurses5-dev_5.7+20100313-2_amd64.deb) ... Selecting previously deselected package ocaml-interp. Unpacking ocaml-interp (from .../ocaml-interp_3.11.2-1_amd64.deb) ... Selecting previously deselected package ocaml-nox. Unpacking ocaml-nox (from .../ocaml-nox_3.11.2-1_amd64.deb) ... Selecting previously deselected package llvm-runtime. Unpacking llvm-runtime (from .../llvm-runtime_2.6-9.1_amd64.deb) ... Selecting previously deselected package llvm. Unpacking llvm (from .../llvm_2.6-9.1_amd64.deb) ... Selecting previously deselected package llvm-dev. Unpacking llvm-dev (from .../llvm-dev_2.6-9.1_amd64.deb) ... Selecting previously deselected package libllvm-ocaml-dev. Unpacking libllvm-ocaml-dev (from .../libllvm-ocaml-dev_2.6-9.1_amd64.deb) ... dpkg: error processing /var/cache/apt/archives/libllvm-ocaml-dev_2.6-9.1_amd64.deb (--unpack): trying to overwrite '/usr/lib/ocaml/METAS/META.llvm', which is also in package libllvm-ocaml-2.7-dev 0:2.7-4 dpkg-deb: subprocess paste killed by signal (Broken pipe) Processing triggers for man-db ... Processing triggers for install-info ... Errors were encountered while processing: /var/cache/apt/archives/libllvm-ocaml-dev_2.6-9.1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) This is a serious bug as it makes installation fail, and violates sections 7.6.1 and 10.1 of the policy. An optimal solution would consist in only one of the packages installing that file, and renaming or removing the file in the other package. Depending on the circumstances you might also consider Replace relations or file diversions. If the conflicting situation cannot be resolved then, as a last resort, the two packages have to declare a mutual Conflict. Please take into account that Replaces, Conflicts and diversions should only be used when packages provide different implementations for the same functionality. 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/METAS/META.llvm 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/. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org