[Bug 658227] Re: upgrade process does not upgrade underlying BDB format from 4.7 to 4.8 (so slapd aborts with "Program version 4.8 doesn't match environment version 4.7" error message)

Mathias Gug mathiaz at ubuntu.com
Thu Oct 14 20:07:47 BST 2010


I've uploaded a fix to maverick-update:

--- openldap-2.4.23/debian/slapd.scripts-common
+++ openldap-2.4.23/debian/slapd.scripts-common
@@ -46,7 +46,7 @@
 # Return success if yes.
 # Usage: if database_format_changed; then
 
-	if dpkg --compare-versions "$OLD_VERSION" lt-nl 2.4.14; then
+	if dpkg --compare-versions "$OLD_VERSION" lt-nl 2.4.23-0ubuntu3.1; then
 		return 0
 	else


That will force a database dump for every upgrade to maverick. This is the same fix as in Debian (modulo the package revision).

It won't address the use case outlined in comment 17. For users that
have already upgraded to maverick the workaround outlined in the bug
description should be followed.

-- 
upgrade process does not upgrade underlying BDB format from 4.7 to 4.8 (so slapd aborts with "Program version 4.8 doesn't match environment version 4.7" error message)
https://bugs.launchpad.net/bugs/658227
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openldap in ubuntu.



More information about the Ubuntu-server-bugs mailing list