Package: open-invaders,open-invaders-data
Version: open-invaders/0.3-4.1
Version: open-invaders-data/0.3-4.1
Severity: serious
User: trei...@debian.org
Usertags: edos-file-overwrite

Date: 2016-09-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:


Selecting previously unselected package libasound2-data.
(Reading database ... 10971 files and directories currently installed.)
Preparing to unpack .../libasound2-data_1.1.2-1_all.deb ...
Unpacking libasound2-data (1.1.2-1) ...
Selecting previously unselected package libasound2:amd64.
Preparing to unpack .../libasound2_1.1.2-1_amd64.deb ...
Unpacking libasound2:amd64 (1.1.2-1) ...
Selecting previously unselected package libxau6:amd64.
Preparing to unpack .../libxau6_1%3a1.0.8-1_amd64.deb ...
Unpacking libxau6:amd64 (1:1.0.8-1) ...
Selecting previously unselected package libxdmcp6:amd64.
Preparing to unpack .../libxdmcp6_1%3a1.1.2-1.1_amd64.deb ...
Unpacking libxdmcp6:amd64 (1:1.1.2-1.1) ...
Selecting previously unselected package libxcb1:amd64.
Preparing to unpack .../libxcb1_1.12-1_amd64.deb ...
Unpacking libxcb1:amd64 (1.12-1) ...
Selecting previously unselected package libx11-data.
Preparing to unpack .../libx11-data_2%3a1.6.3-1_all.deb ...
Unpacking libx11-data (2:1.6.3-1) ...
Selecting previously unselected package libx11-6:amd64.
Preparing to unpack .../libx11-6_2%3a1.6.3-1_amd64.deb ...
Unpacking libx11-6:amd64 (2:1.6.3-1) ...
Selecting previously unselected package libxfixes3:amd64.
Preparing to unpack .../libxfixes3_1%3a5.0.2-1_amd64.deb ...
Unpacking libxfixes3:amd64 (1:5.0.2-1) ...
Selecting previously unselected package libxrender1:amd64.
Preparing to unpack .../libxrender1_1%3a0.9.9-2_amd64.deb ...
Unpacking libxrender1:amd64 (1:0.9.9-2) ...
Selecting previously unselected package libxcursor1:amd64.
Preparing to unpack .../libxcursor1_1%3a1.1.14-1+b1_amd64.deb ...
Unpacking libxcursor1:amd64 (1:1.1.14-1+b1) ...
Selecting previously unselected package libxext6:amd64.
Preparing to unpack .../libxext6_2%3a1.3.3-1_amd64.deb ...
Unpacking libxext6:amd64 (2:1.3.3-1) ...
Selecting previously unselected package libxpm4:amd64.
Preparing to unpack .../libxpm4_1%3a3.5.11-1+b1_amd64.deb ...
Unpacking libxpm4:amd64 (1:3.5.11-1+b1) ...
Selecting previously unselected package libxxf86dga1:amd64.
Preparing to unpack .../libxxf86dga1_2%3a1.1.4-1+b1_amd64.deb ...
Unpacking libxxf86dga1:amd64 (2:1.1.4-1+b1) ...
Selecting previously unselected package libxxf86vm1:amd64.
Preparing to unpack .../libxxf86vm1_1%3a1.1.4-1_amd64.deb ...
Unpacking libxxf86vm1:amd64 (1:1.1.4-1) ...
Selecting previously unselected package liballegro4.4:amd64.
Preparing to unpack .../liballegro4.4_2%3a4.4.2-9_amd64.deb ...
Unpacking liballegro4.4:amd64 (2:4.4.2-9) ...
Selecting previously unselected package libdumb1:amd64.
Preparing to unpack .../libdumb1_1%3a0.9.3-6+b1_amd64.deb ...
Unpacking libdumb1:amd64 (1:0.9.3-6+b1) ...
Selecting previously unselected package libaldmb1:amd64.
Preparing to unpack .../libaldmb1_1%3a0.9.3-6+b1_amd64.deb ...
Unpacking libaldmb1:amd64 (1:0.9.3-6+b1) ...
Selecting previously unselected package gcc-6-base:amd64.
Preparing to unpack .../gcc-6-base_6.2.0-4_amd64.deb ...
Unpacking gcc-6-base:amd64 (6.2.0-4) ...
Processing triggers for libc-bin (2.24-3) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up gcc-6-base:amd64 (6.2.0-4) ...
(Reading database ... 11559 files and directories currently installed.)
Preparing to unpack .../libstdc++6_6.2.0-4_amd64.deb ...
Unpacking libstdc++6:amd64 (6.2.0-4) over (4.8.2-19) ...
Processing triggers for libc-bin (2.24-3) ...
Setting up libstdc++6:amd64 (6.2.0-4) ...
Processing triggers for libc-bin (2.24-3) ...
Selecting previously unselected package open-invaders-data.
(Reading database ... 11573 files and directories currently installed.)
Preparing to unpack .../open-invaders-data_0.3-4.2_all.deb ...
Unpacking open-invaders-data (0.3-4.2) ...
Selecting previously unselected package open-invaders.
Preparing to unpack .../open-invaders_0.3-4.2_amd64.deb ...
Unpacking open-invaders (0.3-4.2) ...
dpkg: error processing archive 
/var/cache/apt/archives/open-invaders_0.3-4.2_amd64.deb (--unpack):
 trying to overwrite '/usr/share/man/man6/open-invaders.6.gz', which is also in 
package open-invaders-data 0.3-4.2
Processing triggers for man-db (2.7.5-1) ...
Errors were encountered while processing:
 /var/cache/apt/archives/open-invaders_0.3-4.2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
E: Error calling setupterm: 0
E: 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/share/man/man6/open-invaders.6.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://qa.debian.org/dose/file-overwrites.html.

Reply via email to