Bug#963979: libhibernate-validator{, 4}-java: both ship /usr/share/java/hibernate-validator.jar

Andreas Beckmann anbe at debian.org
Mon Jun 29 18:00:30 BST 2020


Package: libhibernate-validator-java,libhibernate-validator4-java
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts
Control: found -1 4.3.4-2
Control: found -1 5.3.6-1

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.

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

  Selecting previously unselected package libhibernate-validator4-java.
  Preparing to unpack .../libhibernate-validator4-java_4.3.4-2_all.deb ...
  Unpacking libhibernate-validator4-java (4.3.4-2) ...
  dpkg: error processing archive /var/cache/apt/archives/libhibernate-validator4-java_4.3.4-2_all.deb (--unpack):
   trying to overwrite '/usr/share/java/hibernate-validator.jar', which is also in package libhibernate-validator-java 5.3.6-1
  dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
  Errors were encountered while processing:
   /var/cache/apt/archives/libhibernate-validator4-java_4.3.4-2_all.deb

Did you intend that the two packages are co-installable?


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libhibernate-validator-java=5.3.6-1_libhibernate-validator4-java=4.3.4-2.log.gz
Type: application/gzip
Size: 10928 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-maintainers/attachments/20200629/f7399cb6/attachment.gz>


More information about the pkg-java-maintainers mailing list