Comment 13 for bug 1003854

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

Also encountered this when upgrading a server from 12.04 to 14.04 (for reference, wound up filing duplicate bug #1579566). Managed to get slapd restored happily by creating the accesslog directory (then slapadd to restore).

Unfortunately as I restored the database, rather than apt handling it, the slapd package is now in "iF" state (according to dpkg -l). Attempting to fix this with "apt-get -f install" leads to the original situation: the package attempts to backup and restore the database unsuccessfully presumably because the slapd package it's attempting to update to is 2.4.31 (the current version in trusty) while the fixed version is the later 2.4.40.

Any hints on how to resolve the situation (e.g. by simply marking the package "installed"? slapd does appear to be working happily with the manually restored database)