Comment 1 for bug 1040177

Revision history for this message
James Page (james-page) wrote :

ubuntu@server-15281:~$ echo debconf slapd/no_configuration string true | sudo /usr/bin/debconf-set-selections
ubuntu@server-15281:~$ sudo apt-get install slapd
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libltdl7 libodbc1 libperl5.14 libslp1
Suggested packages:
  libmyodbc odbc-postgresql tdsodbc unixodbc-bin slpd openslp-doc ldap-utils
The following NEW packages will be installed:
  libltdl7 libodbc1 libperl5.14 libslp1 slapd
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 2,044 kB of archives.
After this operation, 5,423 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://nov.ec2.archive.ubuntu.com/ubuntu/ precise/main libltdl7 amd64 2.4.2-1ubuntu1 [37.6 kB]
Get:2 http://nov.ec2.archive.ubuntu.com/ubuntu/ precise/main libodbc1 amd64 2.2.14p2-5ubuntu3 [225 kB]
Get:3 http://nov.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main libperl5.14 amd64 5.14.2-6ubuntu2.1 [1,252 B]
Get:4 http://nov.ec2.archive.ubuntu.com/ubuntu/ precise/main libslp1 amd64 1.2.1-7.8ubuntu1 [50.4 kB]
Get:5 http://nov.ec2.archive.ubuntu.com/ubuntu/ precise-updates/main slapd amd64 2.4.28-1.1ubuntu4.1 [1,730 kB]
Fetched 2,044 kB in 0s (9,971 kB/s)
Preconfiguring packages ...
Selecting previously unselected package libltdl7.
(Reading database ... 26060 files and directories currently installed.)
Unpacking libltdl7 (from .../libltdl7_2.4.2-1ubuntu1_amd64.deb) ...
Selecting previously unselected package libodbc1.
Unpacking libodbc1 (from .../libodbc1_2.2.14p2-5ubuntu3_amd64.deb) ...
Selecting previously unselected package libperl5.14.
Unpacking libperl5.14 (from .../libperl5.14_5.14.2-6ubuntu2.1_amd64.deb) ...
Selecting previously unselected package libslp1.
Unpacking libslp1 (from .../libslp1_1.2.1-7.8ubuntu1_amd64.deb) ...
Selecting previously unselected package slapd.
Unpacking slapd (from .../slapd_2.4.28-1.1ubuntu4.1_amd64.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Processing triggers for ufw ...
Setting up libltdl7 (2.4.2-1ubuntu1) ...
Setting up libodbc1 (2.2.14p2-5ubuntu3) ...
Setting up libperl5.14 (5.14.2-6ubuntu2.1) ...
Setting up libslp1 (1.2.1-7.8ubuntu1) ...
Setting up slapd (2.4.28-1.1ubuntu4.1) ...
  Creating new user openldap... done.
  Omitting slapd configuration as requested.
 * No configuration file was found for slapd at /etc/ldap/slapd.conf.
invoke-rc.d: initscript slapd, action "start" failed.
dpkg: error processing slapd (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
 slapd
E: Sub-process /usr/bin/dpkg returned an error code (1)