Bug#863803: ca-certificates-java: depends on obsolete openjdk-7-jre-headless

2017-05-31 Thread Emmanuel Bourg
Thank you for the report Andreas. The upgrade problem is odd because
ca-certificates-java expects openjdk-7-jre-headless *or*
java7-runtime-headless which is provided by openjdk-8-jre-headless.
openjdk-8 isn't pulled automatically in this case?

__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.


Bug#863803: ca-certificates-java: depends on obsolete openjdk-7-jre-headless

2017-05-31 Thread Andreas Beckmann
On 2017-05-31 14:16, Emmanuel Bourg wrote:
> Thank you for the report Andreas. The upgrade problem is odd because
> ca-certificates-java expects openjdk-7-jre-headless *or*
> java7-runtime-headless which is provided by openjdk-8-jre-headless.
> openjdk-8 isn't pulled automatically in this case?

While installing openjdk-8-jre-headless would be a valid solution, it's
not easy for apt to find that ... especially if there *seems* to be an
easier solution: just keeping openjdk-7-jre-headless installed.

I just tried to switch that dependency and it improves the problematic
upgrade path a bit (openjdk-8 gets pulled in much earlier for ca-c-j,
and openjdk-7-jre-headless is no longer tried to be kept installed as a
solution for ca-c-j) but there are still problems with fdroidserver ...
(which also has a long ored list of alternatives).

For successful upgrades from jessie to stretch openjdk-7 from jessie
*must* be removed due to the -> tzdata-java -> tzdata dependency chain
that is no longer available in stretch.


Andreas

__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.


Bug#863803: ca-certificates-java: depends on obsolete openjdk-7-jre-headless

2017-05-31 Thread Andreas Beckmann
Package: ca-certificates-java
Version: 20161107
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed upgrade problems from jessie to
stretch. apt tries to keep openjdk-7-jre-headless from jessie installed
to satisfy the dependency in ca-certificates-java, and therefore keeps
some more packages at the jessie version instead of upgrading them to
stretch.

Switching the default alternative to openjdk-8-jre-headless should fix
this.


cheers,

Andreas

__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.