[Pkg-openldap-devel] Bug#628237: 628237 at bugs.debian.org

Thomas Krichel krichel at openlib.org
Sat Jul 9 04:52:05 UTC 2011


  Jamie McClelland <jm at mayfirst.org> writes

> I can confirm the experience of JPPO: upgrading solves the problem.

  I wish I could. I can't. I installed slapd very recently, maybe a
  week ago. Now I can't even get rid it, to start with a clean sheet.

| root at wotan:~# aptitude purge slapd
| The following packages will be REMOVED:
|   slapd{p}
| 0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
| Need to get 0 B of archives. After unpacking 4,162 kB will be freed.
| Do you want to continue? [Y/n/?] y
| Traceback (most recent call last):
|   File "/usr/bin/apt-listchanges", line 229, in <module>
|     main()
|   File "/usr/bin/apt-listchanges", line 44, in main
|     apt_pkg.InitSystem()
| AttributeError: 'module' object has no attribute 'InitSystem'
  
  This error appear on all my aptitude calls on that server. 

| (Reading database ... 92088 files and directories currently installed.)
| Removing slapd ...
| sed: can't read /etc/ldap/slapd.d/cn=config.ldif: No such file or directory
| invoke-rc.d: initscript slapd, action "stop" failed.
| dpkg: error processing slapd (--purge):
|  subprocess installed pre-removal script returned error exit status 2
| configured to not write apport reports
|                                         Backing up /etc/ldap/slapd.d in /var/backups/slapd-... done.
| grep: /etc/ldap/slapd.d/cn=config/olcDatabase*: No such file or directory
| sed: can't read /etc/ldap/slapd.d/cn=config.ldif: No such file or directory
| invoke-rc.d: initscript slapd, action "start" failed.
| dpkg: error while cleaning up:
|  subprocess installed post-installation script returned error exit status 2
| Errors were encountered while processing:
|  slapd
| 

  The version is 2.4.25-1+b1, as seen here 

| root at wotan:~# aptitude reinstall slapd
| The following packages will be REINSTALLED:
|   slapd
| 0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
| Need to get 0 B of archives. After unpacking 0 B will be used.
| Traceback (most recent call last):
|   File "/usr/bin/apt-listchanges", line 229, in <module>
|     main()
|   File "/usr/bin/apt-listchanges", line 44, in main
|     apt_pkg.InitSystem()
| AttributeError: 'module' object has no attribute 'InitSystem'
| Setting up slapd (2.4.25-1+b1) ...
|   Creating initial configuration... mkdir: cannot create directory `/etc/ldap/slapd.d': File exists
| dpkg: error processing slapd (--configure):
|  subprocess installed post-installation script returned error exit status 1
| configured to not write apport reports
|                                       Errors were encountered while processing:
|  slapd
| 

  I tried manually removing the mkdir instruction from /var/lib/dpkg/info/slapd*
  but that does not help either. 

  I would be happy to give anybody access to the machine to 
  figure out what is wrong, just send me your public key. 

  Cheers,

  Thomas Krichel                    http://openlib.org/home/krichel
                                      http://authorprofile.org/pkr1
                                               skype: thomaskrichel





More information about the Pkg-openldap-devel mailing list