← Back to team overview

openjdk team mailing list archive

Bug#857992: openjdk-8-jre-headless: please add Breaks: tzdata-java

 

Package: openjdk-8-jre-headless
Version: 8u121-b13-4
Severity: important

Hi,

I just analyzed a piuparts log upgrading libreoffice from jessie to
stretch, architecture i386, --install-recommends.
The strange point was that tzdata was not updated but kept at the jessie
version, because something (openjdk-7-jre-headless) wanted to keep
tzdata-java installed.

I think this can be solved by adding a
 Breaks: tzdata-java
to openjdk-8-jre-headless. The priorities in apt should be sufficient
that it works at least in this case:

tzdata-java: -1
openjdk-7-jre-headless: 6
openjdk-8-jre-headless: 11

So this would kick out openjdk-7 during the upgrade which sounds like a
good thing :-)

I haven't rebuilt openjdk-8 to test whether this actually works (and
don't have the tiem to so now).

This is a change that needs to be reverted when backporting openjdk-8 to
jessie, otherwise it will likely be uninstallable or kick out a lot of
packages along with tzdata-java).


Andreas

Attachment: libreoffice_1:5.2.5-2.log.gz
Description: application/gzip


Follow ups