I… don’t know how to continue the upgrade at that point, to be honest.
I would still recommend some kind of restoration. However, the only truly important part is that the system files are restored, not the mail server content. Meaning you should be able to do something like this:
- backup the current content of the mail server’s database and all associated directories with content (e.g. for Kopano you’d backup both the database and the directory containing the attachments; with Dovecot you’d backup all the maildirs); maybe even create a full backup at this point, just to be sure
- restore from backup to before the update
- restore the mail server content from the backup in step 1
- purge any package still in
rc
state (seedpkg -l | grep -i '^rc'
) - remove the init files that the update process threw warnings about
- rejoin the slave
- retry the upgrade
Sorry if I don’t have a better way, but the “restore & retry” way seems way safer and easier to me than trying to fiddle around with LDAP components where the database tools & libraries don’t match.