Bug#903775: libgradle-plugins-java: fails to upgrade from 'sid' - trying to overwrite /usr/share/maven-repo/org/gradle/gradle-workers/debian/gradle-workers-debian.pom

Andreas Beckmann anbe at debian.org
Sat Jul 14 17:45:05 BST 2018


Package: libgradle-plugins-java
Version: 4.4-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/#overwriting-files-and-replacing-packages-replaces

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

  Preparing to unpack .../4-libgradle-plugins-java_4.4-1_all.deb ...
  Unpacking libgradle-plugins-java (4.4-1) over (3.4.1-7) ...
  dpkg: error processing archive /tmp/apt-dpkg-install-l0IZ07/4-libgradle-plugins-java_4.4-1_all.deb (--unpack):
   trying to overwrite '/usr/share/maven-repo/org/gradle/gradle-workers/debian/gradle-workers-debian.pom', which is also in package libgradle-core-java 3.4.1-7
  dpkg: considering deconfiguration of libgradle-plugins-java, which would be broken by installation of libgradle-core-java ...
  dpkg: yes, will deconfigure libgradle-plugins-java (broken by libgradle-core-java)
  Preparing to unpack .../5-libgradle-core-java_4.4-1_all.deb ...
  De-configuring libgradle-plugins-java (3.4.1-7) ...
  Unpacking libgradle-core-java (4.4-1) over (3.4.1-7) ...
  Replacing files in old package libgradle-plugins-java (3.4.1-7) ...
  Errors were encountered while processing:
   /tmp/apt-dpkg-install-l0IZ07/4-libgradle-plugins-java_4.4-1_all.deb


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libgradle-plugins-java_4.4-1.log.gz
Type: application/gzip
Size: 24726 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-maintainers/attachments/20180714/961f7c22/attachment-0001.gz>


More information about the pkg-java-maintainers mailing list