[DRE-maint] Bug#952682: ruby-sassc-rails: missing Breaks+Replaces: ruby-sass-rails (<< 6)

Andreas Beckmann anbe at debian.org
Thu Feb 27 14:12:47 GMT 2020


Package: ruby-sassc-rails
Version: 2.1.2-4
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package failed to install
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/ch-relationships.html#overwriting-files-and-replacing-packages-replaces

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

  Selecting previously unselected package ruby-sassc.
  Preparing to unpack .../ruby-sassc_2.0.1-2_all.deb ...
  Unpacking ruby-sassc (2.0.1-2) ...
  Selecting previously unselected package ruby-sassc-rails.
  Preparing to unpack .../ruby-sassc-rails_2.1.2-4_all.deb ...
  Unpacking ruby-sassc-rails (2.1.2-4) ...
  dpkg: error processing archive /var/cache/apt/archives/ruby-sassc-rails_2.1.2-4_all.deb (--unpack):
   trying to overwrite '/usr/lib/ruby/vendor_ruby/rails/generators/sass/assets/assets_generator.rb', which is also in package ruby-sass-rails 5.0.6-2
  Errors were encountered while processing:
   /var/cache/apt/archives/ruby-sassc-rails_2.1.2-4_all.deb

The last upload contained

> ruby-sassc-rails (2.1.2-4) unstable; urgency=medium
> .
>   * Remove Conflicts on ruby-sass-rails (new version of ruby-sass-rails is now
>     available)

which was wrong, since it reintroduces the file conflict in sid
and on upgrades. But I interpret that changelog entry as "the new
ruby-sass-rails version does no longer file conflict with us", so
please add
  Breaks+Replaces: ruby-sass-rails (<< 6)
to properly take over the files from the old ruby-sass-rails.


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ruby-sass-rails=5.0.6-2_ruby-sassc-rails=2.1.2-4.log.gz
Type: application/gzip
Size: 12314 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20200227/149f5360/attachment-0001.gz>


More information about the Pkg-ruby-extras-maintainers mailing list