[Pkg-openldap-devel] Bug#495954: Bug#495954: slapd: Upgrade to Lenny failed: libldap_r-2.3.so.0 missing

Steve Langasek vorlon at debian.org
Thu Aug 21 18:08:41 UTC 2008


On Thu, Aug 21, 2008 at 05:18:50PM +0200, Ferenc Wagner wrote:
> Package: slapd
> Version: 2.3.30-5+etch1
> Severity: normal

> I upgraded a machine from Etch to Lenny, and hit a problem with slapd:

> Preparing to replace slapd 2.3.30-5+etch1 (using .../slapd_2.4.10-3_i386.deb) ...
>   Dumping to /var/backups/slapd-2.3.30-5+etch1: 
>   - directory dc=aai,dc=niif,dc=hu... slapcat: error while loading shared libraries: libldap_r-2.3.so.0: cannot open shared object file: No such file or directory
> failed.
> dpkg: error processing /var/cache/apt/archives/slapd_2.4.10-3_i386.deb (--unpack):
>  subprocess pre-installation script returned error exit status 1

> Indeed, libldap-2.3-0 has already been removed before this point.  I'm
> rather confused about this, and don't understand how it's possible.
> Unfortunately, all I can offer is the dpkg.log, if you are interested.

> In the end I had to downgrade, remove slapd, upgrade, then watch the new
> slapd fail to install as it can't read the ldif.  But that's only a
> consequence, I guess.

What did you use in order to effect the upgrade (e.g., apt, aptitude,...?)
I'm afraid this is a bug in the package manager you used, which has removed
libldap-2.3-0 before removing a package that depends on it.

-- 
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





More information about the Pkg-openldap-devel mailing list