[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#864597: upgrade-reports: jessie -> stretch: gnome fails to upgrade: cycle found while processing triggers



Julien Cristau <jcristau@debian.org> (2017-06-15):
> It sounds like openjdk-8 added two Breaks recently, one or both of
> which are causing trouble, and none of which fix anything as bad as
> this.  So I think we should remove the Breaks on tzdata-java from
> openjdk-8-jdk-headless, and remove the Breaks on ca-certificates-java
> from openjdk-8-jre-headless.  Would that fix the current issue?
> 
> From what I can see #863820 is at most a normal-severity issue.  Not
> upgrading some packages is way way better than a failed upgrade.

I'm currently building an updated openjdk-8 with the attached changes
to see what the upgrade-desktop test cases would look like.

Note: I've chosen to remove the “Breaks: ${jrehl:Breaks}” line from
debian/control* so that I'm only touching these files, since d/rules
seems to only set it to tzdata-java anyway, depending on the target
dist.

I'll report the results afterwards, but as mentioned on IRC, even if
that looks good in the end, fewer than 2 days to become confident it
won't regress in other cases is really short. :(


KiBi.
diff -Nru openjdk-8-8u131-b11/debian/changelog openjdk-8-8u131-b11/debian/changelog
--- openjdk-8-8u131-b11/debian/changelog	2017-05-16 21:38:22.000000000 +0000
+++ openjdk-8-8u131-b11/debian/changelog	2017-06-15 12:57:13.000000000 +0000
@@ -1,3 +1,13 @@
+openjdk-8 (8u131-b11-2.1) unstable; urgency=high
+
+  * Non-maintainer upload.
+  * Remove recently-added Breaks which trigger dist-upgrade failures from
+    jessie to stretch for some desktop tasks. Closes: #864597.
+    - openjdk-8-jdk-headless → ${jrehl:Breaks}
+    - openjdk-8-jre-headless → tzdata-java
+
+ -- Cyril Brulebois <kibi@debian.org>  Thu, 15 Jun 2017 12:57:13 +0000
+
 openjdk-8 (8u131-b11-2) unstable; urgency=medium
 
   * Tighten dependency on libatk-wrapper-java-jni. Closes: #862508.
diff -Nru openjdk-8-8u131-b11/debian/control openjdk-8-8u131-b11/debian/control
--- openjdk-8-8u131-b11/debian/control	2017-05-16 21:36:52.000000000 +0000
+++ openjdk-8-8u131-b11/debian/control	2017-06-15 12:57:13.000000000 +0000
@@ -30,7 +30,6 @@
   java5-sdk-headless, java6-sdk-headless,
   java7-sdk-headless, java8-sdk-headless,
 Replaces: openjdk-8-jdk (<< 8u72-b15-4),
-Breaks: ${jrehl:Breaks}
 Description: OpenJDK Development Kit (JDK) (headless)
  OpenJDK is a development environment for building applications,
  applets, and components using the Java programming language.
@@ -56,7 +55,6 @@
   java7-runtime-headless, java8-runtime-headless,
   ${defaultvm:Provides}, ${jvm:Provides}
 Breaks: oracle-java8-installer (<< 8u77+8u77arm-1),
-  ca-certificates-java (<< 20160321~)
 Description: OpenJDK Java runtime, using ${vm:Name} (headless)
  Minimal Java runtime - needed for executing non GUI Java programs,
  using ${vm:Name}.
diff -Nru openjdk-8-8u131-b11/debian/control.in openjdk-8-8u131-b11/debian/control.in
--- openjdk-8-8u131-b11/debian/control.in	2017-04-08 19:44:58.000000000 +0000
+++ openjdk-8-8u131-b11/debian/control.in	2017-06-15 12:57:13.000000000 +0000
@@ -30,7 +30,6 @@
   java5-sdk-headless, java6-sdk-headless,
   java7-sdk-headless, java8-sdk-headless,
 Replaces: @basename@-jdk (<< 8u72-b15-4),
-Breaks: ${jrehl:Breaks}
 Description: OpenJDK Development Kit (JDK) (headless)
  OpenJDK is a development environment for building applications,
  applets, and components using the Java programming language.
@@ -56,7 +55,6 @@
   java7-runtime-headless, java8-runtime-headless,
   ${defaultvm:Provides}, ${jvm:Provides}
 Breaks: oracle-java8-installer (<< 8u77+8u77arm-1),
-  ca-certificates-java (<< 20160321~)
 Description: OpenJDK Java runtime, using ${vm:Name} (headless)
  Minimal Java runtime - needed for executing non GUI Java programs,
  using ${vm:Name}.

Attachment: signature.asc
Description: Digital signature


Reply to: