Package: ruby-autoparse,ruby-signet Version: ruby-autoparse/0.3.3-1 Version: ruby-signet/0.7.3-2 Severity: serious User: trei...@debian.org 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: 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 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 rubygems-integration. Preparing to unpack .../rubygems-integration_1.11_all.deb ... Unpacking rubygems-integration (1.11) ... 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.9.0-1_all.deb ... Unpacking ruby-minitest (5.9.0-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.1.7-2_all.deb ... Unpacking ruby-test-unit (3.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 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_10.5.0-2_all.deb ... Unpacking rake (10.5.0-2) ... Selecting previously unselected package ruby-addressable. Preparing to unpack .../ruby-addressable_2.4.0-1_all.deb ... Unpacking ruby-addressable (2.4.0-1) ... Selecting previously unselected package ruby-extlib. Preparing to unpack .../ruby-extlib_0.9.16-1_all.deb ... Unpacking ruby-extlib (0.9.16-1) ... Selecting previously unselected package ruby-multi-json. Preparing to unpack .../ruby-multi-json_1.11.2-3_all.deb ... Unpacking ruby-multi-json (1.11.2-3) ... Selecting previously unselected package ruby-autoparse. Preparing to unpack .../ruby-autoparse_0.3.3-1_all.deb ... Unpacking ruby-autoparse (0.3.3-1) ... Selecting previously unselected package ruby-multipart-post. Preparing to unpack .../ruby-multipart-post_1.2.0-2_all.deb ... Unpacking ruby-multipart-post (1.2.0-2) ... Selecting previously unselected package ruby-faraday. Preparing to unpack .../ruby-faraday_0.9.2-3_all.deb ... Unpacking ruby-faraday (0.9.2-3) ... Selecting previously unselected package ruby-jwt. Preparing to unpack .../ruby-jwt_1.5.4-1_all.deb ... Unpacking ruby-jwt (1.5.4-1) ... Selecting previously unselected package ruby-signet. Preparing to unpack .../ruby-signet_0.7.3-2_all.deb ... Unpacking ruby-signet (0.7.3-2) ... dpkg: error processing archive /var/cache/apt/archives/ruby-signet_0.7.3-2_all.deb (--unpack): trying to overwrite '/usr/lib/ruby/vendor_ruby/compat/multi_json.rb', which is also in package ruby-autoparse 0.3.3-1 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-signet_0.7.3-2_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/compat/multi_json.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. _______________________________________________ Pkg-ruby-extras-maintainers mailing list Pkg-ruby-extras-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers