Package: libbeidlib3-dev,libbeidlibopensc2-dev
Version: libbeidlib3-dev/3.5.2.dfsg-7
Version: libbeidlibopensc2-dev/3.5.2.dfsg-7
Severity: serious
User: trei...@debian.org
Usertags: edos-file-overwrite

Date: 2010-03-24
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!
  x11-common libpcre3 ucf libfreetype6 ttf-dejavu-core fontconfig-config
  libfontconfig1 fontconfig libxau6 libice6 libsm6 libxdmcp6 libxcb1
  libx11-data libx11-6 libxt6 libaudio2 libglib2.0-0 libicu42 libjpeg62
  liblcms1 libmng1 libpcsclite1 libpng12-0 libxfixes3 libxrender1 libxcursor1
  libxext6 libxft2 libxi6 libxinerama1 libxrandr2 libqt3-mt libqtcore4
  libtiff4 libqtgui4 libxerces-c28 libbeidlib3 beid-common libbeidlib3-dev
  libbeidlibopensc2 libbeidlibopensc2-dev

Extracting templates from packages: 71%
Extracting templates from packages: 100%
Preconfiguring packages ...
Authentication warning overridden.
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously deselected package x11-common.
(Reading database ... 12151 files and directories currently installed.)
Unpacking x11-common (from .../x11-common_1%3a7.5+5_all.deb) ...
Selecting previously deselected package libpcre3.
Unpacking libpcre3 (from .../libpcre3_7.8-3_amd64.deb) ...
Selecting previously deselected package ucf.
Unpacking ucf (from .../archives/ucf_3.0025_all.deb) ...
Moving old data out of the way
Selecting previously deselected package libfreetype6.
Unpacking libfreetype6 (from .../libfreetype6_2.3.11-1_amd64.deb) ...
Selecting previously deselected package ttf-dejavu-core.
Unpacking ttf-dejavu-core (from .../ttf-dejavu-core_2.30-2_all.deb) ...
Selecting previously deselected package fontconfig-config.
Unpacking fontconfig-config (from .../fontconfig-config_2.8.0-2_all.deb) ...
Selecting previously deselected package libfontconfig1.
Unpacking libfontconfig1 (from .../libfontconfig1_2.8.0-2_amd64.deb) ...
Selecting previously deselected package fontconfig.
Unpacking fontconfig (from .../fontconfig_2.8.0-2_amd64.deb) ...
Selecting previously deselected package libxau6.
Unpacking libxau6 (from .../libxau6_1%3a1.0.5-2_amd64.deb) ...
Selecting previously deselected package libice6.
Unpacking libice6 (from .../libice6_2%3a1.0.6-1_amd64.deb) ...
Selecting previously deselected package libsm6.
Unpacking libsm6 (from .../libsm6_2%3a1.1.1-1_amd64.deb) ...
Selecting previously deselected package libxdmcp6.
Unpacking libxdmcp6 (from .../libxdmcp6_1%3a1.0.3-2_amd64.deb) ...
Selecting previously deselected package libxcb1.
Unpacking libxcb1 (from .../libxcb1_1.5-3_amd64.deb) ...
Selecting previously deselected package libx11-data.
Unpacking libx11-data (from .../libx11-data_2%3a1.3.3-2_all.deb) ...
Selecting previously deselected package libx11-6.
Unpacking libx11-6 (from .../libx11-6_2%3a1.3.3-2_amd64.deb) ...
Selecting previously deselected package libxt6.
Unpacking libxt6 (from .../libxt6_1%3a1.0.7-1_amd64.deb) ...
Selecting previously deselected package libaudio2.
Unpacking libaudio2 (from .../libaudio2_1.9.2-3_amd64.deb) ...
Selecting previously deselected package libglib2.0-0.
Unpacking libglib2.0-0 (from .../libglib2.0-0_2.22.4-1_amd64.deb) ...
Selecting previously deselected package libicu42.
Unpacking libicu42 (from .../libicu42_4.2.1-3_amd64.deb) ...
Selecting previously deselected package libjpeg62.
Unpacking libjpeg62 (from .../libjpeg62_6b-16.1_amd64.deb) ...
Selecting previously deselected package liblcms1.
Unpacking liblcms1 (from .../liblcms1_1.18.dfsg-1.2+b1_amd64.deb) ...
Selecting previously deselected package libmng1.
Unpacking libmng1 (from .../libmng1_1.0.9-1_amd64.deb) ...
Selecting previously deselected package libpcsclite1.
Unpacking libpcsclite1 (from .../libpcsclite1_1.5.5-3_amd64.deb) ...
Selecting previously deselected package libpng12-0.
Unpacking libpng12-0 (from .../libpng12-0_1.2.43-1_amd64.deb) ...
Selecting previously deselected package libxfixes3.
Unpacking libxfixes3 (from .../libxfixes3_1%3a4.0.4-2_amd64.deb) ...
Selecting previously deselected package libxrender1.
Unpacking libxrender1 (from .../libxrender1_1%3a0.9.5-2_amd64.deb) ...
Selecting previously deselected package libxcursor1.
Unpacking libxcursor1 (from .../libxcursor1_1%3a1.1.10-2_amd64.deb) ...
Selecting previously deselected package libxext6.
Unpacking libxext6 (from .../libxext6_2%3a1.1.1-3_amd64.deb) ...
Selecting previously deselected package libxft2.
Unpacking libxft2 (from .../libxft2_2.1.14-2_amd64.deb) ...
Selecting previously deselected package libxi6.
Unpacking libxi6 (from .../libxi6_2%3a1.3-4_amd64.deb) ...
Selecting previously deselected package libxinerama1.
Unpacking libxinerama1 (from .../libxinerama1_2%3a1.1-3_amd64.deb) ...
Selecting previously deselected package libxrandr2.
Unpacking libxrandr2 (from .../libxrandr2_2%3a1.3.0-3_amd64.deb) ...
Selecting previously deselected package libqt3-mt.
Unpacking libqt3-mt (from .../libqt3-mt_3%3a3.3.8b-6_amd64.deb) ...
Selecting previously deselected package libqtcore4.
Unpacking libqtcore4 (from .../libqtcore4_4%3a4.5.3-4_amd64.deb) ...
Selecting previously deselected package libtiff4.
Unpacking libtiff4 (from .../libtiff4_3.9.2-3+b1_amd64.deb) ...
Selecting previously deselected package libqtgui4.
Unpacking libqtgui4 (from .../libqtgui4_4%3a4.5.3-4_amd64.deb) ...
Selecting previously deselected package libxerces-c28.
Unpacking libxerces-c28 (from .../libxerces-c28_2.8.0+deb1-2_amd64.deb) ...
Selecting previously deselected package libbeidlib3.
Unpacking libbeidlib3 (from .../libbeidlib3_3.5.2.dfsg-7_amd64.deb) ...
Selecting previously deselected package beid-common.
Unpacking beid-common (from .../beid-common_3.5.2.dfsg-7_amd64.deb) ...
Selecting previously deselected package libbeidlib3-dev.
Unpacking libbeidlib3-dev (from .../libbeidlib3-dev_3.5.2.dfsg-7_amd64.deb) ...
Selecting previously deselected package libbeidlibopensc2.
Unpacking libbeidlibopensc2 (from .../libbeidlibopensc2_3.5.2.dfsg-7_amd64.deb) 
...
Selecting previously deselected package libbeidlibopensc2-dev.
Unpacking libbeidlibopensc2-dev (from 
.../libbeidlibopensc2-dev_3.5.2.dfsg-7_amd64.deb) ...
dpkg: error processing 
/var/cache/apt/archives/libbeidlibopensc2-dev_3.5.2.dfsg-7_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/libbeidcommon.so', which is also in package 
libbeidlib3-dev 0:3.5.2.dfsg-7
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/libbeidlibopensc2-dev_3.5.2.dfsg-7_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/libbeidcommon.so
  /usr/lib/libbeidpkcs11.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.

-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