Bug#744010: ruby-fog-core and ruby-fog: error when trying to install together

2014-04-23 Thread Ralf Treinen
Sorry, this isn't completely fixed yet:

Preparing to unpack .../ruby-fog-core_1.21.1+gh-1_all.deb ...
Unpacking ruby-fog-core (1.21.1+gh-1) ...
dpkg: error processing archive 
/var/cache/apt/archives/ruby-fog-core_1.21.1+gh-1_all.deb (--unpack):
 trying to overwrite '/usr/lib/ruby/vendor_ruby/fog/version.rb', which is also 
in package ruby-fog 1.22.0-1

There are still some files left that are shared by both packages:

  /usr/lib/ruby/vendor_ruby/fog/core/deprecated_connection_accessors.rb
  /usr/lib/ruby/vendor_ruby/fog/schema/data_validator.rb
  /usr/lib/ruby/vendor_ruby/fog/version.rb

-Ralf.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#744010: ruby-fog-core and ruby-fog: error when trying to install together

2014-04-09 Thread Ralf Treinen
Package: ruby-fog,ruby-fog-core
Version: ruby-fog/1.19.0-1
Version: ruby-fog-core/1.21.1+gh-1
Severity: serious
User: trei...@debian.org
Usertags: edos-file-overwrite

Date: 2014-04-09
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 libxml2:amd64.
(Reading database ... 10937 files and directories currently installed.)
Preparing to unpack .../libxml2_2.9.1+dfsg1-3_amd64.deb ...
Unpacking libxml2:amd64 (2.9.1+dfsg1-3) ...
Selecting previously unselected package libffi6:amd64.
Preparing to unpack .../libffi6_3.1~rc1+r3.0.13-12_amd64.deb ...
Unpacking libffi6:amd64 (3.1~rc1+r3.0.13-12) ...
Selecting previously unselected package libgmp10:amd64.
Preparing to unpack .../libgmp10_2%3a6.0.0+dfsg-2_amd64.deb ...
Unpacking libgmp10:amd64 (2:6.0.0+dfsg-2) ...
Selecting previously unselected package libxslt1.1:amd64.
Preparing to unpack .../libxslt1.1_1.1.28-2_amd64.deb ...
Unpacking libxslt1.1:amd64 (1.1.28-2) ...
Selecting previously unselected package libyaml-0-2:amd64.
Preparing to unpack .../libyaml-0-2_0.1.4-3.2_amd64.deb ...
Unpacking libyaml-0-2:amd64 (0.1.4-3.2) ...
Selecting previously unselected package libjs-jquery.
Preparing to unpack .../libjs-jquery_1.7.2+dfsg-3_all.deb ...
Unpacking libjs-jquery (1.7.2+dfsg-3) ...
Selecting previously unselected package libruby2.0:amd64.
Preparing to unpack .../libruby2.0_2.0.0.484+really457-2_amd64.deb ...
Unpacking libruby2.0:amd64 (2.0.0.484+really457-2) ...
Selecting previously unselected package ruby2.0.
Preparing to unpack .../ruby2.0_2.0.0.484+really457-2_amd64.deb ...
Unpacking ruby2.0 (2.0.0.484+really457-2) ...
Selecting previously unselected package ruby.
Preparing to unpack .../ruby_1%3a2.0.0.1_all.deb ...
Unpacking ruby (1:2.0.0.1) ...
Selecting previously unselected package ruby-blankslate.
Preparing to unpack .../ruby-blankslate_2.1.2.4-4_all.deb ...
Unpacking ruby-blankslate (2.1.2.4-4) ...
Selecting previously unselected package ruby-builder.
Preparing to unpack .../ruby-builder_3.2.2-1_all.deb ...
Unpacking ruby-builder (3.2.2-1) ...
Selecting previously unselected package ruby-excon.
Preparing to unpack .../ruby-excon_0.31.0-1_all.deb ...
Unpacking ruby-excon (0.31.0-1) ...
Selecting previously unselected package ruby-formatador.
Preparing to unpack .../ruby-formatador_0.2.1-1_all.deb ...
Unpacking ruby-formatador (0.2.1-1) ...
Selecting previously unselected package ruby-hmac.
Preparing to unpack .../ruby-hmac_0.4.0-4_all.deb ...
Unpacking ruby-hmac (0.4.0-4) ...
Selecting previously unselected package ruby-mime-types.
Preparing to unpack .../ruby-mime-types_1.25-1_all.deb ...
Unpacking ruby-mime-types (1.25-1) ...
Selecting previously unselected package ruby-multi-json.
Preparing to unpack .../ruby-multi-json_1.8.0-1_all.deb ...
Unpacking ruby-multi-json (1.8.0-1) ...
Selecting previously unselected package ruby-net-ssh.
Preparing to unpack .../ruby-net-ssh_1%3a2.6.8-1_all.deb ...
Unpacking ruby-net-ssh (1:2.6.8-1) ...
Selecting previously unselected package ruby-net-scp.
Preparing to unpack .../ruby-net-scp_1.1.1-1_all.deb ...
Unpacking ruby-net-scp (1.1.1-1) ...
Selecting previously unselected package ruby-nokogiri.
Preparing to unpack .../ruby-nokogiri_1.6.1+ds-2_amd64.deb ...
Unpacking ruby-nokogiri (1.6.1+ds-2) ...
Selecting previously unselected package ruby-fog.
Preparing to unpack .../ruby-fog_1.19.0-1_all.deb ...
Unpacking ruby-fog (1.19.0-1) ...
Selecting previously unselected package ruby-fog-core.
Preparing to unpack .../ruby-fog-core_1.21.1+gh-1_all.deb ...
Unpacking ruby-fog-core (1.21.1+gh-1) ...
dpkg: error processing archive 
/var/cache/apt/archives/ruby-fog-core_1.21.1+gh-1_all.deb (--unpack):
 trying to overwrite '/usr/lib/ruby/vendor_ruby/fog/support.rb', which is also 
in package ruby-fog 1.19.0-1
Processing triggers for man-db (2.6.6-1) ...
Errors were encountered while processing:
 /var/cache/apt/archives/ruby-fog-core_1.21.1+gh-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/account.rb