Bug#942336: libnexus-java, libnexus-jni: missing Breaks+Replaces: libnexus0-java

Andreas Beckmann anbe at debian.org
Mon Oct 14 21:13:28 BST 2019


Package: libnexus-java,libnexus-jni
Version: 4.4.3-1
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'sid' to 'experimental'.
It installed fine in 'sid', then the upgrade to 'experimental' fails
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 .../libnexus-jni_4.4.3-1_amd64.deb ...
  Unpacking libnexus-jni (4.4.3-1) ...
  dpkg: error processing archive /var/cache/apt/archives/libnexus-jni_4.4.3-1_amd64.deb (--unpack):
   trying to overwrite '/usr/lib/jni/libjnexus.so', which is also in package libnexus0-java 4.3.2-svn1921-6
  Preparing to unpack .../libnexus-java_4.4.3-1_all.deb ...
  Unpacking libnexus-java (4.4.3-1) ...
  dpkg: error processing archive /var/cache/apt/archives/libnexus-java_4.4.3-1_all.deb (--unpack):
   trying to overwrite '/usr/share/java/jnexus.jar', which is also in package libnexus0-java 4.3.2-svn1921-6
  Errors were encountered while processing:
   /var/cache/apt/archives/libnexus-jni_4.4.3-1_amd64.deb
   /var/cache/apt/archives/libnexus-java_4.4.3-1_all.deb


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libnexus0-java=4.3.2-svn1921-6_libnexus-java=4.4.3-1.log.gz
Type: application/gzip
Size: 8104 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20191014/130a9f75/attachment-0001.gz>


More information about the debian-science-maintainers mailing list