Package: ruby-pdf-core,ruby-prawn Version: ruby-pdf-core/0.2.5-1 Version: ruby-prawn/1.0.0~rc2+really0.14.0+dfsg-1 Severity: serious User: trei...@debian.org Usertags: edos-file-overwrite
Date: 2014-03-25 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 libffi6:amd64. (Reading database ... 10940 files and directories currently installed.) Preparing to unpack .../libffi6_3.0.13-12_amd64.deb ... Unpacking libffi6:amd64 (3.0.13-12) ... Selecting previously unselected package libyaml-0-2:amd64. Preparing to unpack .../libyaml-0-2_0.1.4-3.1_amd64.deb ... Unpacking libyaml-0-2:amd64 (0.1.4-3.1) ... Selecting previously unselected package ruby. Preparing to unpack .../ruby_1%3a1.9.3.4_all.deb ... Unpacking ruby (1:1.9.3.4) ... Selecting previously unselected package ruby1.9.1. Preparing to unpack .../ruby1.9.1_1.9.3.484-2_amd64.deb ... Unpacking ruby1.9.1 (1.9.3.484-2) ... Selecting previously unselected package libruby1.9.1. Preparing to unpack .../libruby1.9.1_1.9.3.484-2_amd64.deb ... Unpacking libruby1.9.1 (1.9.3.484-2) ... Selecting previously unselected package ruby-afm. Preparing to unpack .../ruby-afm_0.2.0-1_all.deb ... Unpacking ruby-afm (0.2.0-1) ... Selecting previously unselected package ruby-ascii85. Preparing to unpack .../ruby-ascii85_1.0.2-2_all.deb ... Unpacking ruby-ascii85 (1.0.2-2) ... Selecting previously unselected package ruby-hashery. Preparing to unpack .../ruby-hashery_2.1.1-1_all.deb ... Unpacking ruby-hashery (2.1.1-1) ... Selecting previously unselected package ruby-rc4. Preparing to unpack .../ruby-rc4_0.1.5-2_all.deb ... Unpacking ruby-rc4 (0.1.5-2) ... Selecting previously unselected package ruby-ttfunk. Preparing to unpack .../ruby-ttfunk_1.1.0+dfsg-1_all.deb ... Unpacking ruby-ttfunk (1.1.0+dfsg-1) ... Selecting previously unselected package ruby-pdf-reader. Preparing to unpack .../ruby-pdf-reader_1.3.3-1_all.deb ... Unpacking ruby-pdf-reader (1.3.3-1) ... Selecting previously unselected package ruby-pdf-core. Preparing to unpack .../ruby-pdf-core_0.2.5-1_all.deb ... Unpacking ruby-pdf-core (0.2.5-1) ... Selecting previously unselected package ruby-prawn. Preparing to unpack .../ruby-prawn_1.0.0~rc2+really0.14.0+dfsg-1_all.deb ... Unpacking ruby-prawn (1.0.0~rc2+really0.14.0+dfsg-1) ... dpkg: error processing archive /var/cache/apt/archives/ruby-prawn_1.0.0~rc2+really0.14.0+dfsg-1_all.deb (--unpack): trying to overwrite '/usr/lib/ruby/vendor_ruby/pdf/core.rb', which is also in package ruby-pdf-core 0.2.5-1 dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) Processing triggers for man-db (2.6.6-1) ... Errors were encountered while processing: /var/cache/apt/archives/ruby-prawn_1.0.0~rc2+really0.14.0+dfsg-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/pdf/core.rb /usr/lib/ruby/vendor_ruby/pdf/core/annotations.rb /usr/lib/ruby/vendor_ruby/pdf/core/byte_string.rb /usr/lib/ruby/vendor_ruby/pdf/core/destinations.rb /usr/lib/ruby/vendor_ruby/pdf/core/document_state.rb /usr/lib/ruby/vendor_ruby/pdf/core/filter_list.rb /usr/lib/ruby/vendor_ruby/pdf/core/filters.rb /usr/lib/ruby/vendor_ruby/pdf/core/graphics_state.rb /usr/lib/ruby/vendor_ruby/pdf/core/literal_string.rb /usr/lib/ruby/vendor_ruby/pdf/core/name_tree.rb /usr/lib/ruby/vendor_ruby/pdf/core/object_store.rb /usr/lib/ruby/vendor_ruby/pdf/core/page.rb /usr/lib/ruby/vendor_ruby/pdf/core/page_geometry.rb /usr/lib/ruby/vendor_ruby/pdf/core/pdf_object.rb /usr/lib/ruby/vendor_ruby/pdf/core/reference.rb /usr/lib/ruby/vendor_ruby/pdf/core/stream.rb /usr/lib/ruby/vendor_ruby/pdf/core/text.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://edos.debian.net/file-overwrites/. _______________________________________________ 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