Package: ruby-actionpack-page-caching
Version: 1.0.2-1
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'wheezy'.
It installed fine in 'wheezy', then the upgrade to 'sid' 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#s-replaces

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

  Selecting previously unselected package ruby-actionpack.
  Unpacking ruby-actionpack (from .../ruby-actionpack_2%3a2.3.14.2_all.deb) ...
  Selecting previously unselected package ruby-actionpack-page-caching.
  Unpacking ruby-actionpack-page-caching (from 
.../ruby-actionpack-page-caching_1.0.2-1_all.deb) ...
  dpkg: error processing 
/var/cache/apt/archives/ruby-actionpack-page-caching_1.0.2-1_all.deb (--unpack):
   trying to overwrite 
'/usr/lib/ruby/vendor_ruby/action_controller/caching/pages.rb', which is also 
in package ruby-actionpack-2.3 2.3.14-5
  Errors were encountered while processing:
   /var/cache/apt/archives/ruby-actionpack-page-caching_1.0.2-1_all.deb

ruby-actionpack-2.3 is not part of jessie, but there is no upgrade path
guarantee that this obsolete package will be removed on upgrades to from
wheezy to jessie, so ruby-actionpack-page-caching (which will not be part
of jessie either) will have to add the corresponding
  Breaks+Replaces: ruby-actionpack-2.3
anyway to ensure this package gets removed during the jessie->stretch
upgrade path.


cheers,

Andreas

Attachment: ruby-actionpack-2.3=2.3.14-5_ruby-actionpack-page-caching=1.0.2-1.log.gz
Description: application/gzip

Reply via email to