tags 459681 + patch
thanks

I had a look to fix this issue, and discovered that the code was
already present in the preinst, but using the wrong version number.
Those of us upgrading from version 1.6.8p12-6 to 1.6.9p6-1 or newer
would be left with the init.d script, while those upgrading from
version 1.6.8p12-5 to version 1.6.9p6-1 or newer would have it
removed.  The reason is that the version used in the test should have
been 1.6.8p12-6, while it actually is 1.6.8p12-5.

The only fix for this is to update the version number used in the test
in preinst to use the current version number in unstable.  Here is a
patch:

diff -ur sudo-1.6.9p11.orig/debian/preinst sudo-1.6.9p11/debian/preinst
--- sudo-1.6.9p11.orig/debian/preinst   2008-01-31 22:59:10.000000000 +0100
+++ sudo-1.6.9p11/debian/preinst        2008-01-31 23:02:23.000000000 +0100
@@ -19,7 +19,7 @@

 case "$1" in
 install|upgrade)
-    if dpkg --compare-versions "$2" le 1.6.8p12-5; then
+    if dpkg --compare-versions "$2" le 1.6.9p11-1; then
         rm_conffile sudo /etc/init.d/sudo
         update-rc.d sudo remove
     fi

Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to