Package: ruby
Version: 1:2.3.0+3
Severity: serious
Justification: Policy 7.6.1

Unpacking ruby (1:2.3.0+3) over (1:2.3.0+1) ...
dpkg: error processing archive 
/var/cache/apt/archives/ruby_1%3a2.3.0+3_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/x86_64-linux-gnu/pkgconfig/ruby.pc', which is 
also in package ruby-dev:amd64 1:2.3.0+1
Errors were encountered while processing:
 /var/cache/apt/archives/ruby_1%3a2.3.0+3_amd64.deb

It looks like Breaks/Replaces are needed here.

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.4.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_ZA.utf8, LC_CTYPE=en_ZA.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages ruby depends on:
ii  ruby2.3  2.3.0-5

ruby recommends no packages.

Versions of packages ruby suggests:
pn  ri        <none>
ii  ruby-dev  1:2.3.0+3

-- no debconf information

Reply via email to