[Pkg-openldap-devel] Bug#487211: slapd: upgrade from 2.3.35 fails looking for ldif

Giuseppe Sacco giuseppe at eppesuigoccas.homedns.org
Sun Aug 31 14:09:19 UTC 2008


Hi OpenLDAP maintainers,

Il giorno sab, 28/06/2008 alle 01.37 -0700, Steve Langasek ha scritto:
[...]
> Is there any chance you would be able to provide the logs from the earlier
> part of the upgrade, to show what went wrong?

I found the very same bug today on updating a machine from etch to
lenny. The upgrade procedure didn't worked correctly, so aptitude
stopped and I had to use "apt-get -f install" and "dpkg --configure
--pending" a few times.

After 6 hours (it a quite slow machine, indeed) I got the same error, so
I read this bug report, tried to reinstall the previous version of
slapd, failed since I could not install the required library package.

Currently I am stuck at this point: old slapd has been removed, ldif was
not created, I cannot reinstall the old slapd since I cannot downgrade
libldap to libldap-2.3-0. The new version won't find any ldif and will
not correctly get configured.

I cannot downgrade libldap since removing the new version will remove a
lot of packages I need:

sgi:~# LC_ALL=C apt-get remove libldap-2.4-2
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  cups: Depends: libldap-2.4-2 (>= 2.4.7) but it is not going to be installed
  exim4-daemon-heavy: Depends: libldap-2.4-2 (>= 2.4.7) but it is not going to be installed
  ldap-utils: Depends: libldap-2.4-2 (= 2.4.10-3) but it is not going to be installed
  libaprutil1: Depends: libldap-2.4-2 (>= 2.4.7) but it is not going to be installed
  libcurl3: Depends: libldap-2.4-2 (>= 2.4.7) but it is not going to be installed
  libcurl3-gnutls: Depends: libldap-2.4-2 (>= 2.4.7) but it is not going to be installed
  libgconf2-4: Depends: libldap-2.4-2 (>= 2.4.7) but it is not going to be installed
  libnfsidmap2: Depends: libldap-2.4-2 (>= 2.4.7) but it is not going to be installed
  libnss-ldap: Depends: libldap-2.4-2 (>= 2.4.7) but it is not going to be installed
               Recommends: nscd but it is not going to be installed
  libpam-ldap: Depends: libldap-2.4-2 (>= 2.4.7) but it is not going to be installed
  libpq5: Depends: libldap-2.4-2 (>= 2.4.7) but it is not going to be installed
  libsmbclient: Depends: libldap-2.4-2 (>= 2.4.7) but it is not going to be installed
  php5-ldap: Depends: libldap-2.4-2 (>= 2.4.7) but it is not going to be installed
  samba-common: Depends: libldap-2.4-2 (>= 2.4.7) but it is not going to be installed
  sasl2-bin: Depends: libldap-2.4-2 (>= 2.4.7) but it is not going to be installed
  slapd: Depends: libiodbc2 (>= 3.52.4) but it is not going to be installed
         Depends: libldap-2.3-0 but it is not going to be installed
         Depends: libperl5.8 (>= 5.8.8) but it is not going to be installed
         Depends: libldap-2.3-0 (= 2.3.30-5+etch1) but it is not going to be installed
  smbclient: Depends: libldap-2.4-2 (>= 2.4.7) but it is not going to be installed
  squid: Depends: libldap-2.4-2 (>= 2.4.7) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

Of course, no users may currently authenticate :-(

Any suggestion?

Thanks a lot,
Giuseppe






More information about the Pkg-openldap-devel mailing list