[Bug 632051] Re: Improve slapd postinst error message in case database directory can't be determined for a given LDAP suffix
Nathan Stratton Treadway
ubuntu.lp at nathanst.com
Thu Sep 9 15:21:46 BST 2010
** Summary changed:
- Improve error message in case suffix is incorrect
+ Improve slapd postinst error message in case database directory can't be determined for a given LDAP suffix
** Description changed:
Bug is due to buggy configuration, but we could have a better error
message. See comment 5 for details.
Original description:
When doing a apt-get dist-upgrade going from slapd_2.4.15-1ubuntu3_amd64.deb to slapd_2.4.15-1ubuntu3.1_amd64.deb
I get the following output:
batch at work-isp:/tmp$ sudo apt-get dist-upgrade
[sudo] password for batch:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... 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.15-1ubuntu3.1) ...
- Backing up /etc/ldap/slapd.conf in /var/backups/slapd-2.4.15-1ubuntu3... done.
+ Backing up /etc/ldap/slapd.conf in /var/backups/slapd-2.4.15-1ubuntu3... done.
chown: invalid argument: `'
dpkg: error processing slapd (--configure):
- subprocess post-installation script returned error exit status 1
+ subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
- slapd
+ slapd
E: Sub-process /usr/bin/dpkg returned an error code (1)
output of lsb_release -rd:
batch at work-isp:/tmp$ lsb_release -rd
Description: Ubuntu 9.04
Release: 9.04
output of apt-cache policy slapd:
batch at work-isp:/tmp$ apt-cache policy slapd
slapd:
- Installed: 2.4.15-1ubuntu3.1
- Candidate: 2.4.15-1ubuntu3.1
- Version table:
- *** 2.4.15-1ubuntu3.1 0
- 500 http://us.archive.ubuntu.com jaunty-updates/main Packages
- 500 http://security.ubuntu.com jaunty-security/main Packages
- 100 /var/lib/dpkg/status
- 2.4.15-1ubuntu3 0
- 500 http://us.archive.ubuntu.com jaunty/main Packages
+ Installed: 2.4.15-1ubuntu3.1
+ Candidate: 2.4.15-1ubuntu3.1
+ Version table:
+ *** 2.4.15-1ubuntu3.1 0
+ 500 http://us.archive.ubuntu.com jaunty-updates/main Packages
+ 500 http://security.ubuntu.com jaunty-security/main Packages
+ 100 /var/lib/dpkg/status
+ 2.4.15-1ubuntu3 0
+ 500 http://us.archive.ubuntu.com jaunty/main Packages
I except the package to install without error.
The package did not install correct leaves the sysem with
1 not fully installed or removed
--
Improve slapd postinst error message in case database directory can't be determined for a given LDAP suffix
https://bugs.launchpad.net/bugs/632051
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openldap in ubuntu.
More information about the Ubuntu-server-bugs
mailing list