Package: opendnssec-enforcer-mysql,libhsm-bin
Version: opendnssec-enforcer-mysql/1:1.4.5-2
Version: libhsm-bin/1:1.4.5-2
Severity: serious
User: trei...@debian.org
Usertags: edos-file-overwrite

Date: 2014-06-15
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:


Preconfiguring packages ...
Selecting previously unselected package libdb5.3:amd64.
(Reading database ... 10930 files and directories currently installed.)
Preparing to unpack .../libdb5.3_5.3.28-3_amd64.deb ...
Unpacking libdb5.3:amd64 (5.3.28-3) ...
Preparing to unpack .../perl_5.18.2-4_amd64.deb ...
Unpacking perl (5.18.2-4) over (5.18.2-2) ...
Preparing to unpack .../perl-base_5.18.2-4_amd64.deb ...
Unpacking perl-base (5.18.2-4) over (5.18.2-2) ...
Processing triggers for man-db (2.6.7.1-1) ...
Setting up perl-base (5.18.2-4) ...
Selecting previously unselected package libxml2:amd64.
(Reading database ... 10935 files and directories currently installed.)
Preparing to unpack .../libxml2_2.9.1+dfsg1-3_amd64.deb ...
Unpacking libxml2:amd64 (2.9.1+dfsg1-3) ...
Selecting previously unselected package mysql-common.
Preparing to unpack .../mysql-common_5.5.37-1_all.deb ...
Unpacking mysql-common (5.5.37-1) ...
Selecting previously unselected package mariadb-common.
Preparing to unpack .../mariadb-common_5.5.37-1_all.deb ...
Unpacking mariadb-common (5.5.37-1) ...
Selecting previously unselected package libmariadbclient18:amd64.
Preparing to unpack .../libmariadbclient18_5.5.37-1_amd64.deb ...
Unpacking libmariadbclient18:amd64 (5.5.37-1) ...
Selecting previously unselected package libmysqlclient18:amd64.
Preparing to unpack .../libmysqlclient18_5.5.37-1_amd64.deb ...
Unpacking libmysqlclient18:amd64 (5.5.37-1) ...
Selecting previously unselected package libldns1.
Preparing to unpack .../libldns1_1.6.17-3_amd64.deb ...
Unpacking libldns1 (1.6.17-3) ...
Selecting previously unselected package ucf.
Preparing to unpack .../archives/ucf_3.0030_all.deb ...
Moving old data out of the way
Unpacking ucf (3.0030) ...
Selecting previously unselected package opendnssec-common.
Preparing to unpack .../opendnssec-common_1%3a1.4.5-2_all.deb ...
Unpacking opendnssec-common (1:1.4.5-2) ...
Selecting previously unselected package libdbi-perl.
Preparing to unpack .../libdbi-perl_1.631-3_amd64.deb ...
Unpacking libdbi-perl (1.631-3) ...
Selecting previously unselected package mariadb-client-core-5.5.
Preparing to unpack .../mariadb-client-core-5.5_5.5.37-1_amd64.deb ...
Unpacking mariadb-client-core-5.5 (5.5.37-1) ...
Selecting previously unselected package mariadb-client-5.5.
Preparing to unpack .../mariadb-client-5.5_5.5.37-1_amd64.deb ...
Unpacking mariadb-client-5.5 (5.5.37-1) ...
Selecting previously unselected package mariadb-client.
Preparing to unpack .../mariadb-client_5.5.37-1_all.deb ...
Unpacking mariadb-client (5.5.37-1) ...
Selecting previously unselected package libdbd-mysql-perl.
Preparing to unpack .../libdbd-mysql-perl_4.027-1_amd64.deb ...
Unpacking libdbd-mysql-perl (4.027-1) ...
Selecting previously unselected package opendnssec-enforcer-mysql.
Preparing to unpack .../opendnssec-enforcer-mysql_1%3a1.4.5-2_amd64.deb ...
Unpacking opendnssec-enforcer-mysql (1:1.4.5-2) ...
dpkg: error processing archive 
/var/cache/apt/archives/opendnssec-enforcer-mysql_1%3a1.4.5-2_amd64.deb 
(--unpack):
 trying to overwrite '/usr/share/man/man5/ods-timing.5.gz', which is also in 
package opendnssec-common 1:1.4.5-2
Selecting previously unselected package libhsm-bin.
Preparing to unpack .../libhsm-bin_1%3a1.4.5-2_amd64.deb ...
Unpacking libhsm-bin (1:1.4.5-2) ...
Processing triggers for man-db (2.6.7.1-1) ...
Errors were encountered while processing:
 /var/cache/apt/archives/opendnssec-enforcer-mysql_1%3a1.4.5-2_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/share/man/man1/ods-hsmspeed.1.gz
  /usr/share/man/man1/ods-hsmutil.1.gz

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

Reply via email to