[Debian-ha-maintainers] Bug#639270: libpe-status3-dev and libpe-status2-dev: error when trying to install together

Ralf Treinen rt at murdock.inria.fr
Thu Aug 25 13:25:05 UTC 2011


Package: libpe-status2-dev,libpe-status3-dev
Version: libpe-status2-dev/1.0.11-1.2
Version: libpe-status3-dev/1.1.5-1
Severity: serious
User: treinen at debian.org
Usertags: edos-file-overwrite

Date: 2011-08-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!
  libpcre3 libxml2 libglib2.0-0 libltdl7 libpils2 libplumb2 liblrm2 libxslt1.1
  libpe-status2 libpe-status2-dev libpe-status3 libpe-status3-dev
Authentication warning overridden.
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously deselected package libpcre3.
(Reading database ... 10663 files and directories currently installed.)
Unpacking libpcre3 (from .../libpcre3_8.12-4_amd64.deb) ...
Selecting previously deselected package libxml2.
Unpacking libxml2 (from .../libxml2_2.7.8.dfsg-4_amd64.deb) ...
Selecting previously deselected package libglib2.0-0.
Unpacking libglib2.0-0 (from .../libglib2.0-0_2.28.6-1_amd64.deb) ...
Selecting previously deselected package libltdl7.
Unpacking libltdl7 (from .../libltdl7_2.4-4_amd64.deb) ...
Selecting previously deselected package libpils2.
Unpacking libpils2 (from .../libpils2_1.0.7+hg2618-1_amd64.deb) ...
Selecting previously deselected package libplumb2.
Unpacking libplumb2 (from .../libplumb2_1.0.7+hg2618-1_amd64.deb) ...
Selecting previously deselected package liblrm2.
Unpacking liblrm2 (from .../liblrm2_1.0.7+hg2618-1_amd64.deb) ...
Selecting previously deselected package libxslt1.1.
Unpacking libxslt1.1 (from .../libxslt1.1_1.1.26-8_amd64.deb) ...
Selecting previously deselected package libpe-status2.
Unpacking libpe-status2 (from .../libpe-status2_1.0.11-1.2_amd64.deb) ...
Selecting previously deselected package libpe-status2-dev.
Unpacking libpe-status2-dev (from .../libpe-status2-dev_1.0.11-1.2_amd64.deb) ...
Selecting previously deselected package libpe-status3.
Unpacking libpe-status3 (from .../libpe-status3_1.1.5-1_amd64.deb) ...
Selecting previously deselected package libpe-status3-dev.
Unpacking libpe-status3-dev (from .../libpe-status3-dev_1.1.5-1_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/libpe-status3-dev_1.1.5-1_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/libpe_status.a', which is also in package libpe-status2-dev 1.0.11-1.2
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/libpe-status3-dev_1.1.5-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/libpe_status.a
  /usr/lib/libpe_status.la
  /usr/lib/libpe_status.so

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. You may
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/.





More information about the Debian-ha-maintainers mailing list