[pkg-kolab] Bug#601410: [Pkg-openldap-devel] Bug#599235: Progress

Mathieu Parent math.parent at gmail.com
Thu Oct 28 08:33:09 UTC 2010

2010/10/27 Soren Stoutner <soren at sbtechsolutions.biz>:
> You are correct: I copied the wrong log file. The correct one is below.
> root at mail:/etc/ldap# apt-get install slapd
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following packages will be upgraded:
>   slapd
> 1 upgraded, 0 newly installed, 0 to remove and 75 not upgraded.
> Need to get 0B/1,586kB of archives.
> After this operation, 45.1kB disk space will be freed.
> Preconfiguring packages ...
> (Reading database ... 162158 files and directories currently installed.)
> Preparing to replace slapd 2.4.17-2.1 (using .../slapd_2.4.23-6_amd64.deb)
> ...
> Stopping OpenLDAP: slapd.
>   Dumping to /var/backups/slapd-2.4.17-2.1:
>   - directory dc=stoutner,dc=org... slapcat: Symbol
> `ldap_int_global_options' has different size in shared object, consider
> re-linking

This error probably comes from a version mismatch between slapd and libldap.

> str2entry: invalid value for attributeType objectClass #0 (syntax
> root_dse_read_file: could not parse entry (file="/etc/kolab/rootDSE.ldif"
> line=3)

Probably the "kolab" objectClass was not known at this time. But it
should as the kolab.schema was included before the upgrade.

To pkg-openldap people: Do you have any idea?

> olcRootDSE: value #0: <olcRootDSE> could not read file
> /etc/kolab/rootDSE.ldif
> config error processing cn=config: <olcRootDSE> could not read file
> slapcat: bad configuration directory!
> failed.
> dpkg: error processing /var/cache/apt/archives/slapd_2.4.23-6_amd64.deb
> (--unpack):
>  subprocess new pre-installation script returned error exit status 1
> configured to not write apport reports
>                                         Backing up /etc/ldap/slapd.conf in
> /var/backups/slapd-2.4.23-6... done.
> Starting OpenLDAP: slapd.
> Errors were encountered while processing:
>  /var/cache/apt/archives/slapd_2.4.23-6_amd64.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)

> I also realized as I was reading over the entries in this bug that I had
> referenced the incorrect kolabd bug report.  The correct kolabd bug is
> #601410

Regarding #601410, I don't know of any proper solution: If slapd is
upgraded before kolabd (which is probably the case), rootDSE will be
present. So this bug should probably be solved on the slapd side.

Mathieu Parent

More information about the pkg-kolab-devel mailing list