[Pkg-openldap-devel] Bug#603544: Bug#603544: Update failed, no way to continue now

Steve Langasek vorlon at debian.org
Fri Feb 18 01:52:44 UTC 2011


On Tue, Feb 15, 2011 at 08:29:58PM +0100, Robert Kehl wrote:
> # apt-get -f install
> Paketlisten werden gelesen... Fertig
> Abhängigkeitsbaum wird aufgebaut
> Statusinformationen werden eingelesen... Fertig
> 0 aktualisiert, 0 neu installiert, 0 zu entfernen und 49 nicht aktualisiert.
> 1 nicht vollständig installiert oder entfernt.
> Nach dieser Operation werden 0 B Plattenplatz zusätzlich benutzt.
> slapd (2.4.23-7) wird eingerichtet ...
>   Backing up /etc/ldap/slapd.conf in
> /var/backups/slapd-2.4.11-1+lenny2... done.
>   Moving old database directories to /var/backups:
> 
>   Backup path /var/backups/o=base-2.4.11-1+lenny2.ldapdb exists. Giving
> up...
> dpkg: Fehler beim Bearbeiten von slapd (--configure):
>  Unterprozess installiertes post-installation-Skript gab den Fehlerwert
> 1 zurück
> configured to not write apport reports
>                                       Fehler traten auf beim Bearbeiten von:
>  slapd
> E: Sub-process /usr/bin/dpkg returned an error code (1)

If you have already gotten slapd started again with the directory contents,
you should simply remove (or move aside for safe keeping) the
/var/backups/o=... directory.  The package will not permit clobbering the
contents that are already there, since this could in some cases result in
data loss; but in your case the contents there are clearly stale compared to
the contents of your running slapd.

This won't solve the problem of why you can't upgrade, however; it will just
get you past this initial error in order to let the package attempt the
slapd.d conversion again.  And I'm afraid it's not clear to me why this is
failing.  Does /etc/ldap/slapd.d/cn=config/cn=schema/cn={0}core.ldif exist
and contain the proper schema definition for groupOfNames?  What does your
slapd.conf look like, prior to upgrade?

> It would be nice if you could help me either migrating to the slapd.d
> format or stay at old slapd.conf (which would be completely ok for me)
> and have the package upgrade ok.

Staying with the old slapd.conf won't actually be ok for anyone when wheezy
comes out and the new openldap has no support for even *reading* the old
slapd.conf style configs...  We need to do this migration now if we want to
have a clean upgrade in another two years.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-openldap-devel/attachments/20110217/c9931eaf/attachment.pgp>


More information about the Pkg-openldap-devel mailing list