Comment 17 for bug 14929

Revision history for this message
In , Andreas Tscharner (andy-blackmoon) wrote : slapd: Similar problem with update from 2.2.23-1 to 2.2.23-2

Package: slapd
Version: 2.2.23-2
Followup-For: Bug #302629

I have a similar problem when updaeting from 2.2.23-1 to 2.2.23-2. The
output

Setting up slapd (2.2.23-2) ...
  Backing up /etc/ldap/slapd.conf in /var/backups/slapd-2.2.23-1... done.
  Moving old database directories to /var/backups:
  Loading from /var/backups/slapd-2.2.23-1:
  -directory dc=tasha,dc=blackmoon,dc=ch... /var/lib/dpkg/info/slapd.postinst: line 103: /var/backups/slapd-2.2.23-1/dc=tasha,dc=blackmoon,dc=ch.ldif: No such file or directory
/var/lib/dpkg/info/slapd.postinst: line 106: [: : integer expression expected
failed.

Loading the dazabase from the LDIF dump failed with the following
error while running slapadd:
    /var/backup/slapd-2.2.23-1/dc=tasha,dc=blackmoon,dc=ch.ldif: No such file or directory
dpkg: error processing slapd (--configure):
 dubprocess post-installation script returned error exist status 1
Errors were encountered while processing
 slapd

(Hand typed from screen)

Best regards
 Andreas

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i586)
Kernel: Linux 2.4.27
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages slapd depends on:
ii coreutils [fileutils] 5.2.1-2 The GNU core utilities
ii debconf 1.4.48 Debian configuration management sy
ii fileutils 5.2.1-2 The GNU file management utilities
ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an
ii libdb4.2 4.2.52-18 Berkeley v4.2 Database Libraries [
ii libiodbc2 3.52.2-3 iODBC Driver Manager
ii libldap-2.2-7 2.2.23-2 OpenLDAP libraries
ii libltdl3 1.5.6-6 A system independent dlopen wrappe
ii libperl5.8 5.8.4-8 Shared Perl library
ii libsasl2 2.1.19-1.5 Authentication abstraction library
ii libslp1 1.0.11a-2 OpenSLP libraries
ii libssl0.9.7 0.9.7e-3 SSL shared libraries
ii libwrap0 7.6.dbs-8 Wietse Venema's TCP wrappers libra
ii perl [libmime-base64-perl] 5.8.4-8 Larry Wall's Practical Extraction
ii psmisc 21.6-1 Utilities that use the proc filesy

-- debconf information excluded