Bug#1025442: jruby, jruby-openssl: both ship /usr/share/jruby/lib/ruby/stdlib/*openssl*

Andreas Beckmann anbe at debian.org
Sun Dec 4 19:52:55 GMT 2022


Package: jruby,jruby-openssl
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts
Control: found -1 9.3.9.0+ds-1
Control: found -1 0.9.21-4

Hi,

during a test with piuparts I noticed your package failed to install
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#overwriting-files-and-replacing-packages-replaces

>From the attached log (scroll to the bottom...):

  Preparing to unpack .../jruby-openssl_0.9.21-4_all.deb ...
  Unpacking jruby-openssl (0.9.21-4) ...
  dpkg: error processing archive /var/cache/apt/archives/jruby-openssl_0.9.21-4_all.deb (--unpack):
   trying to overwrite '/usr/share/jruby/lib/ruby/stdlib/jopenssl/load.rb', which is also in package jruby 9.3.9.0+ds-1
  dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
  Errors were encountered while processing:
   /var/cache/apt/archives/jruby-openssl_0.9.21-4_all.deb


If jruby-openssl is obsolete, please RM it and add to jruby
  Breaks+Replaces: jruby-openssl
and probably also a (versioned) Provides: jruby-openssl


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jruby=9.3.9.0+ds-1_jruby-openssl=0.9.21-4.log.gz
Type: application/gzip
Size: 15211 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-maintainers/attachments/20221204/083ab182/attachment-0001.gz>


More information about the pkg-java-maintainers mailing list