[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ruby-pry-byebug: ships /usr/bin/rubocop, /usr/bin/bundle



On Wed, 27 Nov 2019 15:57:30 +0100 Andreas Beckmann <anbe@debian.org> wrote:
> during a test with piupart../ruby-shoulda-matchers_4.3.0.orig.tar.xz,s I noticed your package failed to install
> because it tries to overwrite other packages files.
>
> From the attached log (scroll to the bottom...):
>
> Preparing to unpack .../ruby-pry-byebug_3.7.0-1_all.deb ...
> Unpacking ruby-pry-byebug (3.7.0-1) ...
> dpkg: error processing archive /var/cache/apt/archives/ruby-pry-byebug_3.7.0-1_all.deb (--unpack): > trying to overwrite '/usr/bin/rubocop', which is also in package rubocop 0.52.1+dfsg-1
> Errors were encountered while processing:
> /var/cache/apt/archives/ruby-pry-byebug_3.7.0-1_all.deb
>
> Preparing to unpack .../ruby-pry-byebug_3.7.0-1_all.deb ...
> Unpacking ruby-pry-byebug (3.7.0-1) ...
> dpkg: error processing archive /var/cache/apt/archives/ruby-pry-byebug_3.7.0-1_all.deb (--unpack): > trying to overwrite '/usr/bin/bundle', which is also in package ruby-bundler 1.17.3-3
> Errors were encountered while processing:
> /var/cache/apt/archives/ruby-pry-byebug_3.7.0-1_all.deb

Can we just remove the bin directory from .deb? Or should we switch to gem-install layout and keep the bin part of the .deb file?


Reply to: