I have a build that fixes this at http://lingcog.iit.edu/~bloom/kaffe/
if someone wants to check it and sponsor my upload.

The attached patch adds one more location of update-alternatives
--auto in addition to the others already patched, and it gets the
direction of the patch right

--Ken

-- 
Chanoch (Ken) Bloom. PhD candidate. Linguistic Cognition Laboratory.
Department of Computer Science. Illinois Institute of Technology.
http://www.iit.edu/~kbloom1/
diff -u kaffe-1.1.8/debian/kaffe.prerm kaffe-1.1.8/debian/kaffe.prerm
--- kaffe-1.1.8/debian/kaffe.prerm
+++ kaffe-1.1.8/debian/kaffe.prerm
@@ -6,7 +6,6 @@
 if [ "$1" != "upgrade" ] ; then
 	for file in appletviewer jar java javac javadoc javah javakey javap jdb native2ascii rmic rmiregistry serialver ; do
 		update-alternatives --remove $file /etc/alternatives/kaffe-system/bin/$file || true
-		update-alternatives --auto $file || true
 	done
 fi
 
diff -u kaffe-1.1.8/debian/kaffe.preinst kaffe-1.1.8/debian/kaffe.preinst
--- kaffe-1.1.8/debian/kaffe.preinst
+++ kaffe-1.1.8/debian/kaffe.preinst
@@ -5,7 +5,6 @@
 if [ "$1" = "upgrade" ] ; then
 	for file in appletviewer jar java javac javadoc javah javakey javap jdb native2ascii rmic rmiregistry serialver ; do
 		update-alternatives --remove $file /usr/lib/kaffe/bin/$file || true
-		update-alternatives --auto $file || true
 	done
 fi
 
diff -u kaffe-1.1.8/debian/changelog kaffe-1.1.8/debian/changelog
--- kaffe-1.1.8/debian/changelog
+++ kaffe-1.1.8/debian/changelog
@@ -1,3 +1,11 @@
+kaffe (2:1.1.8-5.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Do not call 'update-alternatives --auto' in maintainer scripts because it
+    overrides admin decisions (Closes: #434647)
+
+ -- Ken Bloom <[EMAIL PROTECTED]>  Sun, 26 Oct 2008 12:43:39 -0500
+
 kaffe (2:1.1.8-5.1) unstable; urgency=low
 
   * Non-maintainer upload.
diff -u kaffe-1.1.8/debian/jikes-kaffe.prerm kaffe-1.1.8/debian/jikes-kaffe.prerm
--- kaffe-1.1.8/debian/jikes-kaffe.prerm
+++ kaffe-1.1.8/debian/jikes-kaffe.prerm
@@ -3,7 +3,6 @@
 case "$1" in
   upgrade | remove)
     update-alternatives --remove javac /usr/bin/jikes-kaffe || true
-    update-alternatives --auto javac || true
    ;;
 esac
 

Attachment: signature.asc
Description: Digital signature

Reply via email to