Package: mingw-w64-tools,alliance Version: mingw-w64-tools/5.0.2-1 Version: alliance/5.1.1-1.1+b1 Severity: serious User: [email protected] Usertags: edos-file-overwrite
Date: 2017-06-22 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: Extracting templates from packages: 90% Extracting templates from packages: 100% Preconfiguring packages ... Selecting previously unselected package x11-common. (Reading database ... 11004 files and directories currently installed.) Preparing to unpack .../x11-common_1%3a7.7+19_all.deb ... Unpacking x11-common (1:7.7+19) ... Processing triggers for man-db (2.7.6.1-2) ... Setting up x11-common (1:7.7+19) ... update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults invoke-rc.d: policy-rc.d denied execution of start. Selecting previously unselected package libmotif-common. (Reading database ... 11035 files and directories currently installed.) Preparing to unpack .../libmotif-common_2.3.4-13_all.deb ... Unpacking libmotif-common (2.3.4-13) ... 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 libexpat1:amd64. Preparing to unpack .../libexpat1_2.2.1-1_amd64.deb ... Unpacking libexpat1:amd64 (2.2.1-1) ... Selecting previously unselected package libpng16-16:amd64. Preparing to unpack .../libpng16-16_1.6.29-3_amd64.deb ... Unpacking libpng16-16:amd64 (1.6.29-3) ... Selecting previously unselected package libfreetype6:amd64. Preparing to unpack .../libfreetype6_2.6.3-3.2_amd64.deb ... Unpacking libfreetype6:amd64 (2.6.3-3.2) ... Selecting previously unselected package ucf. Preparing to unpack .../archives/ucf_3.0036_all.deb ... Moving old data out of the way Unpacking ucf (3.0036) ... Selecting previously unselected package fonts-dejavu-core. Preparing to unpack .../fonts-dejavu-core_2.37-1_all.deb ... Unpacking fonts-dejavu-core (2.37-1) ... Selecting previously unselected package fontconfig-config. Preparing to unpack .../fontconfig-config_2.11.0-6.7_all.deb ... Unpacking fontconfig-config (2.11.0-6.7) ... Selecting previously unselected package libfontconfig1:amd64. Preparing to unpack .../libfontconfig1_2.11.0-6.7+b1_amd64.deb ... Unpacking libfontconfig1:amd64 (2.11.0-6.7+b1) ... Selecting previously unselected package libjpeg62-turbo:amd64. Preparing to unpack .../libjpeg62-turbo_1%3a1.5.1-2_amd64.deb ... Unpacking libjpeg62-turbo:amd64 (1:1.5.1-2) ... Selecting previously unselected package libbsd0:amd64. Preparing to unpack .../libbsd0_0.8.4-1_amd64.deb ... Unpacking libbsd0:amd64 (0.8.4-1) ... Selecting previously unselected package libxdmcp6:amd64. Preparing to unpack .../libxdmcp6_1%3a1.1.2-3_amd64.deb ... Unpacking libxdmcp6:amd64 (1:1.1.2-3) ... 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.4-3_all.deb ... Unpacking libx11-data (2:1.6.4-3) ... Selecting previously unselected package libx11-6:amd64. Preparing to unpack .../libx11-6_2%3a1.6.4-3_amd64.deb ... Unpacking libx11-6:amd64 (2:1.6.4-3) ... Selecting previously unselected package libxext6:amd64. Preparing to unpack .../libxext6_2%3a1.3.3-1+b2_amd64.deb ... Unpacking libxext6:amd64 (2:1.3.3-1+b2) ... Selecting previously unselected package libxrender1:amd64. Preparing to unpack .../libxrender1_1%3a0.9.10-1_amd64.deb ... Unpacking libxrender1:amd64 (1:0.9.10-1) ... Selecting previously unselected package libxft2:amd64. Preparing to unpack .../libxft2_2.3.2-1+b2_amd64.deb ... Unpacking libxft2:amd64 (2.3.2-1+b2) ... Selecting previously unselected package libice6:amd64. Preparing to unpack .../libice6_2%3a1.0.9-2_amd64.deb ... Unpacking libice6:amd64 (2:1.0.9-2) ... Selecting previously unselected package libsm6:amd64. Preparing to unpack .../libsm6_2%3a1.2.2-1+b3_amd64.deb ... Unpacking libsm6:amd64 (2:1.2.2-1+b3) ... Selecting previously unselected package libxt6:amd64. Preparing to unpack .../libxt6_1%3a1.1.5-1_amd64.deb ... Unpacking libxt6:amd64 (1:1.1.5-1) ... Selecting previously unselected package libxmu6:amd64. Preparing to unpack .../libxmu6_2%3a1.1.2-2_amd64.deb ... Unpacking libxmu6:amd64 (2:1.1.2-2) ... Selecting previously unselected package libxm4:amd64. Preparing to unpack .../libxm4_2.3.4-13_amd64.deb ... Unpacking libxm4:amd64 (2.3.4-13) ... Selecting previously unselected package gcc-7-base:amd64. Preparing to unpack .../gcc-7-base_7.1.0-7_amd64.deb ... Unpacking gcc-7-base:amd64 (7.1.0-7) ... Processing triggers for libc-bin (2.24-12) ... Processing triggers for man-db (2.7.6.1-2) ... Setting up gcc-7-base:amd64 (7.1.0-7) ... (Reading database ... 11606 files and directories currently installed.) Preparing to unpack .../libstdc++6_7.1.0-7_amd64.deb ... Unpacking libstdc++6:amd64 (7.1.0-7) over (4.8.2-19) ... Processing triggers for libc-bin (2.24-12) ... Setting up libstdc++6:amd64 (7.1.0-7) ... Processing triggers for libc-bin (2.24-12) ... Selecting previously unselected package libxpm4:amd64. (Reading database ... 11620 files and directories currently installed.) Preparing to unpack .../libxpm4_1%3a3.5.12-1_amd64.deb ... Unpacking libxpm4:amd64 (1:3.5.12-1) ... Selecting previously unselected package alliance. Preparing to unpack .../alliance_5.1.1-1.1+b1_amd64.deb ... Unpacking alliance (5.1.1-1.1+b1) ... Selecting previously unselected package libdpkg-perl. Preparing to unpack .../libdpkg-perl_1.18.24_all.deb ... Unpacking libdpkg-perl (1.18.24) ... Selecting previously unselected package libffi6:amd64. Preparing to unpack .../libffi6_3.2.1-6_amd64.deb ... Unpacking libffi6:amd64 (3.2.1-6) ... Selecting previously unselected package libglib2.0-0:amd64. Preparing to unpack .../libglib2.0-0_2.50.3-2_amd64.deb ... Unpacking libglib2.0-0:amd64 (2.50.3-2) ... Selecting previously unselected package pkg-config. Preparing to unpack .../pkg-config_0.29-4+b1_amd64.deb ... Unpacking pkg-config (0.29-4+b1) ... Selecting previously unselected package mingw-w64-tools. Preparing to unpack .../mingw-w64-tools_5.0.2-1_amd64.deb ... Unpacking mingw-w64-tools (5.0.2-1) ... dpkg: error processing archive /var/cache/apt/archives/mingw-w64-tools_5.0.2-1_amd64.deb (--unpack): trying to overwrite '/usr/bin/genlib', which is also in package alliance 5.1.1-1.1+b1 dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) Processing triggers for libc-bin (2.24-12) ... Processing triggers for man-db (2.7.6.1-2) ... Errors were encountered while processing: /var/cache/apt/archives/mingw-w64-tools_5.0.2-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/bin/genlib 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.

