Control: -1 + patch On Mon, 17 Nov 2014 19:11:30 +0100, Andreas Beckmann wrote:
> On 2014-11-17 19:03, gregor herrmann wrote:
> > On Sun, 02 Nov 2014 22:52:13 +0100, Andreas Beckmann wrote:
> >> Unpacking ruby-actionpack-action-caching (1.1.1-1) ...
> >> dpkg: error processing archive
> >> /var/cache/apt/archives/ruby-actionpack-action-caching_1.1.1-1_all.deb
> >> (--unpack):
> >> trying to overwrite
> >> '/usr/lib/ruby/vendor_ruby/action_controller/caching/actions.rb', which is
> >> also in package ruby-actionpack-2.3 2.3.14-5
>
> > Is this the same as #769555 (fixed some days ago) or something
> > different?
>
> It's probably the same issue which has *not* been fixed properly in the
> recent upload.
> Bumping the Depends is not sufficient to control unpack ordering - I can
> still reproduce the file overwrite error with 1.1.1-2.
> Versioned Breaks+Replaces need to be added for the file takeover.
Thanks for checking; this confirms my gut feeling :)
So I guess there something needed as:
#v+
--- a/debian/control
+++ b/debian/control
@@ -15,6 +15,8 @@ Package: ruby-actionpack-action-caching
Architecture: all
XB-Ruby-Versions: ${ruby:Versions}
Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter,
ruby-actionpack (>> 2:4)
+Breaks: ruby-actionpack-2.3, ruby-actionpack-3.2
+Replaces: ruby-actionpack-2.3, ruby-actionpack-3.2
Description: action caching for Action Pack
This package provides the functionality of caching the results of Rails
controller actions, which was removed from the Rails core with the 4.0
#v-
Cheers,
gregor
--
.''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
: :' : Debian GNU/Linux user, admin, and developer - http://www.debian.org/
`. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
`- NP: Peter Ratzenbeck: Ka Liad
signature.asc
Description: Digital Signature

