severity 305099 important thanks On Sun, Apr 17, 2005 at 10:28:06PM +0000, Wichert Akkerman wrote: > It seems the default value for slapd/dump_database_destdir is set > incorrectly: I just hit enter in debconf to accept the default value > and as a result it is now set to the empty string:
> ------------------------------------------------------------------------ > You can specify into which directory the LDAP databases are to be exported. > The > string VERSION is replaced with the server version you are upgrading from. > Directory to dump databases > Selecting previously deselected package libldap-2.2-7. > ------------------------------------------------------------------------ I can't reproduce this problem when upgrading from 2.1.30-3 to 2.2.23-1, using either the readline or the dialog frontend; so I don't think it's RC, though the package should have better handling of invalid debconf input. > The end result is: > Preconfiguring packages ... > (Reading database ... 46759 files and directories currently installed.) > Preparing to replace slapd 2.1.30-3 (using .../slapd_2.2.23-1_i386.deb) ... > Stopping OpenLDAP: slurpd slapd. > Stopping OpenLDAP: slurpd slapd. > mkdir: cannot create directory `': No such file or directory > dpkg: error processing /var/cache/apt/archives/slapd_2.2.23-1_i386.deb > (--unpack): > subprocess pre-installation script returned error exit status 1 > Starting OpenLDAP: slapd slurpd. > dpkg-reconfiger slapd does not ask that question again which means that > I'm now effectively with a broken slapd package. echo slapd slapd/dump_database_destdir /var/backups/slapd-VERSION | debconf-set-selections I agree that this should be configurable using dpkg-reconfigure. -- Steve Langasek postmodern programmer
signature.asc
Description: Digital signature