[intrepid] cannot upgrade from hardy to intrepid : local can only be used in a function

Bug #288897 reported by Lionel Dricot
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openldap (Ubuntu)
New
Undecided
Unassigned

Bug Description

apt-get dist-upgrade from my hardy server to intrepid :

Preparing to replace slapd 2.4.9-0ubuntu0.8.04.1 (using .../slapd_2.4.11-0ubuntu5_i386.deb) ...
Stopping OpenLDAP: slapd.
/var/lib/dpkg/tmp.ci/config: line 944: local: can only be used in a function
dpkg: error processing /var/cache/apt/archives/slapd_2.4.11-0ubuntu5_i386.deb (--unpack):
 subprocess pre-installation script returned error exit status 1
  Backing up /etc/ldap/slapd.conf in /var/backups/slapd-2.4.11-0ubuntu5... done.
Starting OpenLDAP: slapd.
Errors were encountered while processing:
 /var/cache/apt/archives/slapd_2.4.11-0ubuntu5_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Lionel Dricot (ploum-deactivatedaccount) wrote :

It seems to be related to the migration of the configuration because slapd install fine if the /etc/ldap folder is removed.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.