Package: libghc-quickcheck1-doc,libghc-quickcheck2-doc
Version: libghc-quickcheck1-doc/1.2.0.1-5
Version: libghc-quickcheck2-doc/2.5.1.1-2
Severity: serious
User: trei...@debian.org
Usertags: edos-file-overwrite

Date: 2013-05-25
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!
  gcc-4.8-base libgcc1 libstdc++6 libbsd0 libgmp10 libgmpxx4ldbl libppl12
  libppl-c4 libcloog-ppl1 libffi6 libgomp1 libitm1 libmpfr4 libquadmath0
  libmpc3 gcc-4.7-base binutils cpp-4.7 cpp libgcc-4.7-dev gcc-4.7 gcc
  libbsd-dev libc-dev-bin linux-libc-dev libc6-dev libffi-dev libgmp-dev ghc
  ghc-haddock libghc-quickcheck1-doc libghc-quickcheck2-doc

Extracting templates from packages: 93%
Extracting templates from packages: 100%
Authentication warning overridden.
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously unselected package gcc-4.8-base:amd64.
(Reading database ... 10806 files and directories currently installed.)
Unpacking gcc-4.8-base:amd64 (from .../gcc-4.8-base_4.8.0-7_amd64.deb) ...
Can not write log, openpty() failed (/dev/pts not mounted?)
Setting up gcc-4.8-base:amd64 (4.8.0-7) ...
Can not write log, openpty() failed (/dev/pts not mounted?)
(Reading database ... 10813 files and directories currently installed.)
Preparing to replace libgcc1:amd64 1:4.7.2-5 (using 
.../libgcc1_1%3a4.8.0-7_amd64.deb) ...
Unpacking replacement libgcc1:amd64 ...
Can not write log, openpty() failed (/dev/pts not mounted?)
Setting up libgcc1:amd64 (1:4.8.0-7) ...
Can not write log, openpty() failed (/dev/pts not mounted?)
(Reading database ... 10813 files and directories currently installed.)
Preparing to replace libstdc++6:amd64 4.7.2-5 (using 
.../libstdc++6_4.8.0-7_amd64.deb) ...
Unpacking replacement libstdc++6:amd64 ...
Can not write log, openpty() failed (/dev/pts not mounted?)
Setting up libstdc++6:amd64 (4.8.0-7) ...
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously unselected package libbsd0:amd64.
(Reading database ... 10813 files and directories currently installed.)
Unpacking libbsd0:amd64 (from .../libbsd0_0.4.2-1_amd64.deb) ...
Selecting previously unselected package libgmp10:amd64.
Unpacking libgmp10:amd64 (from .../libgmp10_2%3a5.1.2+dfsg-1_amd64.deb) ...
Selecting previously unselected package libgmpxx4ldbl:amd64.
Unpacking libgmpxx4ldbl:amd64 (from 
.../libgmpxx4ldbl_2%3a5.1.2+dfsg-1_amd64.deb) ...
Selecting previously unselected package libppl12:amd64.
Unpacking libppl12:amd64 (from .../libppl12_1%3a1.0-7_amd64.deb) ...
Selecting previously unselected package libppl-c4:amd64.
Unpacking libppl-c4:amd64 (from .../libppl-c4_1%3a1.0-7_amd64.deb) ...
Selecting previously unselected package libcloog-ppl1:amd64.
Unpacking libcloog-ppl1:amd64 (from .../libcloog-ppl1_0.16.1-2_amd64.deb) ...
Selecting previously unselected package libffi6:amd64.
Unpacking libffi6:amd64 (from .../libffi6_3.0.13-4_amd64.deb) ...
Selecting previously unselected package libgomp1:amd64.
Unpacking libgomp1:amd64 (from .../libgomp1_4.8.0-7_amd64.deb) ...
Selecting previously unselected package libitm1:amd64.
Unpacking libitm1:amd64 (from .../libitm1_4.8.0-7_amd64.deb) ...
Selecting previously unselected package libmpfr4:amd64.
Unpacking libmpfr4:amd64 (from .../libmpfr4_3.1.1-1_amd64.deb) ...
Selecting previously unselected package libquadmath0:amd64.
Unpacking libquadmath0:amd64 (from .../libquadmath0_4.8.0-7_amd64.deb) ...
Selecting previously unselected package libmpc3:amd64.
Unpacking libmpc3:amd64 (from .../libmpc3_1.0.1-1_amd64.deb) ...
Preparing to replace gcc-4.7-base:amd64 4.7.2-5 (using 
.../gcc-4.7-base_4.7.3-4_amd64.deb) ...
Unpacking replacement gcc-4.7-base:amd64 ...
Selecting previously unselected package binutils.
Unpacking binutils (from .../binutils_2.22-8_amd64.deb) ...
Selecting previously unselected package cpp-4.7.
Unpacking cpp-4.7 (from .../cpp-4.7_4.7.3-4_amd64.deb) ...
Selecting previously unselected package cpp.
Unpacking cpp (from .../cpp_4%3a4.7.2-1_amd64.deb) ...
Selecting previously unselected package libgcc-4.7-dev:amd64.
Unpacking libgcc-4.7-dev:amd64 (from .../libgcc-4.7-dev_4.7.3-4_amd64.deb) ...
Selecting previously unselected package gcc-4.7.
Unpacking gcc-4.7 (from .../gcc-4.7_4.7.3-4_amd64.deb) ...
Selecting previously unselected package gcc.
Unpacking gcc (from .../gcc_4%3a4.7.2-1_amd64.deb) ...
Selecting previously unselected package libbsd-dev.
Unpacking libbsd-dev (from .../libbsd-dev_0.4.2-1_amd64.deb) ...
Selecting previously unselected package libc-dev-bin.
Unpacking libc-dev-bin (from .../libc-dev-bin_2.17-3_amd64.deb) ...
Selecting previously unselected package linux-libc-dev:amd64.
Unpacking linux-libc-dev:amd64 (from .../linux-libc-dev_3.8.13-1_amd64.deb) ...
Selecting previously unselected package libc6-dev:amd64.
Unpacking libc6-dev:amd64 (from .../libc6-dev_2.17-3_amd64.deb) ...
Selecting previously unselected package libffi-dev:amd64.
Unpacking libffi-dev:amd64 (from .../libffi-dev_3.0.13-4_amd64.deb) ...
Selecting previously unselected package libgmp-dev:amd64.
Unpacking libgmp-dev:amd64 (from .../libgmp-dev_2%3a5.1.2+dfsg-1_amd64.deb) ...
Selecting previously unselected package ghc.
Unpacking ghc (from .../archives/ghc_7.6.3-2_amd64.deb) ...
Selecting previously unselected package ghc-haddock.
Unpacking ghc-haddock (from .../ghc-haddock_7.6.3-2_amd64.deb) ...
Selecting previously unselected package libghc-quickcheck1-doc.
Unpacking libghc-quickcheck1-doc (from 
.../libghc-quickcheck1-doc_1.2.0.1-5_all.deb) ...
Selecting previously unselected package libghc-quickcheck2-doc.
Unpacking libghc-quickcheck2-doc (from 
.../libghc-quickcheck2-doc_2.5.1.1-2_all.deb) ...
dpkg: error processing 
/var/cache/apt/archives/libghc-quickcheck2-doc_2.5.1.1-2_all.deb (--unpack):
 trying to overwrite '/usr/lib/ghc-doc/hoogle/QuickCheck.txt', which is also in 
package libghc-quickcheck1-doc 1.2.0.1-5
Processing triggers for man-db ...
Processing triggers for install-info ...
Errors were encountered while processing:
 /var/cache/apt/archives/libghc-quickcheck2-doc_2.5.1.1-2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
cow-shell unlink .ilist: No such file or directory


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/hoogle/QuickCheck.txt

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-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to