Sebastian Bremicker dixit:

>Setting up joe (3.7-2.1) ...
>update-alternatives: error: alternative editorrc can't be slave of editor: it 
>is a master alternative.

Indeed… my fault:
a) I tested joe and jupp upgrades together, but not alone, and
   the order, while random, had jupp before joe all times (of
   course, now that I test it again, I had both orders…)
b) The real problem: I was debhelper-coddled and the preinst I
   wrote for joe never did get installed into the binary package

Fix attached, will upload now.

bye,
//mirabilos
-- 
  “Having a smoking section in a restaurant is like having
          a peeing section in a swimming pool.”
                                                -- Edward Burr
diff -u joe-3.7/debian/changelog joe-3.7/debian/changelog
--- joe-3.7/debian/changelog
+++ joe-3.7/debian/changelog
@@ -1,3 +1,11 @@
+joe (3.7-2.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Really install the preinst maintainer script this time.
+    closes: #644468
+
+ -- Thorsten Glaser <t...@mirbsd.de>  Thu, 06 Oct 2011 08:06:10 +0000
+
 joe (3.7-2.1) unstable; urgency=low
 
   * Non-maintainer upload.
diff -u joe-3.7/debian/rules joe-3.7/debian/rules
--- joe-3.7/debian/rules
+++ joe-3.7/debian/rules
@@ -50,7 +50,7 @@
        install -m 644 debian/copyright debian/README.Debian 
$(tmp)/usr/share/doc/joe
        install -m 755 -d $(tmp)/DEBIAN
        install -m 644 debian/conffiles $(tmp)/DEBIAN
-       install -m 755 debian/postinst debian/prerm debian/postrm $(tmp)/DEBIAN
+       install -m 755 debian/preinst debian/postinst debian/prerm 
debian/postrm $(tmp)/DEBIAN
        install -m 755 -d $(tmp)/usr/share/menu
        install -m 644 debian/menu $(tmp)/usr/share/menu/joe
        dpkg-shlibdeps $(tmp)/usr/bin/joe

Reply via email to