Bug#884514: ruby-fog-aws: fails to upgrade from 'sid' - trying to overwrite /usr/lib/ruby/vendor_ruby/fog/aws/service_mapper.rb

2018-02-27 Thread Andreas Beckmann
Followup-For: Bug #884514
Control: reopen -1
Control: affects -1 + ruby-fog

No longer shipping the file in ruby-fog is only half of the fix. Now
ruby-fog-aws still needs Breaks+Replaces: ruby-fog (<< 1.42.0).


Andreas



Bug#884514: ruby-fog-aws: fails to upgrade from 'sid' - trying to overwrite /usr/lib/ruby/vendor_ruby/fog/aws/service_mapper.rb

2017-12-15 Thread Andreas Beckmann
Package: ruby-fog-aws
Version: 2.0.0-1
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'sid' to 'experimental'.
It installed fine in 'sid', then the upgrade to 'experimental' fails
because it tries to overwrite other packages files without declaring a
Breaks+Replaces relation.

See policy 7.6 at
https://www.debian.org/doc/debian-policy/#overwriting-files-and-replacing-packages-replaces

>From the attached log (scroll to the bottom...):

  Preparing to unpack .../ruby-fog-aws_2.0.0-1_all.deb ...
  Unpacking ruby-fog-aws (2.0.0-1) over (0.12.0-1) ...
  dpkg: error processing archive 
/var/cache/apt/archives/ruby-fog-aws_2.0.0-1_all.deb (--unpack):
   trying to overwrite '/usr/lib/ruby/vendor_ruby/fog/aws/service_mapper.rb', 
which is also in package ruby-fog 1.38.0-1
  Errors were encountered while processing:
   /var/cache/apt/archives/ruby-fog-aws_2.0.0-1_all.deb


cheers,

Andreas


ruby-fog=1.38.0-1_ruby-fog-aws=2.0.0-1.log.gz
Description: application/gzip