Comment 16 for bug 1003854

Revision history for this message
Dave Jones (waveform) wrote :

Hi Andre - I did take a backup of the LDAP directory prior to "do-release-upgrade" (actually I had nightly backups running so I just grabbed a copy of the last one of those). That's what I was referring to when I stated "restore the old-version backup...". It's been a few months now but I vaguely recall that the upgrade procedure needs the state of the database prior to the (failed) upgrade in order to succeed after patching.

Hence, if my recollection is accurate, my procedure was:

1. Patch the slapd.postinst script
2. Restore the database to its state prior to the (failed) upgrade
3. Run "dpkg --configure -a" to cause the slapd postinst script to upgrade the database successfully