openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #13550
Bug#925071: openjdk-11-jre: please add Breaks: eclipse-platform (<< 3.8.1-11)
Package: openjdk-11-jre
Version: 11.0.3+1-1
Severity: important
Tags: patch
Hi,
while analyzing piuparts stretch -> buster distupgrade tests, I found
some cases where packages from stretch were not upgraded to the new
version in buster, but the old version was kept installed instead.
This is usually caused by some obsolete packages not getting removed,
because they are part of a package group with a rather high score.
One such problematic group is the old eclipse stack from stretch that
prevents some java packages from being upgraded to buster if it does not
get removed.
I successfully tested that adding
Breaks: eclipse-platform (<< 3.8.1-11)
to openjdk-11-jre fixes these upgrade paths. The old eclipse packages
get removed and everything else gets upgraded as expected.
Andreas
diff -Nru openjdk-11-11.0.3+1/debian/changelog openjdk-11-11.0.3+1/debian/changelog
--- openjdk-11-11.0.3+1/debian/changelog 2019-02-27 15:44:14.000000000 +0100
+++ openjdk-11-11.0.3+1/debian/changelog 2019-03-18 15:01:43.000000000 +0100
@@ -1,3 +1,10 @@
+openjdk-11 (11.0.3+1-2) UNRELEASED; urgency=medium
+
+ * openjdk-11-jre: Add Breaks: eclipse-platform (<< 3.8.1-11) to smoothen
+ upgrades from stretch. (Closes: #xxxxxx)
+
+ -- Andreas Beckmann <anbe@xxxxxxxxxx> Mon, 18 Mar 2019 15:01:43 +0100
+
openjdk-11 (11.0.3+1-1) unstable; urgency=medium
* OpenJDK 11.0.3+1 build.
diff -Nru openjdk-11-11.0.3+1/debian/control openjdk-11-11.0.3+1/debian/control
--- openjdk-11-11.0.3+1/debian/control 2019-02-10 10:18:49.000000000 +0100
+++ openjdk-11-11.0.3+1/debian/control 2019-03-18 15:01:43.000000000 +0100
@@ -92,6 +92,8 @@
${shlibs:Depends}, ${misc:Depends}
Recommends: ${dlopenjre:Recommends}, ${bridge:Recommends}, fonts-dejavu-extra
Suggests: ${pkg:pulseaudio}
+Breaks:
+ eclipse-platform (<< 3.8.1-11),
Provides: java-runtime, java2-runtime,
java5-runtime, java6-runtime,
java7-runtime, java8-runtime,
diff -Nru openjdk-11-11.0.3+1/debian/control.in openjdk-11-11.0.3+1/debian/control.in
--- openjdk-11-11.0.3+1/debian/control.in 2019-02-10 10:18:46.000000000 +0100
+++ openjdk-11-11.0.3+1/debian/control.in 2019-03-18 15:01:43.000000000 +0100
@@ -92,6 +92,8 @@
${shlibs:Depends}, ${misc:Depends}
Recommends: ${dlopenjre:Recommends}, ${bridge:Recommends}, @core_fonts@
Suggests: ${pkg:pulseaudio}
+Breaks:
+ eclipse-platform (<< 3.8.1-11),
Provides: java-runtime, java2-runtime,
java5-runtime, java6-runtime,
java7-runtime, java8-runtime,
Attachment:
eclipse-wtp_None.log.gz
Description: application/gzip