[DRE-maint] Bug#779660: ruby-actionpack-page-caching: fails to upgrade from 'wheezy' - trying to overwrite /usr/lib/ruby/vendor_ruby/action_controller/caching/pages.rb

Andreas Beckmann anbe at debian.org
Tue Mar 3 18:59:31 UTC 2015


Package: ruby-actionpack-page-caching
Version: 1.0.2-1
Severity: serious
User: debian-qa at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ruby-actionpack-2.3=2.3.14-5_ruby-actionpack-page-caching=1.0.2-1.log.gz
Type: application/gzip
Size: 9433 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20150303/c64b2094/attachment.bin>


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