Package: ghc-doc,libghc-binary-doc Version: ghc-doc/7.4.1-1 Version: libghc-binary-doc/0.5.1.0-1 Severity: serious User: trei...@debian.org Usertags: edos-file-overwrite
Date: 2012-02-08 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! libffi5 libgmp10 libgmpxx4ldbl libgomp1 libmpfr4 libquadmath0 libmpc2 binutils cpp-4.6 cpp gcc-4.6 gcc libbsd0 libbsd-dev libc-dev-bin linux-libc-dev libc6-dev libffi-dev libgmp-dev ghc ghc-haddock ghc-doc libghc-binary-doc Authentication warning overridden. Can not write log, openpty() failed (/dev/pts not mounted?) Selecting previously unselected package libffi5. (Reading database ... 10530 files and directories currently installed.) Unpacking libffi5 (from .../libffi5_3.0.10-3_amd64.deb) ... Selecting previously unselected package libgmp10. Unpacking libgmp10 (from .../libgmp10_2%3a5.0.3+dfsg-1_amd64.deb) ... Selecting previously unselected package libgmpxx4ldbl. Unpacking libgmpxx4ldbl (from .../libgmpxx4ldbl_2%3a5.0.3+dfsg-1_amd64.deb) ... Selecting previously unselected package libgomp1. Unpacking libgomp1 (from .../libgomp1_4.6.2-12_amd64.deb) ... Selecting previously unselected package libmpfr4. Unpacking libmpfr4 (from .../libmpfr4_3.1.0-3_amd64.deb) ... Selecting previously unselected package libquadmath0. Unpacking libquadmath0 (from .../libquadmath0_4.6.2-12_amd64.deb) ... Selecting previously unselected package libmpc2. Unpacking libmpc2 (from .../libmpc2_0.9-4_amd64.deb) ... Selecting previously unselected package binutils. Unpacking binutils (from .../binutils_2.22-5_amd64.deb) ... Selecting previously unselected package cpp-4.6. Unpacking cpp-4.6 (from .../cpp-4.6_4.6.2-12_amd64.deb) ... Selecting previously unselected package cpp. Unpacking cpp (from .../cpp_4%3a4.6.2-4_amd64.deb) ... Selecting previously unselected package gcc-4.6. Unpacking gcc-4.6 (from .../gcc-4.6_4.6.2-12_amd64.deb) ... Selecting previously unselected package gcc. Unpacking gcc (from .../gcc_4%3a4.6.2-4_amd64.deb) ... Selecting previously unselected package libbsd0. Unpacking libbsd0 (from .../libbsd0_0.3.0-1_amd64.deb) ... Selecting previously unselected package libbsd-dev. Unpacking libbsd-dev (from .../libbsd-dev_0.3.0-1_amd64.deb) ... Selecting previously unselected package libc-dev-bin. Unpacking libc-dev-bin (from .../libc-dev-bin_2.13-26_amd64.deb) ... Selecting previously unselected package linux-libc-dev. Unpacking linux-libc-dev (from .../linux-libc-dev_3.2.4-1_amd64.deb) ... Selecting previously unselected package libc6-dev. Unpacking libc6-dev (from .../libc6-dev_2.13-26_amd64.deb) ... Selecting previously unselected package libffi-dev. Unpacking libffi-dev (from .../libffi-dev_3.0.10-3_amd64.deb) ... Selecting previously unselected package libgmp-dev. Unpacking libgmp-dev (from .../libgmp-dev_2%3a5.0.3+dfsg-1_amd64.deb) ... Selecting previously unselected package ghc. Unpacking ghc (from .../archives/ghc_7.4.1-1_amd64.deb) ... Selecting previously unselected package ghc-haddock. Unpacking ghc-haddock (from .../ghc-haddock_7.4.1-1_amd64.deb) ... Selecting previously unselected package ghc-doc. Unpacking ghc-doc (from .../ghc-doc_7.4.1-1_all.deb) ... Selecting previously unselected package libghc-binary-doc. Unpacking libghc-binary-doc (from .../libghc-binary-doc_0.5.1.0-1_all.deb) ... dpkg: error processing /var/cache/apt/archives/libghc-binary-doc_0.5.1.0-1_all.deb (--unpack): trying to overwrite '/usr/lib/ghc-doc/haddock/binary-0.5.1.0/binary.haddock', which is also in package ghc-doc 7.4.1-1 configured to not write apport reports Processing triggers for man-db ... Processing triggers for install-info ... Errors were encountered while processing: /var/cache/apt/archives/libghc-binary-doc_0.5.1.0-1_all.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/ghc-doc/haddock/binary-0.5.1.0/binary.haddock This bug has been filed against 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. You may then also register in the BTS that the other package is affected by the bug. -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