← Back to team overview

openjdk team mailing list archive

Bug#926917: openjdk-13-doc: ships usr/share/doc/openjdk-12-jre-headless/api/jquery/*

 

Package: openjdk-13-doc
Version: 13~12-1
Severity: serious
User: debian-qa@xxxxxxxxxxxxxxxx
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.

Looks like a hardcoded package name/path somewhere ...

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

  Preparing to unpack .../openjdk-13-doc_13~12-1_all.deb ...
  Unpacking openjdk-13-doc (13~12-1) ...
  dpkg: error processing archive /var/cache/apt/archives/openjdk-13-doc_13~12-1_all.deb (--unpack):
   trying to overwrite '/usr/share/doc/openjdk-12-jre-headless/api/jquery/external/jquery/jquery.js', which is also in package openjdk-12-doc 12.0.0-3
  Errors were encountered while processing:
   /var/cache/apt/archives/openjdk-13-doc_13~12-1_all.deb

This is the list of clashing files:

  usr/share/doc/openjdk-12-jre-headless/api/jquery/external/jquery/jquery.js
  usr/share/doc/openjdk-12-jre-headless/api/jquery/jquery-3.3.1.js
  usr/share/doc/openjdk-12-jre-headless/api/jquery/jquery-ui.css
  usr/share/doc/openjdk-12-jre-headless/api/jquery/jquery-ui.js
  usr/share/doc/openjdk-12-jre-headless/api/jquery/jquery-ui.min.css
  usr/share/doc/openjdk-12-jre-headless/api/jquery/jquery-ui.min.js


cheers,

Andreas

Attachment: openjdk-12-doc=12.0.0-3_openjdk-13-doc=13~12-1.log.gz
Description: application/gzip