Package: ruby-fog,ruby-fog-xenserver Version: ruby-fog/1.34.0-2 Version: ruby-fog-xenserver/0.2.3-1 Severity: serious User: trei...@debian.org Usertags: edos-file-overwrite
Date: 2016-01-26 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: 55% Extracting templates from packages: 100% Preconfiguring packages ... Selecting previously unselected package libyaml-0-2:amd64. (Reading database ... 10941 files and directories currently installed.) Preparing to unpack .../libyaml-0-2_0.1.6-3_amd64.deb ... Unpacking libyaml-0-2:amd64 (0.1.6-3) ... Selecting previously unselected package gcc-5-base:amd64. Preparing to unpack .../gcc-5-base_5.3.1-7_amd64.deb ... Unpacking gcc-5-base:amd64 (5.3.1-7) ... Setting up gcc-5-base:amd64 (5.3.1-7) ... (Reading database ... 10955 files and directories currently installed.) Preparing to unpack .../libstdc++6_5.3.1-7_amd64.deb ... Unpacking libstdc++6:amd64 (5.3.1-7) over (4.8.2-19) ... Processing triggers for libc-bin (2.21-7) ... Setting up libstdc++6:amd64 (5.3.1-7) ... Processing triggers for libc-bin (2.21-7) ... Selecting previously unselected package libssl1.0.2:amd64. (Reading database ... 10969 files and directories currently installed.) Preparing to unpack .../libssl1.0.2_1.0.2e-1_amd64.deb ... Unpacking libssl1.0.2:amd64 (1.0.2e-1) ... Selecting previously unselected package libgcrypt20:amd64. Preparing to unpack .../libgcrypt20_1.6.4-5_amd64.deb ... Unpacking libgcrypt20:amd64 (1.6.4-5) ... Selecting previously unselected package libicu55:amd64. Preparing to unpack .../libicu55_55.1-7_amd64.deb ... Unpacking libicu55:amd64 (55.1-7) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../libxml2_2.9.3+dfsg1-1_amd64.deb ... Unpacking libxml2:amd64 (2.9.3+dfsg1-1) ... Selecting previously unselected package openssl. Preparing to unpack .../openssl_1.0.2e-1_amd64.deb ... Unpacking openssl (1.0.2e-1) ... Selecting previously unselected package ca-certificates. Preparing to unpack .../ca-certificates_20160104_all.deb ... Unpacking ca-certificates (20160104) ... Selecting previously unselected package libffi6:amd64. Preparing to unpack .../libffi6_3.2.1-4_amd64.deb ... Unpacking libffi6:amd64 (3.2.1-4) ... Selecting previously unselected package libgmp10:amd64. Preparing to unpack .../libgmp10_2%3a6.1.0+dfsg-2_amd64.deb ... Unpacking libgmp10:amd64 (2:6.1.0+dfsg-2) ... Selecting previously unselected package libxslt1.1:amd64. Preparing to unpack .../libxslt1.1_1.1.28-2.1_amd64.deb ... Unpacking libxslt1.1:amd64 (1.1.28-2.1) ... Selecting previously unselected package rubygems-integration. Preparing to unpack .../rubygems-integration_1.10_all.deb ... Unpacking rubygems-integration (1.10) ... Selecting previously unselected package ruby-power-assert. Preparing to unpack .../ruby-power-assert_0.2.6-1_all.deb ... Unpacking ruby-power-assert (0.2.6-1) ... Selecting previously unselected package ruby-test-unit. Preparing to unpack .../ruby-test-unit_3.1.7-1_all.deb ... Unpacking ruby-test-unit (3.1.7-1) ... Selecting previously unselected package ruby-minitest. Preparing to unpack .../ruby-minitest_5.8.4-1_all.deb ... Unpacking ruby-minitest (5.8.4-1) ... Selecting previously unselected package libruby2.2:amd64. Preparing to unpack .../libruby2.2_2.2.4-1_amd64.deb ... Unpacking libruby2.2:amd64 (2.2.4-1) ... Selecting previously unselected package ruby2.2. Preparing to unpack .../ruby2.2_2.2.4-1_amd64.deb ... Unpacking ruby2.2 (2.2.4-1) ... Selecting previously unselected package ruby. Preparing to unpack .../ruby_1%3a2.2.4_all.deb ... Unpacking ruby (1:2.2.4) ... Selecting previously unselected package ruby-blankslate. Preparing to unpack .../ruby-blankslate_3.1.3-1_all.deb ... Unpacking ruby-blankslate (3.1.3-1) ... Selecting previously unselected package ruby-builder. Preparing to unpack .../ruby-builder_3.2.2-4_all.deb ... Unpacking ruby-builder (3.2.2-4) ... Selecting previously unselected package ruby-cfpropertylist. Preparing to unpack .../ruby-cfpropertylist_2.2.8-1_all.deb ... Unpacking ruby-cfpropertylist (2.2.8-1) ... Selecting previously unselected package ruby-excon. Preparing to unpack .../ruby-excon_0.45.1-2_all.deb ... Unpacking ruby-excon (0.45.1-2) ... Selecting previously unselected package ruby-fission. Preparing to unpack .../ruby-fission_0.5.0-2_all.deb ... Unpacking ruby-fission (0.5.0-2) ... Selecting previously unselected package ruby-formatador. Preparing to unpack .../ruby-formatador_0.2.1-2_all.deb ... Unpacking ruby-formatador (0.2.1-2) ... Selecting previously unselected package ruby-mime-types. Preparing to unpack .../ruby-mime-types_2.6.1-1_all.deb ... Unpacking ruby-mime-types (2.6.1-1) ... Selecting previously unselected package ruby-net-ssh. Preparing to unpack .../ruby-net-ssh_1%3a2.9.2-2_all.deb ... Unpacking ruby-net-ssh (1:2.9.2-2) ... Selecting previously unselected package ruby-net-scp. Preparing to unpack .../ruby-net-scp_1.2.1-2_all.deb ... Unpacking ruby-net-scp (1.2.1-2) ... Selecting previously unselected package ruby-fog-core. Preparing to unpack .../ruby-fog-core_1.32.1-1_all.deb ... Unpacking ruby-fog-core (1.32.1-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-fog-json. Preparing to unpack .../ruby-fog-json_1.0.0-1_all.deb ... Unpacking ruby-fog-json (1.0.0-1) ... Selecting previously unselected package ruby-nokogiri. Preparing to unpack .../ruby-nokogiri_1.6.7.1-1_amd64.deb ... Unpacking ruby-nokogiri (1.6.7.1-1) ... Selecting previously unselected package ruby-fog-xml. Preparing to unpack .../ruby-fog-xml_0.1.1-5_all.deb ... Unpacking ruby-fog-xml (0.1.1-5) ... Selecting previously unselected package ruby-fog-atmos. Preparing to unpack .../ruby-fog-atmos_0.1.0-2_all.deb ... Unpacking ruby-fog-atmos (0.1.0-2) ... Selecting previously unselected package ruby-ipaddress. Preparing to unpack .../ruby-ipaddress_0.8.0-3_all.deb ... Unpacking ruby-ipaddress (0.8.0-3) ... Selecting previously unselected package ruby-fog-aws. Preparing to unpack .../ruby-fog-aws_0.7.6-1_all.deb ... Unpacking ruby-fog-aws (0.7.6-1) ... Selecting previously unselected package ruby-fog-brightbox. Preparing to unpack .../ruby-fog-brightbox_0.7.1-2_all.deb ... Unpacking ruby-fog-brightbox (0.7.1-2) ... Selecting previously unselected package ruby-fog-ecloud. Preparing to unpack .../ruby-fog-ecloud_0.1.1-1_all.deb ... Unpacking ruby-fog-ecloud (0.1.1-1) ... Selecting previously unselected package ruby-fog-google. Preparing to unpack .../ruby-fog-google_0.0.7-1_all.deb ... Unpacking ruby-fog-google (0.0.7-1) ... Selecting previously unselected package ruby-fog-local. Preparing to unpack .../ruby-fog-local_0.2.1-2_all.deb ... Unpacking ruby-fog-local (0.2.1-2) ... Selecting previously unselected package ruby-fog-powerdns. Preparing to unpack .../ruby-fog-powerdns_0.1.1+debian-1_all.deb ... Unpacking ruby-fog-powerdns (0.1.1+debian-1) ... Selecting previously unselected package ruby-fog-profitbricks. Preparing to unpack .../ruby-fog-profitbricks_0.0.1-2_all.deb ... Unpacking ruby-fog-profitbricks (0.0.1-2) ... Selecting previously unselected package ruby-fog-radosgw. Preparing to unpack .../ruby-fog-radosgw_0.0.4-2_all.deb ... Unpacking ruby-fog-radosgw (0.0.4-2) ... Selecting previously unselected package ruby-fog-riakcs. Preparing to unpack .../ruby-fog-riakcs_0.1.0-2_all.deb ... Unpacking ruby-fog-riakcs (0.1.0-2) ... Selecting previously unselected package ruby-fog-sakuracloud. Preparing to unpack .../ruby-fog-sakuracloud_0.1.1-3_all.deb ... Unpacking ruby-fog-sakuracloud (0.1.1-3) ... Selecting previously unselected package ruby-fog-serverlove. Preparing to unpack .../ruby-fog-serverlove_0.1.1-2_all.deb ... Unpacking ruby-fog-serverlove (0.1.1-2) ... Selecting previously unselected package ruby-fog-softlayer. Preparing to unpack .../ruby-fog-softlayer_0.3.17-1_all.deb ... Unpacking ruby-fog-softlayer (0.3.17-1) ... Selecting previously unselected package ruby-fog-voxel. Preparing to unpack .../ruby-fog-voxel_0.0.2-2_all.deb ... Unpacking ruby-fog-voxel (0.0.2-2) ... Selecting previously unselected package ruby-fog-vmfusion. Preparing to unpack .../ruby-fog-vmfusion_0.1.0-2_all.deb ... Unpacking ruby-fog-vmfusion (0.1.0-2) ... Selecting previously unselected package ruby-fog-terremark. Preparing to unpack .../ruby-fog-terremark_0.0.3-2_all.deb ... Unpacking ruby-fog-terremark (0.0.3-2) ... Selecting previously unselected package ruby-fog-storm-on-demand. Preparing to unpack .../ruby-fog-storm-on-demand_0.1.1-2_all.deb ... Unpacking ruby-fog-storm-on-demand (0.1.1-2) ... Selecting previously unselected package ruby-inflecto. Preparing to unpack .../ruby-inflecto_0.0.2-1_all.deb ... Unpacking ruby-inflecto (0.0.2-1) ... Selecting previously unselected package ruby-fog. Preparing to unpack .../ruby-fog_1.34.0-2_all.deb ... Unpacking ruby-fog (1.34.0-2) ... Selecting previously unselected package ruby-fog-xenserver. Preparing to unpack .../ruby-fog-xenserver_0.2.3-1_all.deb ... Unpacking ruby-fog-xenserver (0.2.3-1) ... dpkg: error processing archive /var/cache/apt/archives/ruby-fog-xenserver_0.2.3-1_all.deb (--unpack): trying to overwrite '/usr/lib/ruby/vendor_ruby/fog/xenserver/compute.rb', which is also in package ruby-fog 1.34.0-2 Processing triggers for libc-bin (2.21-7) ... Processing triggers for man-db (2.7.5-1) ... Errors were encountered while processing: /var/cache/apt/archives/ruby-fog-xenserver_0.2.3-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/fog/bin/xenserver.rb /usr/lib/ruby/vendor_ruby/fog/xenserver.rb /usr/lib/ruby/vendor_ruby/fog/xenserver/compute.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.