Followup-For: Bug #775733

Hi,

no longer building the transitional packages is not sufficient to fix
the hangs. But making the upgrade path deterministic by breaking the
circular dependency and ensuring the old transitional packages get
removed before the other xemacs21 packages are upgraded does the job.
Tested patch attached.

The removal probably does unregister something that otherwise causes
the hang ...


Andreas
diff -Nru xemacs21-21.4.22/debian/changelog xemacs21-21.4.22/debian/changelog
--- xemacs21-21.4.22/debian/changelog	2015-01-19 13:23:54.000000000 +0100
+++ xemacs21-21.4.22/debian/changelog	2015-03-13 17:51:40.000000000 +0100
@@ -1,3 +1,10 @@
+xemacs21 (21.4.22-12) UNRELEASED; urgency=medium
+
+  * Break circular dependency hell.  (Closes: #735268)
+  * Add conflicts against the old transitional packages.  (Closes: #775733)
+
+ -- Andreas Beckmann <a...@debian.org>  Fri, 13 Mar 2015 17:14:18 +0100
+
 xemacs21 (21.4.22-11) unstable; urgency=low
 
   * Remove GNOME transitional packages which have been present for more
diff -Nru xemacs21-21.4.22/debian/control xemacs21-21.4.22/debian/control
--- xemacs21-21.4.22/debian/control	2015-01-19 13:23:01.000000000 +0100
+++ xemacs21-21.4.22/debian/control	2015-03-13 17:14:02.000000000 +0100
@@ -22,6 +22,7 @@
 Package: xemacs21-mule
 Architecture: any
 Depends: xemacs21-support (= ${source:Version}), xemacs21-bin (= ${binary:Version}), ${shlibs:Depends}, xemacs21-mulesupport (>= 2003.04.23-1), xemacs21-basesupport (>= 2003.04.23-1), emacsen-common, ${misc:Depends}
+Conflicts: xemacs21-gnome-mule
 Provides: emacsen, info-browser, mail-reader, news-reader, www-browser, xemacs21
 Description: highly customizable text editor -- Mule binary
  XEmacs is a full fledged programming language with a mail reader,
@@ -48,6 +49,7 @@
 Package: xemacs21-nomule
 Architecture: any
 Depends: xemacs21-support (= ${source:Version}), xemacs21-bin (= ${binary:Version}), ${shlibs:Depends}, xemacs21-basesupport (>= 2003.04.23-1), emacsen-common, ${misc:Depends}
+Conflicts: xemacs21-gnome-nomule
 Provides: emacsen, info-browser, mail-reader, news-reader, www-browser, xemacs21
 Description: highly customizable text editor -- Non-mule binary
  XEmacs is a full fledged programming language with a mail reader,
@@ -70,6 +72,7 @@
 Package: xemacs21-mule-canna-wnn
 Architecture: any
 Depends: xemacs21-support (= ${source:Version}), xemacs21-bin (= ${binary:Version}), ${shlibs:Depends}, xemacs21-mulesupport (>= 2003.04.23-1), xemacs21-basesupport (>= 2003.04.23-1), emacsen-common, ${misc:Depends}
+Conflicts: xemacs21-gnome-mule-canna-wnn
 Suggests: xfonts-cjk
 Provides: emacsen, info-browser, mail-reader, news-reader, www-browser, xemacs21
 Description: highly customizable text editor -- Mule binary compiled with Canna and Wnn
@@ -112,7 +115,7 @@
 Conflicts: xemacs-support, sgml-base (<< 1.23)
 Replaces: xemacs-support
 Suggests: xemacs21-supportel (= ${source:Version})
-Depends: emacsen-common, xemacs21 (= ${source:Version}), ${misc:Depends}
+Depends: emacsen-common, ${misc:Depends}
 Description: highly customizable text editor -- architecture independent support files
  XEmacs is a full fledged programming language with a mail reader,
  news reader, info browser, web browser, calendar, specialized editor

Reply via email to