Package: ruby-grape-route-helpers
Version: 1:1.0.6-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/ch-relationships.html#overwriting-files-and-replacing-packages-replaces

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

  Preparing to unpack .../ruby-grape-route-helpers_1%3a1.0.6-1_all.deb ...
  Unpacking ruby-grape-route-helpers (1:1.0.6-1) ...
  dpkg: error processing archive 
/var/cache/apt/archives/ruby-grape-route-helpers_1%3a1.0.6-1_all.deb (--unpack):
   trying to overwrite '/usr/lib/ruby/vendor_ruby/grape/path_helpers.rb', which 
is also in package ruby-grape-path-helpers 1.0.6-1
  Errors were encountered while processing:
   /var/cache/apt/archives/ruby-grape-route-helpers_1%3a1.0.6-1_all.deb

The following files are in both
  ruby-grape-path-helpers 1.0.6-1 (sid) and
  ruby-grape-route-helpers 1:1.0.6-1 (experimental),
but there is no conflict with 
  ruby-grape-route-helpers 2.1.0-3 (sid)

usr/lib/ruby/vendor_ruby/grape-path-helpers.rb
usr/lib/ruby/vendor_ruby/grape-path-helpers/all_routes.rb
usr/lib/ruby/vendor_ruby/grape-path-helpers/decorated_route.rb
usr/lib/ruby/vendor_ruby/grape-path-helpers/named_route_matcher.rb
usr/lib/ruby/vendor_ruby/grape-path-helpers/railtie.rb
usr/lib/ruby/vendor_ruby/grape-path-helpers/route_displayer.rb
usr/lib/ruby/vendor_ruby/grape-path-helpers/tasks.rb
usr/lib/ruby/vendor_ruby/grape-path-helpers/version.rb
usr/lib/ruby/vendor_ruby/grape/path_helpers.rb
usr/lib/ruby/vendor_ruby/tasks/grape_path_helpers.rake
usr/share/rubygems-integration/all/specifications/grape-path-helpers-1.0.6.gemspec


cheers,

Andreas

Reply via email to