Package: ruby-mustermann-grape,ruby-mustermann19 Version: ruby-mustermann-grape/1.0.0-1 Version: ruby-mustermann19/0.4.3+git20160621-1 Severity: serious User: trei...@debian.org Usertags: edos-file-overwrite
Date: 2017-07-19 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 libreadline7:amd64. (Reading database ... 11004 files and directories currently installed.) Preparing to unpack .../libreadline7_7.0-3_amd64.deb ... Unpacking libreadline7:amd64 (7.0-3) ... Selecting previously unselected package libssl1.0.2:amd64. Preparing to unpack .../libssl1.0.2_1.0.2l-2_amd64.deb ... Unpacking libssl1.0.2:amd64 (1.0.2l-2) ... Selecting previously unselected package libssl1.1:amd64. Preparing to unpack .../libssl1.1_1.1.0f-3_amd64.deb ... Unpacking libssl1.1:amd64 (1.1.0f-3) ... Selecting previously unselected package openssl. Preparing to unpack .../openssl_1.1.0f-3_amd64.deb ... Unpacking openssl (1.1.0f-3) ... Selecting previously unselected package ca-certificates. Preparing to unpack .../ca-certificates_20161130+nmu1_all.deb ... Unpacking ca-certificates (20161130+nmu1) ... 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 libgmp10:amd64. Preparing to unpack .../libgmp10_2%3a6.1.2+dfsg-1_amd64.deb ... Unpacking libgmp10:amd64 (2:6.1.2+dfsg-1) ... Selecting previously unselected package rubygems-integration. Preparing to unpack .../rubygems-integration_1.11_all.deb ... Unpacking rubygems-integration (1.11) ... Selecting previously unselected package ruby2.3. Preparing to unpack .../ruby2.3_2.3.3-1_amd64.deb ... Unpacking ruby2.3 (2.3.3-1) ... Selecting previously unselected package ruby. Preparing to unpack .../ruby_1%3a2.3.3_amd64.deb ... Unpacking ruby (1:2.3.3) ... Selecting previously unselected package rake. Preparing to unpack .../archives/rake_12.0.0-1_all.deb ... Unpacking rake (12.0.0-1) ... Selecting previously unselected package ruby-did-you-mean. Preparing to unpack .../ruby-did-you-mean_1.0.0-2_all.deb ... Unpacking ruby-did-you-mean (1.0.0-2) ... Selecting previously unselected package ruby-minitest. Preparing to unpack .../ruby-minitest_5.10.2-1_all.deb ... Unpacking ruby-minitest (5.10.2-1) ... Selecting previously unselected package ruby-net-telnet. Preparing to unpack .../ruby-net-telnet_0.1.1-2_all.deb ... Unpacking ruby-net-telnet (0.1.1-2) ... Selecting previously unselected package ruby-power-assert. Preparing to unpack .../ruby-power-assert_0.3.0-1_all.deb ... Unpacking ruby-power-assert (0.3.0-1) ... Selecting previously unselected package ruby-test-unit. Preparing to unpack .../ruby-test-unit_3.2.5-1_all.deb ... Unpacking ruby-test-unit (3.2.5-1) ... Selecting previously unselected package libyaml-0-2:amd64. Preparing to unpack .../libyaml-0-2_0.1.7-2_amd64.deb ... Unpacking libyaml-0-2:amd64 (0.1.7-2) ... Selecting previously unselected package libruby2.3:amd64. Preparing to unpack .../libruby2.3_2.3.3-1_amd64.deb ... Unpacking libruby2.3:amd64 (2.3.3-1) ... Selecting previously unselected package ruby-mustermann. Preparing to unpack .../ruby-mustermann_1.0.0-2_all.deb ... Unpacking ruby-mustermann (1.0.0-2) ... Selecting previously unselected package ruby-mustermann-grape. Preparing to unpack .../ruby-mustermann-grape_1.0.0-1_all.deb ... Unpacking ruby-mustermann-grape (1.0.0-1) ... Selecting previously unselected package ruby-mustermann19. Preparing to unpack .../ruby-mustermann19_0.4.3+git20160621-1_all.deb ... Unpacking ruby-mustermann19 (0.4.3+git20160621-1) ... dpkg: error processing archive /var/cache/apt/archives/ruby-mustermann19_0.4.3+git20160621-1_all.deb (--unpack): trying to overwrite '/usr/lib/ruby/vendor_ruby/mustermann/ast/boundaries.rb', which is also in package ruby-mustermann 1.0.0-2 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/ruby-mustermann19_0.4.3+git20160621-1_all.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/ruby/vendor_ruby/mustermann/grape.rb 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.