wojtek.bogusz
February 12th, 2009, 07:22 PM
hi, i upgraded from 7.10 to 8.04 today and upgrade messed up my ldap configuration. it hang when trying to retrieve the ldap database backup. i managed to sort it all by hand but now each time i run apt-get i get message like below. how can i get rid of it? help... -- Wojtek
# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up slapd (2.4.9-0ubuntu0.8.04.2) ...
Backing up /etc/ldap/slapd.conf in /var/backups/slapd-2.3.35-1ubuntu0.3... done.
Upgrading BDB 'checkpoint' options... .
Moving old database directories to /var/backups:
Backup path /var/backups/dc=frontline-2.3.35-1ubuntu0.3.ldapdb exists. Giving up...
dpkg: error processing slapd (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
slapd
E: Sub-process /usr/bin/dpkg returned an error code (1)
# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up slapd (2.4.9-0ubuntu0.8.04.2) ...
Backing up /etc/ldap/slapd.conf in /var/backups/slapd-2.3.35-1ubuntu0.3... done.
Upgrading BDB 'checkpoint' options... .
Moving old database directories to /var/backups:
Backup path /var/backups/dc=frontline-2.3.35-1ubuntu0.3.ldapdb exists. Giving up...
dpkg: error processing slapd (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
slapd
E: Sub-process /usr/bin/dpkg returned an error code (1)