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

Antonio Terceiro terceiro at debian.org
Mon Nov 17 19:10:17 UTC 2014


On Mon, Nov 17, 2014 at 07:32:41PM +0100, gregor herrmann wrote:
> 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-

Right. I will upload this soon, thanks!

-- 
Antonio Terceiro <terceiro at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20141117/5eba6dfc/attachment.sig>


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