[Pkg-openldap-devel] Bug#603544: Update failed, no way to continue now

Robert Kehl robertkehl at robertkehl.de
Tue Feb 15 19:41:55 UTC 2011


Btw, I just could get slapd to install by tricking out the postinst
script. Line 892 calls the relevant function
"postinst_upgrade_configuration"; disabling this made the system happy,
and me, too.

====%<====
diff -bru /var/lib/dpkg/info/slapd.postinst postinst.new
--- /var/lib/dpkg/info/slapd.postinst   2011-02-15 20:38:43.000000000 +0100
+++ postinst.new        2011-02-15 20:38:28.000000000 +0100
@@ -889,7 +889,7 @@
 if is_initial_configuration "$@"; then
        postinst_initial_configuration
 else
-       postinst_upgrade_configuration
+       echo postinst_upgrade_configuration
 fi

 db_stop || true
====%<====

This surely is no cure for the not functioning upgrade, I put it here
just in case someone else runs into a similar problem and does not need
the slapd.d format but only wants to continue with the Squeeze upgrade
process. ;)

With highest regards,

Robert Kehl





More information about the Pkg-openldap-devel mailing list