Package: libahven2-dev,libahven3-dev
Version: libahven2-dev/1.9-1
Version: libahven3-dev/2.1-1
Severity: serious
User: trei...@debian.org
Usertags: edos-file-overwrite

Date: 2011-10-28
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!
  gnat-4.6-base libgmp10 libmpfr4 libmpc2 cpp-4.6 binutils libgomp1
  libquadmath0 gcc-4.6 libgnat-4.6 libc-dev-bin linux-libc-dev libc6-dev
  libgnatvsn4.6 libgnatprj4.6 gnat-4.6 libahven19.0 libahven2-dev libahven21.0
  libahven3-dev
Authentication warning overridden.
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously unselected package gnat-4.6-base.
(Reading database ... 10587 files and directories currently installed.)
Unpacking gnat-4.6-base (from .../gnat-4.6-base_4.6.1-6_amd64.deb) ...
Selecting previously unselected package libgmp10.
Unpacking libgmp10 (from .../libgmp10_2%3a5.0.2+dfsg-2_amd64.deb) ...
Selecting previously unselected package libmpfr4.
Unpacking libmpfr4 (from .../libmpfr4_3.1.0-2_amd64.deb) ...
Selecting previously unselected package libmpc2.
Unpacking libmpc2 (from .../libmpc2_0.9-4_amd64.deb) ...
Selecting previously unselected package cpp-4.6.
Unpacking cpp-4.6 (from .../cpp-4.6_4.6.2-1_amd64.deb) ...
Selecting previously unselected package binutils.
Unpacking binutils (from .../binutils_2.21.90.20111025-1_amd64.deb) ...
Selecting previously unselected package libgomp1.
Unpacking libgomp1 (from .../libgomp1_4.6.2-1_amd64.deb) ...
Selecting previously unselected package libquadmath0.
Unpacking libquadmath0 (from .../libquadmath0_4.6.2-1_amd64.deb) ...
Selecting previously unselected package gcc-4.6.
Unpacking gcc-4.6 (from .../gcc-4.6_4.6.2-1_amd64.deb) ...
Selecting previously unselected package libgnat-4.6.
Unpacking libgnat-4.6 (from .../libgnat-4.6_4.6.1-6_amd64.deb) ...
Selecting previously unselected package libc-dev-bin.
Unpacking libc-dev-bin (from .../libc-dev-bin_2.13-21_amd64.deb) ...
Selecting previously unselected package linux-libc-dev.
Unpacking linux-libc-dev (from .../linux-libc-dev_3.0.0-5_amd64.deb) ...
Selecting previously unselected package libc6-dev.
Unpacking libc6-dev (from .../libc6-dev_2.13-21_amd64.deb) ...
Selecting previously unselected package libgnatvsn4.6.
Unpacking libgnatvsn4.6 (from .../libgnatvsn4.6_4.6.1-6_amd64.deb) ...
Selecting previously unselected package libgnatprj4.6.
Unpacking libgnatprj4.6 (from .../libgnatprj4.6_4.6.1-6_amd64.deb) ...
Selecting previously unselected package gnat-4.6.
Unpacking gnat-4.6 (from .../gnat-4.6_4.6.1-6_amd64.deb) ...
Selecting previously unselected package libahven19.0.
Unpacking libahven19.0 (from .../libahven19.0_1.9-1_amd64.deb) ...
Selecting previously unselected package libahven2-dev.
Unpacking libahven2-dev (from .../libahven2-dev_1.9-1_amd64.deb) ...
Selecting previously unselected package libahven21.0.
Unpacking libahven21.0 (from .../libahven21.0_2.1-1_amd64.deb) ...
Selecting previously unselected package libahven3-dev.
Unpacking libahven3-dev (from .../libahven3-dev_2.1-1_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/libahven3-dev_2.1-1_amd64.deb 
(--unpack):
 trying to overwrite '/usr/share/ada/adainclude/ahven.gpr', which is also in 
package libahven2-dev 1.9-1
configured to not write apport reports
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/libahven3-dev_2.1-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/ada/adalib/ahven/ahven-astrings.ali
  /usr/lib/ada/adalib/ahven/ahven-framework.ali
  /usr/lib/ada/adalib/ahven/ahven-listeners-basic.ali
  /usr/lib/ada/adalib/ahven/ahven-listeners.ali
  /usr/lib/ada/adalib/ahven/ahven-parameters.ali
  /usr/lib/ada/adalib/ahven/ahven-results.ali
  /usr/lib/ada/adalib/ahven/ahven-runner.ali
  /usr/lib/ada/adalib/ahven/ahven-slist.ali
  /usr/lib/ada/adalib/ahven/ahven-tap_runner.ali
  /usr/lib/ada/adalib/ahven/ahven-temporary_output.ali
  /usr/lib/ada/adalib/ahven/ahven-text_runner.ali
  /usr/lib/ada/adalib/ahven/ahven-xml_runner.ali
  /usr/lib/ada/adalib/ahven/ahven.ali
  /usr/lib/ada/adalib/ahven/ahven_compat.ali
  /usr/lib/libahven.a
  /usr/lib/libahven.so
  /usr/share/ada/adainclude/ahven.gpr
  /usr/share/ada/adainclude/ahven/ahven-astrings.ads
  /usr/share/ada/adainclude/ahven/ahven-framework.adb
  /usr/share/ada/adainclude/ahven/ahven-framework.ads
  /usr/share/ada/adainclude/ahven/ahven-listeners-basic.adb
  /usr/share/ada/adainclude/ahven/ahven-listeners-basic.ads
  /usr/share/ada/adainclude/ahven/ahven-listeners.ads
  /usr/share/ada/adainclude/ahven/ahven-parameters.adb
  /usr/share/ada/adainclude/ahven/ahven-parameters.ads
  /usr/share/ada/adainclude/ahven/ahven-results.adb
  /usr/share/ada/adainclude/ahven/ahven-results.ads
  /usr/share/ada/adainclude/ahven/ahven-runner.adb
  /usr/share/ada/adainclude/ahven/ahven-runner.ads
  /usr/share/ada/adainclude/ahven/ahven-slist.adb
  /usr/share/ada/adainclude/ahven/ahven-slist.ads
  /usr/share/ada/adainclude/ahven/ahven-tap_runner.adb
  /usr/share/ada/adainclude/ahven/ahven-tap_runner.ads
  /usr/share/ada/adainclude/ahven/ahven-temporary_output.adb
  /usr/share/ada/adainclude/ahven/ahven-temporary_output.ads
  /usr/share/ada/adainclude/ahven/ahven-text_runner.adb
  /usr/share/ada/adainclude/ahven/ahven-text_runner.ads
  /usr/share/ada/adainclude/ahven/ahven-xml_runner.adb
  /usr/share/ada/adainclude/ahven/ahven-xml_runner.ads
  /usr/share/ada/adainclude/ahven/ahven.adb
  /usr/share/ada/adainclude/ahven/ahven.ads
  /usr/share/ada/adainclude/ahven/ahven_compat.adb
  /usr/share/ada/adainclude/ahven/ahven_compat.ads

-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

Reply via email to